Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Classpath issue
Classpath issue [message #275219] Thu, 04 November 2004 17:41 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:[2nd posting] Can't start UITestApplication with Run-time Workbench
Next Topic:JDT Template Variables
Goto Forum:
  


Current Time: Thu Sep 25 08:45:27 EDT 2025

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

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

Back to the top