ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: adding additional classes...
Date Mon, 16 Jul 2007 13:59:53 GMT
Hi,
the following is incorrect:
<path id="additionals.class.path">
<fileset dir="${additional_jars}">
  <include name="*.jar"/>
</fileset>
<fileset dir="${foo_classes}" casesensitive="no">
 <include name="*.class"/>
</fileset>
</path>

It should be:
<path id="additionals.class.path">
  <fileset dir="${additional_jars}">
    <include name="*.jar"/>
  </fileset>
  <path path=${foo_classes}"/>
</path>

Peter
On 7/16/07, Dominique Devienne <ddevienne@gmail.com> wrote:
> On 7/16/07, cuillandre frederic <frederic.cuillandre@airweb.fr> wrote:
> > it loads the additional jars but not the additionals classes.
> > i tried it under linux with eclipse 3.2 and jdk 5
> >
> > is anybody could help me and tell me what's wrong
>
> I bet it does add the .class files to the classpath, and you can
> confirm that by running in -verbose (or -debug) mode. It's just that
> putting .class files in the CLASSPATH is useless.
>
> You need to read up on the CLASSPATH some more. Good luck, --DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message