RE: How do I specify the compiler on the cmd line?

2008-01-11 Thread Todd Patrick
;ll take the value in the build.xml file. On Jan 11, 2008 11:06 AM, Todd Patrick <[EMAIL PROTECTED]> wrote: > I have a simple target: > > > destdir="${build}" > executable=&qu

How do I specify the compiler on the cmd line?

2008-01-11 Thread Todd Patrick
I have a simple target: In which I specify to use JDK 5 in the Javac Task. How do I specify the compiler on the cmd line and remove the following lines from the Javac Task: executable="/usr/jdk1.5.0_06/bin/javac" compiler="

RE: What does the warning "selected war files include a WEB-INF/web.xml which will be ignored" mean?

2007-12-13 Thread Todd Patrick
] Sent: Thursday, December 13, 2007 9:28 AM To: Ant Users List Subject: Re: What does the warning "selected war files include a WEB-INF/web.xml which will be ignored" mean? Todd Patrick wrote: > Warning: selected war files include a WEB-INF/web.xml which will be > ignored (p

What does the warning "selected war files include a WEB-INF/web.xml which will be ignored" mean?

2007-12-12 Thread Todd Patrick
Warning: selected war files include a WEB-INF/web.xml which will be ignored (please use webxml attribute to war task) I've googled this warning without a lot of results. I have currently have the web.xml in the WEB-INF directory, so is this error thrown because I'm trying to overwrite the web.xml

war task question.

2007-12-12 Thread Todd Patrick
Please forget me for this question, I've never used the war task before and I'm looking at example at: http://www.java-tips.org/other-api-tips/ant/how-to-use-war-task.html I have a directory labeled "resources" and I have ten .gif files. To include the .gif files, I must use the zipfileset task

Ant 1.6.5: Learning to build an EAR that contains a single War and a single EJB Jar

2007-11-26 Thread Todd Patrick
Using Ant 1.6.5 I am learning to use Ant and I have purchased Steve Holzner's Ant The Definitive Guide from O'Reilly books and I'm been going through the manual online as well. I need to build an EAR that contains a single War and a single EJB jar The location of the sources for both are: /