Re: Ant 1.6 beta3 fails on windows xp pro

2003-12-15 Thread Antoine Lévy-Lambert
Siri Nivasam wrote: Hello Antoine, Thanks for your reply. After unsetting the classpath, it worked. But why should I do this? Is this a bug? Ant 1.5.4 works fine with the classpath setting. Your classpath probably includes some ant 1.5 or pre ant 1.5 ant classes. This would be the problem. Pa

Re: multiple selection of classpath??

2003-12-15 Thread barry
Antonine, What should be the content of the init.tomcat? I think I am trying to do the same thing like you said but the classpath defined in init.tomcat does not seem to recongised in other parts of build.xml... Please see the other email for detail codes. Thanks BArry Quoting Antoine Lévy-L

Re: Ant 1.6 beta3 fails on windows xp pro

2003-12-15 Thread Siri Nivasam
Hello Antoine, Thanks for your reply. After unsetting the classpath, it worked. But why should I do this? Is this a bug? Ant 1.5.4 works fine with the classpath setting. I am using j2sdk1.4.2_01 Thanks Siri From: Antoine Lévy-Lambert <[EMAIL PROTECTED]> Reply-To: "Ant Users List" <[EMAIL PROT

Re: How can I select different classpath for building different apps?

2003-12-15 Thread barry
Antoine, Thanks for replying... It doesnt seem to work. Would you please tell me what i did wrong? Here is the code: TARGET: CALLING:

Re: Simple XDoclet exmple?

2003-12-15 Thread Erik Hatcher
On Monday, December 15, 2003, at 11:09 AM, Matt Harp wrote: I was messing around with it over the weekend to generate documentation on my source. Through greps and the xdt I figured out a couple things like @ant.attribute group="required" will make the docs say it's required. @ant.task ignore="tr

Re: How can I select different classpath for building different apps?

2003-12-15 Thread Antoine Lévy-Lambert
[EMAIL PROTECTED] wrote: All, In one single build.xml, how can I select different set of classpaths? for Tomcat and for other apps? I try to do the followings: In the init-tomcat target, I have the followings:

Re: multiple selection of classpath??

2003-12-15 Thread Antoine Lévy-Lambert
[EMAIL PROTECTED] wrote: All, 1. How can I select multiple classpath? I would like to be able NOT to define CATALINA_HOME for tomcat if not compiling things for tomcat, and just use J2EE... the normal ant way is then to define one different init target for each variant of your build or de

RE: Running Ant from a web page

2003-12-15 Thread Andrew Chandler
Sorry correction on the URL - the sourceforge link seems pretty dead. http://www.urbancode.com/projects/anthill/default.jsp You can access the free version through CVS - look under the "Get Involved" link. > -Original Message- > From: alan brown [mailto:[EMAIL PROTECTED] > Sent: Monday,

Re: Ant 1.6 beta3 fails on windows xp pro

2003-12-15 Thread Antoine Lévy-Lambert
Siri Nivasam wrote: I am running ant 1.6 beta 3 on windows xp pro with sp1. I get this error when I run 'ant -version' java.lang.InstantiationException: org.apache.tools.ant.Main at java.lang.Class.newInstance0(Class.java:293) at java.lang.Class.newInstance(Class.java:261) a