AW: where to keep jar files

2009-08-06 Thread Jan.Materne
>using scripts to start my ant files, f.e. = > >windows >set JAVA_HOME=C:\java\jdk\1.6.0_15 >set ANT_HOME=C:\ant >set ANT_ARGS=-lib C:\ant_xtralibs;C:\ant_testlibs >set PATH=%PATH%;%JAVA_HOME%\bin;%ANT_HOME%\bin;C:\cvsnt Using the -lib option to load additional libraries has another benefit. Ther

Re: Urgent Help with Ant and Svn integration.

2009-08-06 Thread David Weintraub
Why are you using Ant for this task. Ant isn't a scripting language. It is a build system. Why not use svnsync? < http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt> -- David Weintraub qazw...@gmail.com

RE: Need Suggestion in build.properties

2009-08-06 Thread Sharma, Jaikumar
Well, Rajesh, try to cook for you Other may help you when you really try to cook yourself ;-) It is trivial question of course. -Original Message- From: Stefan Bodewig [mailto:bode...@apache.org] Sent: Friday, August 07, 2009 12:54 AM To: user@ant.apache.org Subject: Re: Need Suggesti

Re: Need Suggestion in build.properties

2009-08-06 Thread Avlesh Singh
> > I think someone has already suggested you to get rid of the dot ".", before the build.properties file name above. PS: Mailing this question only to the user list should have been just as fine. Cheers Avlesh On Thu, Aug 6, 2009 at 12:01 PM, Rajesh Kumar (IN4774) < rajesh_kum...@mindtree.com

Re: taskdef and onerror -- possible ant 1.7.0 bug

2009-08-06 Thread Norman Gray
Greetings. On 2009 Aug 6, at 20:20, Stefan Bodewig wrote: This is not taskdef telling you off, it is fileset. You'll need erroronmissingdir="false" on the fileset. It turns out that @erroronmissingdir is a attribute introduced in 1.7.1. Hrumph. I can't help feeling that the default fo

Re: where to keep jar files

2009-08-06 Thread Gilbert Rebhan
Raagu schrieb: > In my build script, I have made use of , and other tasks > which made use of external jars . I have kept those jar files in > ${ANT_HOME}\lib directory.. But I dont want to keep those jar files in Ant > Lib's directory.. So Is there any way to keep those jar files in other > dire

Re: Need Suggestion in build.properties

2009-08-06 Thread Stefan Bodewig
On 2009-08-06, Rajesh Kumar (IN4774) wrote: > Any Workaround for below issues. Well, you don't give a lot of detail. For example what "doesn't work" means. > I am trying to use variable defined in build.properties file in > Solaris Machine but below script is not working > This task will t

Re: taskdef and onerror -- possible ant 1.7.0 bug

2009-08-06 Thread Stefan Bodewig
On 2009-08-06, Scot P. Floess wrote: >> The @onerror attribute to doesn't seem to work as >> advertised. Is this a bug (and whether it is or not, can anyone >> suggest a workaround?) >> Consider the following build.xml >> % cat test-build.xml >> >> >> >> >> >> >> >> >> % >> BUILD

RE: Need Suggestion in build.properties

2009-08-06 Thread Rajesh Kumar (IN4774)
Any Workaround for below issues. Rajesh From: Rajesh Kumar (IN4774) Sent: Wednesday, August 05, 2009 4:51 PM To: 'Ant Users List' Subject: Need Suggestion in build.properties I am trying to use variable defined in build.properties file in Solaris Machine but below script is not working Pleas

Re: taskdef and onerror -- possible ant 1.7.0 bug

2009-08-06 Thread Scot P. Floess
Is the path defined by default? On Thu, 6 Aug 2009, Norman Gray wrote: Greetings. The @onerror attribute to doesn't seem to work as advertised. Is this a bug (and whether it is or not, can anyone suggest a workaround?) Consider the following build.xml % cat test-build.xml %

taskdef and onerror -- possible ant 1.7.0 bug

2009-08-06 Thread Norman Gray
Greetings. The @onerror attribute to doesn't seem to work as advertised. Is this a bug (and whether it is or not, can anyone suggest a workaround?) Consider the following build.xml % cat test-build.xml onerror='ignore'> % Note that the classpath mentioned contai

RE: Urgent Help with Ant and Svn integration.

2009-08-06 Thread Martin Gainty
does anyone want to tell him to stay out of the system folders? he needs root access to run aforementioned utilities which he currently does not have essentially he wants someone here to fix his permission errors in india (must be one of the reasons for out-sourcing) Martin Gainty

Re: where to keep jar files

2009-08-06 Thread Scot P. Floess
You definitely can put the jars wherever you want. I'm assuming you are defining some taskdefs? If so, you can use a classpath child element of taskdef. For example, I do this: "http://ant-contrib.sourceforge.net"; description = "Needed to use ant-contrib." > "*.jar"/>

