THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Explicit on the command line. When running eclipse:eclipse, add -Declipse.workspace=/home/dkulp/working/workspace
- Update you your Maven ~/.m2/settings.xml to have a active profile that always sets the these variables. Thus, whenever the eclipse plugin looks for it, it know where the workspace is. In settings.xml, do:
By doing that, you can pretty much run eclipse:eclipse (or -Psetup.eclipse for cxf projects) at any point and it will always wire the new project to depend on the existing projects.Code Block ... <activeProfiles> <activeProfile>extra</activeProfile> </activeProfiles> <profiles> <profile> <id>extra</id> <properties> <eclipse.workspace>/home/dkulp/working/workspace</eclipse.workspace> <eclipse.workspace.dir>/home/dkulp/working/workspace</eclipse.workspace.dir> </properties> </profile> </profiles> ...