ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: simple question
Date Thu, 25 Apr 2002 21:31:53 GMT
--- Siamack Farshi <sfarshi@724.com> wrote:
> 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.

Your 'excludes' should specify a path relative to your specified
'basedir'. Try:
        excludes="com/svn24/mcf/www/**"

Diane


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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