checkout,tagging and zipping files

2007-04-24 Thread prasad kumar
Hi all, i have writeen the code in build.xml for checkout,tagging of cvs and zipping files based on tag of cvs. so very information of checkout,tagging of cvs and zipping files i mentioned in build.xml.manually of iam taking build of build.xml it is taking checkout, creating tagg of cvs and

AW: Exec on Windows ignores return code?

2007-04-24 Thread Jan.Materne
Works for me, BUT you must not use the /B in your batch file. Have a look at the help with "help exit" - /B just sets the error code for the _batchfile_, but Ant is not executing the batchfile. Ant executes the shell! Jan >-Ursprüngliche Nachricht- >Von: Chris Dudley [mailto:[EMAIL PR

test

2007-04-24 Thread Valdivieso, Eduardo
test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any r

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Matt Benson
--- Rick Moynihan <[EMAIL PROTECTED]> wrote: > Matt Benson wrote: > > --- Rick Moynihan <[EMAIL PROTECTED]> wrote: [SNIP] > >> I have already made inquiries on the > >> user/[EMAIL PROTECTED] lists, and I have > >> also tried contacting the project developers > >> directly. Unfortunately I > >

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
Matt Benson wrote: --- Rick Moynihan <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: So my questions to the ant community: * What is commons launcher doing that ANT alone isnt? Personally I havent heard from commons-launcher before. As you said it seems that commons-launcher is a modi

Exec on Windows ignores return code?

2007-04-24 Thread Chris Dudley
Apologies if this is a FAQ or a known problem but I couldn't find anything useful in the archives, google or in bugzilla. I am having trouble with the exec task on Windows. It seems to me that regardless of what the executable returns, ANT always claims the return code on Windows is 0. The code

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
Steve Loughran wrote: Rick Moynihan wrote: Obviously I understand that ANT is a critically important piece of infrastructure for a huge number of projects, and I understand that ANT's primary focus is and always will be as a build tool. My only point is that *MAYBE* if it is not too much w

Re: How shows colon (:)

2007-04-24 Thread Peter Reilly
See: http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html """The key and value characters #, !, =, and : are written with a preceding slash to ensure that they are properly loaded.""" This means that when read back in, the \ is removed. Peter On 4/24/07, Depthblue <[EMAIL PROTECTE

How shows colon (:)

2007-04-24 Thread Depthblue
I save date to propertyfile. I use pattern="hh:mm:ss", but I see in property file for time 21:45:15 this fecord 21\:45\:15. Every colon (:) are replaced to \: How show only colon in value? -- View this message in context: http://www.nabble.com/How-shows-colon-%28%3A%29-tf3639816.htm

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Matt Benson
--- Rick Moynihan <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> So my questions to the ant community: > >> > >> * What is commons launcher doing that ANT alone > isnt? > > > > Personally I havent heard from commons-launcher > before. As you said it > > seems > > that commons-launche

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Steve Loughran
Rick Moynihan wrote: Obviously I understand that ANT is a critically important piece of infrastructure for a huge number of projects, and I understand that ANT's primary focus is and always will be as a build tool. My only point is that *MAYBE* if it is not too much work, ANT can be adapte

Re: war file is not creating while running the Ant

2007-04-24 Thread Scot P. Floess
You probably want to use it instead of the task. Look at the online docs for more information alam wrote: can you please help me where should i write the war task? Scot P. Floess wrote: Is there a reason you aren't using the task? alam wrote:

Re: setting JAVA.HOME for javac with fork="true" ?

2007-04-24 Thread Steve Loughran
Rebhan, Gilbert wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 11:05 AM To: user@ant.apache.org Subject: AW: setting JAVA.HOME for javac with fork="true" ? /* Use properties in the called buildfile */ Thanks!! , th

Re: war file is not creating while running the Ant

2007-04-24 Thread alam
can you please help me where should i write the war task? Scot P. Floess wrote: > > Is there a reason you aren't using the task? > > alam wrote: >> >> >> >> >> >> >> >> >> >> >>

Re: war file is not creating while running the Ant

2007-04-24 Thread Scot P. Floess
Is there a reason you aren't using the task? alam wrote: can anyone guide what else i have to add so i get the war file -- Scot P. Floess 27 Lake Royale Louisburg,

Re: Ant 1.7 build, high CPU use, possible solution

2007-04-24 Thread Mike McNally
> It would be great to have an example build.xml that > shows the problem. bug 42219 -- [ I love pre-moistened towelettes ] Mike McNally -- [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

war file is not creating while running the Ant

2007-04-24 Thread alam
can anyone guide what else i have to add so i get the war file -- View this message in context: http://www.nabble.com/war-file-is-not-creating-while-runni

AW: Any way to optionally include an attribute in an ant task?

2007-04-24 Thread Jan.Materne
>> a) Why do you have "sometimes" the value for mainclass set >and sometimes not? > >Because sometimes I'm building a DLL and sometimes an >executable depending on whether mainclass is set. > >> b) You could use conditional targets () > >But then I'd have to repeat the target twice. I don't want

Re: Ant 1.7 build, high CPU use, possible solution

2007-04-24 Thread Mike McNally
> It would be great to have an example build.xml that > shows the problem. I'm going to work on that today. The problem is a very simple one however: using a large ArrayList as if it were a Set simply does not perform well :) > A number of performance problems were fixed in ant 1.7.0, so > it wou

RE: Any way to optionally include an attribute in an ant task?

2007-04-24 Thread Scott Simpson
> a) Why do you have "sometimes" the value for mainclass set and sometimes not? Because sometimes I'm building a DLL and sometimes an executable depending on whether mainclass is set. > b) You could use conditional targets () But then I'd have to repeat the target twice. I don't want to do tha

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
[EMAIL PROTECTED] wrote: So my questions to the ant community: * What is commons launcher doing that ANT alone isnt? Personally I havent heard from commons-launcher before. As you said it seems that commons-launcher is a modified copy of ant-launcher. So the best place to ask this would be (IM

AW: setting JAVA.HOME for javac with fork="true" ?

2007-04-24 Thread Jan.Materne
>If it would be possible to ' overwrite ' %JAVA_HOME% for the called >script i don't have to edit anything. I would not rely on any properties then. Start a new Ant instance using . Then you could pass a new JAVA_HOME as nested . Jan

RE: setting JAVA.HOME for javac with fork="true" ?

2007-04-24 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 11:05 AM To: user@ant.apache.org Subject: AW: setting JAVA.HOME for javac with fork="true" ? /* Use properties in the called buildfile */ Thanks!! , that works, but i have to ed

AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Jan.Materne
>So my questions to the ant community: > >* What is commons launcher doing that ANT alone isnt? Personally I havent heard from commons-launcher before. As you said it seems that commons-launcher is a modified copy of ant-launcher. So the best place to ask this would be (IMHO) the [EMAIL PROTECTED]

AW: setting JAVA.HOME for javac with fork="true" ?

2007-04-24 Thread Jan.Materne
Use properties in the called buildfile Jan >-Ursprüngliche Nachricht- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 24. April 2007 10:45 >An: user@ant.apache.org >Betreff: setting JAVA.HOME for javac with fork="true" ? > > >Hi, > >right now i have a wor

AW: AW: install and use apache-ant on linux

2007-04-24 Thread Jan.Materne
Have a look at your Ant installation. There should be a "bin" directory. In that directory there should be a file named "ant". Jan >-Ursprüngliche Nachricht- >Von: Parchet Michaël [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 24. April 2007 09:50 >An: 'Ant Users List' >Betreff: RE: AW

Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
Hi, I have been using commons-launcher ( http://jakarta.apache.org/commons/launcher/ ) to provide a cross platform way of launching Java processes. Commons launcher is essentially a wrapper around ant that provides a convenient mechanism for specifying JVM options managing the classpath etc, in

setting JAVA.HOME for javac with fork="true" ?

2007-04-24 Thread Rebhan, Gilbert
Hi, right now i have a working testfile with IBM_J9_v23_SR2 that way = fine, but in reality i need to call another build.xml and want to point JAVA.HOME to the ibm jdk, so that the javac task in the called build.xml works with ibm jdk instead of sun jdk. Is that possible ? I want to avoid

Re: Ant 1.7 build, high CPU use, possible solution

2007-04-24 Thread Peter Reilly
It would be great to have an example build.xml that shows the problem. A number of performance problems were fixed in ant 1.7.0, so it would be nice to squash this one before ant 1.7.1. Peter On 4/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: And Mike, I invite you to make some perform

RE: AW: install and use apache-ant on linux

2007-04-24 Thread Parchet Michaël
Hello, Sorry but I don't understand. Of which file do want you to speak ? Best regards Michaël -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi, 24. avril 2007 06:54 À : user@ant.apache.org Objet : AW: AW: install and use apache-ant on linux What's