Classpath issue [message #275219] |
Thu, 04 November 2004 17:41  |
Eclipse User |
|
|
|
Originally posted by: qian.qiao.gmail.com
Hi,
I am using Eclipse 3.0.1 on Sun's Java 1.5.0.
In my project folder, there are 2 subfolders: src and lib. Also, in the
project folder, there's also my ant build file.
I have a ant javac task which uses the classpath attribute as:
${java.class.path}, lib/some.jar
The problem is, when invoking ant in eclipse, it couldn't find the classes
in lib/some.jar, and when I run ant independently on command line, it worked
just fine. Any suggestions/solutions?
TIA
-- Joe
|
|
|
Re: Classpath issue [message #275220 is a reply to message #275219] |
Thu, 04 November 2004 18:06   |
Eclipse User |
|
|
|
Originally posted by: qian.qiao.gmail.com
Update, the ant standalone now doesn't work either, what have I done wrong?
Thanks
-- Joe
"Qian Qiao" <qian.qiao@gmail.com> wrote in message
news:cmeb6j$sal$1@eclipse.org...
> Hi,
>
> I am using Eclipse 3.0.1 on Sun's Java 1.5.0.
>
> In my project folder, there are 2 subfolders: src and lib. Also, in the
> project folder, there's also my ant build file.
>
> I have a ant javac task which uses the classpath attribute as:
> ${java.class.path}, lib/some.jar
>
> The problem is, when invoking ant in eclipse, it couldn't find the classes
> in lib/some.jar, and when I run ant independently on command line, it
> worked just fine. Any suggestions/solutions?
>
> TIA
>
> -- Joe
>
|
|
|
Re: Classpath issue [message #275223 is a reply to message #275219] |
Thu, 04 November 2004 18:33  |
Eclipse User |
|
|
|
Originally posted by: qian.qiao.gmail.com
I've figured things out myself, the eclipse generated build.properties file
has it's jars in the classpath separated by ',' instead of ';'.
Funny. Shall I raise a bug?
"Qian Qiao" <qian.qiao@gmail.com> wrote in message
news:cmeb6j$sal$1@eclipse.org...
> Hi,
>
> I am using Eclipse 3.0.1 on Sun's Java 1.5.0.
>
> In my project folder, there are 2 subfolders: src and lib. Also, in the
> project folder, there's also my ant build file.
>
> I have a ant javac task which uses the classpath attribute as:
> ${java.class.path}, lib/some.jar
>
> The problem is, when invoking ant in eclipse, it couldn't find the classes
> in lib/some.jar, and when I run ant independently on command line, it
> worked just fine. Any suggestions/solutions?
>
> TIA
>
> -- Joe
>
|
|
|
Powered by
FUDForum. Page generated in 0.09762 seconds