com.sun.enterprise.appclient.MainWithModuleSupport using working Netbeans EAR with Ant

2010-02-02 Thread Jack Bush
Hi All, I am coming across the following error message when trying to run an enterprise application using Ant despite have successfully built, deployed & run in Netbeans: C:\Documents and Settings\Jack>set ANT_HOME=C:\Program Files\NetBeans 6.7\java2\ant CLASSPATH=%CLASSPATH%;C:\Program File

Re: Antlib Subversion

2010-02-02 Thread Antoine Levy Lambert
Knuplesch, Juergen wrote: Hello, First: Thanks for the alternative links! Second: Thank you for this information. But... Maybe "someone" (Mr. Someone is difficult to find, I know... :-) ) should delete or change the information about the antlib for svn on the Ant home page, because it is confus

Re: Conditional Path

2010-02-02 Thread Antoine Levy Lambert
Hello Tim, works. you would need to define a property "on.tomcat1.5" actually, if the common/endorsed folder does not exist on newer tomcat versions, you can even simplify to : which will work all the same but is not as expressive. Regards, Antoine Tim Andrianoff wr

Re: filterina a file using in jar -> metainf task

2010-02-02 Thread Antoine Levy Lambert
Hello Dimitris, you can change persistence.xml before letting the task consume it with the copy task as you mention. Another approach is to build a standard jar without the concrete properties of a deployment environment and to tweak the jar at deployment time. Ant can update zip/jar/war/ea

Conditional Path

2010-02-02 Thread Tim Andrianoff
I'm using a build.xml file that has the following in it: This only works for tomcat 1.5 and below, I think, which have the "common" and "shared" folders in the tomcat root directory (tomcat 1.6 and u

filterina a file using in jar -> metainf task

2010-02-02 Thread Dimitris Mouchritsas
Hi all, is it possible to use a filter in the metainf task of jar task? Currently my build file is like this: In etc/domain/META-INF I have the persistence.xml file for my entity beans and I would like to be able to pass the datasource nam

Re: with refid to support further narrowing

2010-02-02 Thread Raja Nagendra Kumar
Stefan.. You are our ready reference of what ever I think ant could/should provide/be.. Thank you once again. Regards, Nagendra Stefan Bodewig wrote: > > On 2010-02-02, Raja Nagendra Kumar wrote: > >> >> > >> > >> Would be possible to fileset or any resource

Re: with refid to support further narrowing

2010-02-02 Thread Stefan Bodewig
On 2010-02-02, Raja Nagendra Kumar wrote: > > > > Would be possible to fileset or any resource collection, when refered > through a reference, can this be further narrowed using the and > Yes, see the resource collection (and the selectors). Wrap

with refid to support further narrowing

2010-02-02 Thread Raja Nagendra Kumar
Would be possible to fileset or any resource collection, when refered through a reference, can this be further narrowed using the and Currently ant does not support this, it says when refid is used, then include and exlcude is not allowed etc.

Antlib Subversion

2010-02-02 Thread Knuplesch, Juergen
Hello, First: Thanks for the alternative links! Second: Thank you for this information. But... Maybe "someone" (Mr. Someone is difficult to find, I know... :-) ) should delete or change the information about the antlib for svn on the Ant home page, because it is confusing, when you google for s