ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <jakarta-...@ehatchersolutions.com>
Subject Re: filelist dir attribute
Date Mon, 10 Feb 2003 15:40:40 GMT
On Monday, February 10, 2003, at 10:23  AM, Adam Hardy wrote:
> And in my build.xml classpath.refid:
>
> <path id="compile.classpath">
>       <!-- include all external jars specified in project 
> build.properties -->
>       <filelist files="${external.jars}"/>

Just use:

	<path id="compile.classpath">
		<pathelement path="${external.jars}"/>
	</path>

No need to hack Ant to do this, its already supported.

But as far as keeping things like ${struts.jar} out of the build 
file... how do you then include it in your WAR file?  I find that its a 
good thing to spell the JAR's out explicitly.

	Erik


Mime
View raw message