Re: where to keep jar files

2009-08-06 Thread Kamal Chandana Mettananda
Hi, You can save the jar files in a separate location and refer to them. See the task named "path". Then you can use that path in your tasks. Cheers, Kamal --- http://lkamal.blogspot.com/2009/07/war-ant-eclipse-build-web-application.html On Thu, Aug 6,

where to keep jar files

2009-08-06 Thread Raagu
Hi people In my build script, I have made use of , and other tasks which made use of external jars . I have kept those jar files in ${ANT_HOME}\lib directory.. But I dont want to keep those jar files in Ant Lib's directory.. So Is there any way to keep those jar files in other directory may be

Re: Urgent Help with Ant and Svn integration.

2009-08-06 Thread Scot P. Floess
Curious - you mention "svn client is installed by default in box" - but at the end I see you mention no svn client... Somewhat confused... Frome the command prompt can you find svn manually (as in - is it in your path)??? On Thu, 6 Aug 2009, Rajesh Kumar (IN4774) wrote: Hello everybody,

Urgent Help with Ant and Svn integration.

2009-08-06 Thread Rajesh Kumar (IN4774)
Hello everybody, I am facing some issues with svn and ant integration. Requirement: Sync SVN source code using ant script in Solaris machine without copying supported jar files in Ant_home. Limitation: Ant client and svn client is install by default in box but don't have root permission so I c

Re: AW: AW: Reversing a list

2009-08-06 Thread Eric Fetzer
If you want to reuse the same property, there is a task in antelope called unset.  You can use this task so that you can change the value of a property.  I would create a macrodef if using it a lot:                   From: Raagu To: user@ant.apa

Re: sshexec

2009-08-06 Thread Eric Fetzer
No one cares?  Well if anyone decides to fix it, please let me know so that I can take my workaround out... From: Eric Fetzer To: Ant Users List Sent: Wednesday, August 5, 2009 1:54:08 PM Subject: Re: sshexec In order to fix this, I had to write a macrodef t

RE: View which contains a filset

2009-08-06 Thread Redondo Gallardo, Raul Maria
GREAT, Thank you very much. -Mensaje original- De: jan.mate...@rzf.fin-nrw.de [mailto:jan.mate...@rzf.fin-nrw.de] Enviado el: jueves, 06 de agosto de 2009 11:33 Para: user@ant.apache.org Asunto: AW: View which contains a filset If you have you could directly use ${toString:yourid}

AW: View which contains a filset

2009-08-06 Thread Jan.Materne
If you have you could directly use ${toString:yourid} or convert to your needs with Jan >-Ursprüngliche Nachricht- >Von: Redondo Gallardo, Raul Maria >[mailto:rmredo...@eservicios.indra.es] >Gesendet: Donnerstag, 6. August 2009 10:22 >An: Ant Users List >Betreff: RE: View w

Patch task

2009-08-06 Thread Avlesh Singh
Can I make the patch task work on windows? Cheers Avlesh

RE: View which contains a filset

2009-08-06 Thread Redondo Gallardo, Raul Maria
Thank you very much. -Mensaje original- De: Rebhan, Gilbert [mailto:gilbert.reb...@huk-coburg.de] Enviado el: jueves, 06 de agosto de 2009 10:18 Para: 'Ant Users List' Asunto: RE: View which contains a filset -Original Message- From: Redondo Gallardo, Raul Maria [mailto:rmredo

RE: View which contains a filset

2009-08-06 Thread Rebhan, Gilbert
-Original Message- From: Redondo Gallardo, Raul Maria [mailto:rmredo...@eservicios.indra.es] Sent: Thursday, August 06, 2009 10:11 AM To: Ant Users List Subject: View which contains a filset /* I want to know if is ti possible to know the content of a fileset, I've tried with:

View which contains a filset

2009-08-06 Thread Redondo Gallardo, Raul Maria
Goodmornig ANT users, I want to know if is ti possible to know the content of a fileset, I've tried with: But return an error. Is this possible? How can I use each element of a fileset to do several things for each one? Thank you very much. Best regards, Raúl ---

AW: Process File?

2009-08-06 Thread Jan.Materne
You could use the textfile if you write the dependencies as include-patterns. dependencies.txt lib/foo.jar lib/bar.jar lib/spring/*.jar Or use Ivy, which additionally loads the artefacts from a repository. Jan >-Ursprüngliche Nachricht- >Von: Sam [mailto:n...@esamir

AW: AW: AW: Reversing a list

2009-08-06 Thread Jan.Materne
>"Try giving the property a new name" > >I didnt get this.. >pls can u explain ?? In your script is: //Here i am accessing list as "project.references.varId.list" . It will give its values // Here i am doing all operation do reverse and filter //then i am doing project.referenc