[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.jdt] Problem creating new project from ant build.xml

Hi,

I am using Ganymede. Still stuck with it :-)

We try to create a new project using:

File --> New --> Project

I select:

"Java Project from Existing Ant Build File".

In the ant build file we have ( see below) code to determine os since we have different setups.

<target name="-determineOS" description="Determines host OS.">
<condition property="is.Windows">
<os family="windows" />
</condition>
<condition property="is.Unix">
<os family="unix" />
</condition>
</target>


Since we use linux I would expect that the properties for Unix would be used.
But it sees like the first properties ( which is windows) are used. So the paths to my jars will be windows style which is a no no.


Is there any place where I can find out how my eclipse can handle from the build.xml when it sets up the project?

br,

//mikael petterson