Ant War Problem
Hi, I'm using JDev 10g which uses Ant v 1.5.4. I'm having difficulty with the WAR task in Ant. I have: war destfile=${outdir}/myApp.war webxml=.\htroot\WEB-INF\web.xml fileset dir=.\htroot\WEB-INF\ / /war and I get an error: No directory specified for ZipFileSet and it points me to the first line of the Ant code above. Anyone know what it's really complaining about? Thnx - Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP.
Re: Ant War Problem
On Wednesday 11 January 2006 9:14 am, General Email wrote: Hi, I'm using JDev 10g which uses Ant v 1.5.4. I'm having difficulty with the WAR task in Ant. I have: war destfile=${outdir}/myApp.war webxml=.\htroot\WEB-INF\web.xml fileset dir=.\htroot\WEB-INF\ / /war and I get an error: No directory specified for ZipFileSet and it points me to the first line of the Ant code above. Anyone know what it's really complaining about? Thnx - Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP. I'll take a stab and suggest u put a dir attribute on your war task. My docs say it's not required but since you're using the webxml attribute I'm guessing it's creating an implicit zipfileset object to prefix the web.xml file accordingly in your final output war file. I'm also guessing that since the implicit zipfileset is being used it needs a base dir from which to upll files from. -- Clifton C. Craig, Software Engineer Intelligent Computer Systems - A Division of GBG [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant War Problem
On Wed, 11 Jan 2006, General Email [EMAIL PROTECTED] wrote: I'm using JDev 10g which uses Ant v 1.5.4. Which is rather old (your version of Ant, that is). war destfile=${outdir}/myApp.war webxml=.\htroot\WEB-INF\web.xml fileset dir=.\htroot\WEB-INF\ / /war I would expect a warning that your task was trying to add WEB-INF/web.xml twice, but not No directory specified for ZipFileSet Are you sure that this is the complete task definition? The only ZipFileSet I can see is the one Ant creates internally to handle the webxml attribute, and that should work. Unless you'd be mixing versions of Ant in some place. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]