ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <A.Solofne...@mdl.com>
Subject RE: A very long classpath problem.
Date Fri, 07 Mar 2003 21:26:27 GMT
No, but does it remove duplicated entries? If no there will be no
difference.

- Alexey.

--
{ http://trelony.cjb.net/   } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: Rick Sansburn [mailto:rsansburn@clareos.com] 
Sent: Friday, March 07, 2003 1:20 PM
To: 'Ant Users List'
Subject: RE: A very long classpath problem.

Have you tried using the "classpathref" in your javac task?  This way
you would only have to enter the classpath once.

Ex....
<path id="classpath">
  <fileset dir="${catalina_home}\common\lib">
    <include name="xerces.jar" />
  </fileset>
  <fileset dir="${app_root}\WEB-INF\lib">
    <include name="axis.jar" />
    <include name="jaxrpc.jar" />
    ... More includes here
  </fileset>
</path>

<target name="compile" description="Compiles all source code.">
  <javac srcdir="${src.dir}" 
    destdir="${dest.dir}\WEB-INF\classes"
    verbose="true"
    classpathref="classpath"/>
</target>


-- Rick


Mime
View raw message