Framework projects location in not correct in exported build.xml
----------------------------------------------------------------
Key: WOL-1129
URL: http://issues.objectstyle.org/jira/browse/WOL-1129
Project: WOProject/WOLips
Issue Type: Bug
Components: WOLips General
Affects Versions: WOLips Nightly
Environment: 3.4.5950
Reporter: John Huss
Priority: Minor
When I do File->Export and choose General->Ant Buildfiles it generates a build file (build-eclipse.xml is what I called it). The path given for my custom framework (here called "Shared"), which is a project in my workspace, is incorrect.
<path id="Shared Framework.libraryclasspath">
<pathelement location="../../../../../Shared"/>
</path>
This translates to /Shared (on the root) when it should be pointing to EITHER the project (~/Documents/workspace/Shared), or the installed framework (/Library/Frameworks/Shared.framework).
If I add the project itself as a dependency (not as a WO framework, just a plain project) then it works, and the path looks like this:
<path id="Shared.classpath">
<pathelement location="${Shared.location}/bin"/>
<pathelement location="${Shared.location}/Libraries/wounittest2.jar"/>
<path refid="ERExtensions Framework.libraryclasspath"/>
<path refid="ERJars Framework.libraryclasspath"/>
...
</path>
The paths for installed frameworks (the other option) look like this:
<path id="ERPrototypes Framework.libraryclasspath">
<pathelement location="../../../../../Library/Frameworks/ERPrototypes.framework/Resources/Java/ERPrototypes.jar"/>
</path>
I want to access the eclipse build file to run my JUnit test launch configuration when I do an install of my application. Using the auto-maintained eclipse build file is the best for this since I don't have to worry about changing dependencies and paths in multiple places.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Fri Nov 06 2009 - 15:40:38 EST