ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Juergens <>
Subject Linux/Windows portability
Date Mon, 10 May 2004 13:55:56 GMT

I need a build.xml for both Windows and Linux. Currently, I uses something 
like this:

<property name="mysqlwin" 
<property name="mysqllin" 

<property name="mysql" location="${mysqlwin}:${mysqllin}"/>

<target name="compileHeather" description="compile heather" >
 <javac srcdir="${src}:${generated}" destdir="${classes}" 
includes="heather/**" classpath="${mysql}" failonerror="on"/>

So, in ${mysql} are both Windows and Linux pathes - though only
one would be needed.

Any better way of doing this? 

The problem is that I have a lot of dependencies on external jar files and I 
want a simple way to put all those jars in a directory.

Thanks a lot,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message