Re: [HELP] problem using antlr in ant

2008-12-14 Thread Sunil Mishra
It's been a while since I've worked on this, so I'm afraid I won't be able to give you much precise help. Make sure you have the required antlr jar files in your ant installation, the task AFAIK should work correctly from there on. Sunil On Dec 12, 2008, at 3:46 AM,

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
k:http://ant.apache.org/manual/OptionalTasks/perforce.html) rgds sunil On 6/27/07, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: Start by reading the manual... http://ant.apache.org/manual/index.html People on the list are happy to help, but we won't do your work for yo

using mapper element to make a file name proper case

2006-12-30 Thread Sunil
I am trying to make a java file name Proper case without inputting the file names ex: test.java to Test.java The below code takes all the .java files and converts the entire filename to upper case. self.addMappedName(source.toUpperCase()); self.addMappedNa

RE: create a dir with current date

2006-10-20 Thread Muthyala, Sunil
Users List Subject: Re: create a dir with current date On Friday October 20, 2006 15:05, "Muthyala, Sunil" <[EMAIL PROTECTED]> wrote: > I am trying to create a directory with current system date, I tried > using "tstamp" but did not work. Should do the trick

create a dir with current date

2006-10-20 Thread Muthyala, Sunil
I am trying to create a directory with current system date, I tried using "tstamp" but did not work. Where can I get more info on "tstamp" usage. Regards, Sunil

Run a BAT

2006-10-19 Thread Muthyala, Sunil
directory. Can some one tell me if there is another command to use for running .bat or .exe Regards, Sunil

RE: Task help

2006-10-18 Thread Muthyala, Sunil
s the error I get C:\apache-ant-1.6.5\bin>ant -f C:\apache-ant-1.6.5\build_AC.xml Buildfile: C:\apache-ant-1.6.5\build_AC.xml BUILD FAILED C:\apache-ant-1.6.5\build_AC.xml:6: The prefix "ac" for element "ac:for" is not bound. Total time: 0 seconds What mistak

Task help

2006-10-17 Thread Muthyala, Sunil
it as property, but it reads only first line and not the subsequent. Does ANT have a for loop kind of command or any other to this kind of job. Any help would be appreciated. Regards, Sunil Muthyala

RE: Dynamic references to properties files

2006-05-23 Thread Sunil Goklani
Thank you Rob. That solved it! -Sunil From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: Dynamic references to properties files Date: Mon, 22 May 2006 11:06:19 -0700 No. Not the case. I b

Dynamic references to properties files

2006-05-19 Thread Sunil Goklani
Hi All, I had a question on how I could use two variables to access information from my properties files. I am trying to build an ant script to generate configuration files for all of my development, qa, and staging environments. For example I have the following in a properties file: #Confi

Re: ANTLR task doesn't update its output

2004-06-28 Thread Sunil Mishra
I used the following invocation: $ CLASSPATH=/Volumes/Users/smishra/aic/jtp/beta/java/lib/antlr.jar ant -f antlr-build.xml compileParser I got the same result as before. I'm quite certain the classpath is being used correctly, I removed the reference to antlr.jar from the build file. Sun

Re: ANTLR task doesn't update its output

2004-06-28 Thread Sunil Mishra
if/ KIFParser.g:2:1: unexpected token: foo [antlr] Exiting due to errors. I guess I chose a poor subject line. It should have said "ANTLR task doesn't update its output timestamp". I'm not sure what to make of this behavior. Sunil On Jun 28, 2004, at 3:20 PM, Matt Benson w

Behaviour of fail task.

2003-09-16 Thread Sunil Singh
Hi, I am seeing some unexpected behaviour with ant's fail task. I have created various sub-project build.xmls for various components of our overall product and then there is a master ant build.xml which calls these sub-project builds. The sub-project build.xmls have a target to check if a build

Sending html attachment in ANT as part of the body.

2003-08-14 Thread sunil singh
hanks! Sunil-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Creating a final build summary output file.

2003-07-28 Thread sunil singh
/24/2003:12:35Outputdir/CompA.log ... ......... Does ant provide any mechanism to generate a build summary file like this or any other format ? Thanks! Sunil