Re: [Ant task] Calling different targets by passing it to a batch file

2007-10-23 Thread Sunil Prabhakaran
try this change the batch file statement to ant -buildfile "RunBuild.xml" %1 %2 and then execute >ABC.bat A B at commandline and this should solve your troubles Sunil Prabhakaran On 10/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Im not sure why you are using the

Re: How do I strip off part of the file name when I do a ANT copy

2007-10-19 Thread Sunil Prabhakaran
try the ANT contrib task propertyregexp http://ant-contrib.sourceforge.net/tasks/tasks/propertyregex.html One example would be to use it this way regards Sunil Prabhakaran On 10/19/07, Eric Wood <[EMAIL PROTECTED]> wrote: > > I have a bunch of te

Re: Javac

2007-10-09 Thread Sunil Prabhakaran
hi Alternatively you can try setting the executable attribute in task regards sunil prabhakaran On 10/9/00, Martin Gainty <[EMAIL PROTECTED]> wrote: > http://ant.apache.org/manual/running.html > > ant -Djava.home= > > Martin-- > - Original Message - > From: ;

Re: How to include multiple source branches in javac task

2007-10-09 Thread Sunil Prabhakaran
> > On 10/8/07, Sunil Prabhakaran <[EMAIL PROTECTED]> wrote: > > Hi > > > > Have you tried the Includesfile attribute in Javac task? > > > > Regards > > Sunil Prabhakaran > > > > On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote: &

Re: How to include multiple source branches in javac task

2007-10-08 Thread Sunil Prabhakaran
Hi Have you tried the Includesfile attribute in Javac task? Regards Sunil Prabhakaran On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote: > This is how my javac task looks right now. > > destdir="${build.classes.dir}"> > > > >

Re: Unix command in build .xml

2007-07-17 Thread Sunil Prabhakaran
try regards Sunil Prabhakaran On 7/17/07, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote: Hi All, I need to execute UNIX command (for example ls -l) in Ant's build.xml file. Can somebody please help me in this case. Do I need to write task for this or anything else. Please hel

Re: Select JDK compiler

2007-07-16 Thread Sunil Prabhakaran
hi Hezjing, Try the executable attribute in . By default it will be 1.5 for you. however try setting this executable attribute to the filepath for 1.4 javac.exe, whereever you require the sources to be compiled with 1.4 JDK hope this helps regards Sunil Prabhakaran On 7/17/07, hezjing <[EM

Re: ANT and Perforce

2007-06-27 Thread Sunil Prabhakaran
hi Srinivas I dont think the perforce command(P4 changes) for 1a> is implemented in ant alternatively you can write this task yourself.check out for P4 api in perforce site on how to do it Else you can directly the particular perforce command (P4 Changes) For 1c> check tasks (link:http://ant.