Re: Need help in build.xml file...

2008-12-26 Thread glenn opdycke-hansen
I created an Ant script based on the code you provided. The following messages were returned: exists: Skipped because property 'present' not set. printError: Skipped because property 'isaFile' not set. I did a quick rewrite of your code: depends="clean, prepare, ja

Re: Need help in build.xml file...

2008-12-26 Thread John Shott
Anna: I think that you aren't doing everything that you think you are doing in this snippet. In particular, it appears as if nothing ever sets the isaFile property. And, because your printError target depends on the isaFile property being set, you will never get your error message. If I do

Re: Need help in build.xml file...

2008-12-26 Thread glenn opdycke-hansen
I would use the task to create the directory. I would also consider deleting the directory before the mkdir. Is there a need for the multi-line ? Ant is not intended to be a scripting language. On Fri, Dec 26, 2008 at 6:21 PM, Anna Teittinen wrote: > Hello, > > I am relatively new to using ant.

Need help in build.xml file...

2008-12-26 Thread Anna Teittinen
Hello, I am relatively new to using ant. Can somebody help me with a problem I have in my build.xml file? Below is a snippet of code from my build.xml file. Below, "caratsharp.dir" refers to a directory. Basically, if that directory exists, then the clean, prepare, jar, and copy_jar targets will

RE: jdk version for compiling. SOS

2008-12-26 Thread Koxkorrita
i have made it and appears the same error: 2008-12-26 20:11:12,532 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] INFO org.apache.catalina.core.StandardHostDeployer - Installing web application at context path /Goikogane from URL file:/srv/www/tomcat5/base/webapps/Goikogane 2008-12-26 20:

Re: jdk version for compiling. SOS

2008-12-26 Thread Peter Reilly
You need to set target="1.4" as well as source="1.4". Peter On Fri, Dec 26, 2008 at 4:46 PM, Koxkorrita wrote: > hello > > > > In my pc i have installed the 1.6_10 jdk. > > i must to compile, for generate one war for one 5.0 tomcat that runs into > one 1.4 jdk, my classes. > > for this pourpose

jdk version for compiling. SOS

2008-12-26 Thread Koxkorrita
hello In my pc i have installed the 1.6_10 jdk. i must to compile, for generate one war for one 5.0 tomcat that runs into one 1.4 jdk, my classes. for this pourpose i make this into one build.xml file: but using the options: optimize="on" deprecation="on" source=