ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siamack Farshi <sfar...@724.com>
Subject simple question
Date Thu, 25 Apr 2002 21:00:46 GMT
Hello everyone:
I am new in ant and I have come a simple problem. Though
I have read the documentation, I have not been able to solve it.
I was hoping if anyone can help me.

All my projects appear under the

${outputPath}
 |
com
 |
svn724
 |
mcf
 |_xxx
 |_yyy
 |_www
 |_zzz

I would like to jar everything except "the directory www and all of its
subdirectories
and files". I have been using the following target:

<target name="jarmcf" depends="init">
		
	<jar jarfile="${outputPath}/../mcf.jar" 
	basedir="${outputPath}"
	excludes="${outputPath}/com/svn24/mcf/www/**/*"
	/>
</target>

However, www appears in my jar file. Any idea on how to eliminate www.
I have also tried other variations of excludes such as

excludes="${outputPath}/com/svn24/mcf/www/**/ but no luck yet.

Thanks for all your replies in advance,
regards,

--
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