ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Wood <kw...@i2.com>
Subject Re: Platform independend classpath in build.xml?
Date Wed, 31 May 2000 13:08:19 GMT
I made the default assumption that I had
to do this. I'll try changing it to just ":"
and see what happens.

Thanks!

Conor MacNeill wrote:
> 
> Ken,
> 
> This should not be necessary. Besides making it difficult to read your
> classpaths, the code in the Javac task for setting the classpath is
> 
>     /**
>      * Set the classpath to be used for this compilation.
>      */
>     public void setClasspath(String classpath) {
>         compileClasspath = project.translatePath(classpath);
>     }
> 
> which means the classpath is translated from either Windows or Unix style
> classpaths to a platform specific classpath. All of my classpaths use : and
> / but my build.xml file works under both Windows and Unix without change.
> 
> If its not working for you (or Lars), then it is a bug which we should
> investigate. I can't reproduce it since my version of translatePath is
> currently out of sync with CVS.

Mime
View raw message