Re: Getting relative pathes in a for loop

2006-03-22 Thread Peter Reilly
I use propertyregex with the help of a macro: In this case I am using the /dir/dir/dir/x.cpp name and extracting the x as the program name. On 3/21/06, Ivan Rambius Ivanov <[EMAIL PROTECTED]> wrote: > > Hello, > > In your case you can use to

Including a specific Manifest file

2006-03-22 Thread Kaur, Jasneet
Hi, How can I pack a specific Manifest file(MANIFEST.MF) into a war? Thanks and Regards, Jasneet.

Re: Starting Jboss server

2006-03-22 Thread Steve Loughran
Ferrer, Eric wrote: This email came at a good time as I am porting from Websphere to JBoss. Do you have an example of deploying a war? I currently delete the explode files prior to a new war deploy on Websphere 5.1 and then push out my new war. I would like to do the same on JBoss Cargo, from

Re: Including a specific Manifest file

2006-03-22 Thread Rhino
RTFM? Have a look at the War and Manifest core tasks in the manual. http://ant.apache.org/manual/index.html -- Rhino - Original Message - From: "Kaur, Jasneet" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Wednesday, March 22, 2006 5:02 AM Subject: Including a specific Manifest fi

Set property is not seen?

2006-03-22 Thread Sergei Dubov
Hi guys, I have an interesting situation. I'd appreciate any help. Basically here is the idea: 1. In my project directory I have lib/endorsed directory. It is populated with jar files at Ant runtime (through Ivy). The target that does it is called 'resolve'. 2. At the end of resolve, I hav

Re: Set property is not seen?

2006-03-22 Thread Ninju Bohra
Sergei Is your 'resolve' target called via an target? If it is any properties/refids that are created/assinged by the target invoked by the will NOT be defined/accessible after the target calll returns. With ANT 1.6.x you can refactor your code to use targets and eliminate the calls S

RE: Set property is not seen?

2006-03-22 Thread Burgess, Benjamin
Or even better and more often than macrodef (for some uses), just use the depends attribute of the target. Ben -Original Message- From: Ninju Bohra [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 22, 2006 2:06 PM To: Ant Users List Subject: Re: Set property is not seen? Sergei Is your

Re: how to integrate ant and java program

2006-03-22 Thread TH Lim
Look into the manual for tag and the attribute "resultproperty" --- Shweta Bodade <[EMAIL PROTECTED]> wrote: > I want to call java program from ant which I can do > properly but how can > I retrieve and String variable from that program can > you suggest > > > > Suppose I want to set a value

Re: Set property is not seen?

2006-03-22 Thread Sergei Dubov
Thanks, Ninju, It was the antcall issue and macrodef did the trick. -Serge Ninju Bohra wrote: Sergei Is your 'resolve' target called via an target? If it is any properties/refids that are created/assinged by the target invoked by the will NOT be defined/accessible after the target calll r

RE: Ant 1.6.5 , JDK 1.5 build error pointing to an apache class

2006-03-22 Thread Ferrer, Eric
I ran to this a while ago and it is not an ant question, but I have the answer Your ParamDataType.java probably extends Enum to provide you a C++ type enum solution. With 1.5 you have enum as a reserved word. The fix is to download a new version of commons-lang-2.1.jar which deprecates com.apach

RE: Adding jar files to already existing war files

2006-03-22 Thread Res Pons
Basically when you call your war task the first time to create it, you can call a war task a 2nd time and use its update attrib: Using Apache Ant's "core task" war examples: This is the first time you start a war task: The 2nd time you start it...the dest file will be the s