build.xml absolute path [message #212972] |
Fri, 19 August 2005 11:24  |
Eclipse User |
|
|
|
I am using Eclipse3.1. Created a java project and exported a ant (1.6.5)
build.xml file for the project. build.xml file works greate. My workspace
is C:\JavaProjects, project is "utility". Eclipse create following
files/folders
C:\JavaProjects\.metadata
C:\JavaProjects\utiliy
C:\JavaProjects\utiliy\src
C:\JavaProjects\utiliy\classes
C:\JavaProjects\utiliy\.classpath
C:\JavaProjects\utiliy\.project
C:\JavaProjects\utiliy\build.xml
In buil.xml, property ="utility.location" defined as absolute path
"C:/JavaProjects/utility".
<property name="utility.location" value="C:/JavaProjects/utility"/>
I tried moving contents of C:\JavaProjects to C:\SourceCode folder.
Changed to C:\SourceCode workspace and everything is fine except build
using build.xml (right click on build.xml and use "Ant Build" option)
because of the absolute path. How can I have buid.xml with relative paths
while exporting like the following
<property name="utility.location" value="."/>
Please help.
Thanks
Yuva
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04235 seconds