osate/osate2-core — Issue #7: Local path in target definition
Author: jftilman
Created: 2011-10-18 14:46:16+00:00
State: open

The current target definition for Indigo Eclipse platform (org.osate.build.target/indigo.target) contains a local path

Thus, it can not be loaded when the sources are checked out on another computer.
If this item is really needed and can not be found on an update site, I suggest the following changes:

1° Replace the full absolute path by an environment variable that refers to a directory containing the local target platforms (e.g., OSATE_TARGETS):

path="${env_var:OSATE_TARGETS}/platform-3.7"

Thus, the developer can set this environment variable as he want.

2° We also need to have the contents of this local target platform elements. A new (pseudo-)Eclipse project could contain it. The developer has just to checkout this project somewhere and set the environment variable accordingly.