Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » build.xml absolute path
build.xml absolute path [message #212972] Fri, 19 August 2005 11:24 Go to next message
Eclipse UserFriend
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
Re: build.xml absolute path [message #212983 is a reply to message #212972] Fri, 19 August 2005 11:26 Go to previous messageGo to next message
Eclipse UserFriend
You cannot.
File a feature request for Eclipse 3.2 to capture your request

Thanks
Darins

"Yuva Chandolu" <cyuva_online@yahoo.com> wrote in message
news:b27f0a73d64e22855c63d536f608004d$1@www.eclipse.org...
>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
>
Re: build.xml absolute path [message #212991 is a reply to message #212983] Fri, 19 August 2005 14:14 Go to previous message
Eclipse UserFriend
Thanks Dani, I will request the feature for 3.2.
Previous Topic:Listening for a type to become available (after generating a source file)
Next Topic:Add action to JDT debug menu
Goto Forum:
  


Current Time: Sun Jul 27 02:11:30 EDT 2025

Powered by FUDForum. Page generated in 0.04235 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top