ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "erich brunner" <erich.brun...@iorange.net>
Subject Re: central definition of classpath, please HELP !!!
Date Wed, 14 Nov 2001 14:40:36 GMT
hi!

maybe that helps!

 <path id="project.class.path">

  <!-- for cruisecontrol junit tests -->
  <fileset dir="./lib">
   <include name="**/*.jar"/>
  </fileset>
</path>


<target name="compile">
  <javac srcdir="./src"
               destdir="./classes"
               debug="on"
               verbose="off"
               deprecation="yes">
   <classpath refid="project.class.path"/>
  </javac>
 </target>

cu

  eric

----- Original Message -----
From: "Joel Cordonnier" <joelcordonnier@yahoo.fr>
To: <ant-dev@jakarta.apache.org>
Cc: <ant-user@jakarta.apache.org>
Sent: Wednesday, November 14, 2001 3:23 PM
Subject: central definition of classpath, please HELP !!!


> Hi !
>
> I really need help.
>
> I have and Ant script called build.xml (main script),
> that call other scripts **.xml.
>
> In the main script are Ant's PATH defined, and then,
> in my compile, javadoc...and other tasks, i refer to
> the PATHs with the statement <classpath
> refid="......"/>
>
> I HAVE THE FOLLOWING PROBLEM:
>
> the 'other' script that build.xml call CAN'T refer to
> the PATHs defined in build.xml !! WHY ????
>
> Thanks for the help.
> /Joel
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
> Yahoo! Courrier : http://courrier.yahoo.fr
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>


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


Mime
View raw message