ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr_pompeii <dr_pomp...@yahoo.com>
Subject war task add folders that be should avoid/ignore it
Date Tue, 06 Mar 2007 17:48:11 GMT

Hi guys

i have a problem with ant [b]war[/b] task
my build.xml are located in

[code]
myapp
	WEB-INF
		build.xml
[/code]

this is my war task target

[code]
<target name="war-creatror">
	<war basedir="${basedir}/../" destfile="myapp.war" webxml="web.xml" >
		<fileset dir="${sourcedir}" >
			<exclude name="**/*.java" />
		</fileset>	
	</war>
</target>
[/code]

where 
[b]<property name="sourcedir" value="${basedir}/src" />[/b]

well the weird part is that the war file [b]has include the src
folder!!!![/b]
thats mean

[code]
myapp.war
	jsp
	js
	css
	WEB-INF/
		src <---- it shouldnt be there
		...
		more folders
		...
[/code]

so please, what is wrong??????
according with 2 books my code shown should work

really i need your help,

thanks for advacned

p.d: i work in linux, ant version 1.6.5

-- 
View this message in context: http://www.nabble.com/war-task-add-folders-that-be-should-avoid-ignore-it-tf3356653.html#a9335691
Sent from the Ant - Users mailing list archive at Nabble.com.


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


Mime
View raw message