Re: Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-07 Thread Ravi Roy
On Sun, Apr 4, 2010 at 10:43 PM, Gilbert Rebhan wrote: > Original Message > Subject: Proposal to have an Ant task to resolve ecllipse projects' > classpath dependencies at runtime. > From: Ravi Roy > To: user@ant.apache.org > Date: 04

Proposal to have an Ant task to resolve ecllipse projects' classpath dependencies at runtime.

2010-04-04 Thread Ravi Roy
Hi, I am using Ant for last four years and really addicted to its simplicity and cleanliness, though there are lot of tools around but can not really feel to migrate to any tool. It is also damn easy to write own custom tasks (using scripting langauges like javascript etc. and Java itself) and get

Fwd: Best practises for Ant Memory usage

2008-06-23 Thread Ravi Roy
Thanks for your reply, These setting worked and problem is gone ;-) Create system variable ANT_OPTS and set the value of this to -DXms=1024M -DXmx=1024M -XX:+UseParallelGC Hope this would help, I had similar problem, which was solved using this. -Original Message- From: Ravi Roy [mailto

Re: Best practises for Ant Memory usage

2008-06-20 Thread Ravi Roy
Hi, Thanks for your reply Henning. Yes, javac causes memory error, following is the error message. I am using Sun JDK 1.6.0_03-b05. _ compile: [javac] Compiling 4 source files to d:\Build\iPiece\Java\iTool\bin [

Best practises for Ant Memory usage

2008-06-20 Thread Ravi Roy
Hi All, >From time to time, I get Out-Of-Memory errors in Ant (Ant 1.7.0), I would like to know the best practises from the people who have experience with Ant Memory Management. Some set of tips & tricks.. would help every one here.. Thanks in advance! Regards, Ravi. --

Re: Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Ravi Roy
. > > Ex. java -classpath App1.jar -jar Application.jar > > Thanks, > Kevin > > -Original Message- > From: Ravi Roy [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2008 11:29 AM > To: Ant Users List > Subject: Class-Path not recognised from MANIFEST.MF >

Class-Path not recognised from MANIFEST.MF

2008-05-22 Thread Ravi Roy
Hi All, My apologies if I am missing something obivious, I have the following test build.xml, in which I am trying to create a executable JAR, I am specifying the Class-Path which is needed by the application at runtime but application reports NoClassDefFound error... Class-Path and Main-Class at

RE: How to store date time as a long value into a text file.

2008-05-02 Thread Ravi Roy
. Floess [mailto:[EMAIL PROTECTED] Sent: Sunday, April 27, 2008 7:33 PM To: Ant Users List Subject: Re: How to store date time as a long value into a text file. Did you look at the tstamp task? Ravi Roy wrote: > Just to inform the list, I was not able

RE: How to store date time as a long value into a text file.

2008-04-27 Thread Ravi Roy
Just to inform the list, I was not able to wokout this problem using standard Ant task, I had to write small custom Ant task to solve this problem -- which in fact I was trying to avoid ;-) Regards, Ravi. -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Saturday, April

How to store date time as a long value into a text file.

2008-04-26 Thread Ravi Roy
Hi all, I have searched the archives, but I am not able to get the answer of my question. My problem is I want to create a file say "foo" and store current time as long value in that using Ant. For example : long myvar = System.currentTimeMillis(); would produce a long value of current date tim

Re: How to set a new property based on value of another property in Ant ?

2008-01-29 Thread Ravi Roy
n ;) > > Jan > > > > > > > > > > > > > > > > > > ${out} > > > > > -Ursprüngliche Nachricht- > > Von: Ravi Roy [mailto:[EMAIL PROTECTED] > > Gesendet: Dienstag, 29. Januar 2008 11:09 > > An: Ant Users List > > Be

Re: How to set a new property based on value of another property in Ant ?

2008-01-29 Thread Ravi Roy
ache.org/faq.html#propertyvalue-as-name-for-property > > > Jan Thanks Jan, But initially, I was looking for how to manipulate the string like - pushing "." in between value of the property using ant. Regards, Ravi > > > -Ursprüngliche Nachricht- > > V

How to set a new property based on value of another property in Ant ?

2008-01-29 Thread Ravi Roy
Hi All, I want to set a property based on a value of the other property in my build script : Already defined property in a build file : Want to set another property based on the value of this property like. Which means addding "." character after first character in the value of foo.1 pr

How much length of classpath entries ant can handle at runtime

2008-01-21 Thread Ravi Roy
Hi All, I wonder, if somebody have the idea of how much length (KB?) - classpath entries Ant can handled at runtime ? Regards. Ravi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2008-01-01 Thread Ravi Roy
h led me to further > investigation> of the same :> > Line number 509 in > DefaultCompilerAdapter.java> > } catch (IOException e) {> throw new > BuildException("Error running " + args[0]> + " compiler", e, location);> > > Thanks a lot for

RE: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-31 Thread Ravi Roy
new BuildException("Error running " + args[0] + " compiler", e, location); Thanks a lot for your help and support! Regards. Ravi. -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Sunday, December 23, 2007 5:14 PM To:

RE: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-23 Thread Ravi Roy
:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler Hi, Can u send the xml file or atleast the lines dat causes the error Regards Sumudu On Dec 23, 2007 10:30 AM, Ravi Roy <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi Freeman, Thanks for your reply, but it does not help,

RE: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-22 Thread Ravi Roy
EMAIL PROTECTED]> wrote: > > Hi Ravi, > > > > Set the JAVA_HOME as: C:\tools\Java\jdk1.6.0_03\bin > > > > and also the ANT_HOME should be set to the bin of the ANT. > > > > Setting the path to C:\toos\Java\jdk1.6.0_03 will result in compiler > error.

Re: Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread Ravi Roy
Sorry, that was a typo in path, actually it is C:\tools\Java\jdk1.6.0_03 Regards Ravi On 12/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > so JAVA_HOME is set to C:\toos\Java\jdk1.6.0_03 > instead of > C:\tools\Java\jdk1.6.0_03 > > ? > M- > - Original Message - > Wrom: YFMYXOEAIJJP

Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler

2007-12-21 Thread Ravi Roy
Hi All, I have strange error - Error running C:\toos\Java\jdk1.6.0_03\bin\javac.exe compiler, I have Windows XP sp2 with Ant 1.7.1alpha (my own Ant built version). I have a big project which compiles and build successfully but when JUnit tests starts and at compile time of junit tests it gives th

RE: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Ravi Roy
ce:  2,810,136 kbyte --- -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 9:43 PM To: 'Ant Users List' Subject: RE: Frequent java.lang.OutOfMemoryError: Java heap space error Thanks Steve, I am using Ant-contrib-b03 for some repeated operations

RE: Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Ravi Roy
: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, December 10, 2007 9:15 PM To: Ant Users List Subject: Re: Frequent java.lang.OutOfMemoryError: Java heap space error Ravi Roy wrote: > Hello all, > > I am running my product build with cruisecontrol using ant 1.7.0. I > have set A

Frequent java.lang.OutOfMemoryError: Java heap space error

2007-12-10 Thread Ravi Roy
Hello all, I am running my product build with cruisecontrol using ant 1.7.0. I have set ANT_OPTS=-Xms=1536m -Xmx1536m, but still I am getting below mentioned error, I have searched mail archive, but I see ANT_OPTS settings, which I have already set, I get the following error : [javac] The sys

Showing current classpath Ant is using in Build executing state

2007-10-05 Thread Ravi Roy
Hi All, In a scenario, where build is executing how I can see / log the current classpath of this build, which Ant is relying to build the project ? I think Ant -diagnositcs gives the interesting informarmation but not in the build executing state and is static in nature. Thanks in advance for th

RE: junitvmwatcher error junit 4.4, ant 1.7

2007-10-01 Thread Ravi Roy
Hi All, I have the same issue as mentioned initially by Vijay, I have Ant 1.7.0 with JUnit 4.0. Until yesterday, it was working well, now suddenly, it is giving junitvmwatherxxx.properties (FileNotFoundException). I have not changed anything on my build sever. I have searched the mail archives, o

RE: Updated : Failonerror does not have any effect on compilation failure

2007-09-01 Thread Ravi Roy
task. That way the build will fail if any step or target fails. Exec creates a different process and so cannot cause the current build to fail. hth, Vijay Ravi Roy wrote: > Hi All, > > I am calling ant.bat using in the foll

Updated : Failonerror does not have any effect on compilation failure

2007-08-31 Thread Ravi Roy
Hi All, I am calling ant.bat using in the following way : I am using javac task inside projecbuild.xml and calling each project 's projectbuild.xml using task as shown above in the target. The

Failonerror does not have any effect on compilation failure

2007-08-31 Thread Ravi Roy
Hi All, I am calling ant.bat using in the following way : I am using javac task inside projecbuild.xml and calling each project 's projectbuild.xml using task as shown above in the target. The

FW: Failonerror attribute of Delete and Javac task

2007-08-25 Thread Ravi Roy
Sorry, my mail was incomple because it really did not specify what my actual problem was. Actual problem is : After compilation is failed build doest not stop and continue to execute next target. Thanks. -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Saturday

Failonerror attribute of Delete and Javac task

2007-08-25 Thread Ravi Roy
Hi All, My product build scripts are spanned across serveral build scripts. At times, while deleting the temp folder, I use the following : Please note above in the target that I am using failonerror="false", which I

RE: How to add a file to existing zip archive into a existingfolder

2007-06-14 Thread Ravi Roy
. More here : http://ant.apache.org/manual/CoreTypes/zipfileset.html HTH -Prashant On Thu, 2007-06-14 at 11:26 +0530, Ravi Roy wrote: > Hi All, > > > > I have a zip archive, which I want to update with adding a new file to > spec

RE: Resloving directory based JARs to any lengh using

2007-05-25 Thread Ravi Roy
compiles? If so, just let javac sort all that out... Ravi Roy wrote: > Thanks Scot for quick answer, > > I am trying to compute the classpath for sources to compile, and that folder > has many sub-folders containing .class and JAR files too, but I have tried > to use the same you have

RE: Resloving directory based JARs to any lengh using

2007-05-25 Thread Ravi Roy
Sorry, incomplete answer, I had not success using then I tried to use , there is no specific reason. Regards, Ravi -Original Message- From: Ravi Roy [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 10:22 PM To: 'Ant Users List'; '[EMAIL PROTECTED]' Subject: RE:

RE: Resloving directory based JARs to any lengh using

2007-05-25 Thread Ravi Roy
ories? Don't you want to include all jars? Like: Ravi Roy wrote: > Hi All, > > > > Is it possible to refer to all the jars in a directory structure of any > length ? > > > > I use the following, but a jar located under > mypro

Resloving directory based JARs to any lengh using

2007-05-25 Thread Ravi Roy
Hi All, Is it possible to refer to all the jars in a directory structure of any length ? I use the following, but a jar located under myproject\dir1\dir2\dir3\abc.jar is not resolved. I can refer individual jar using , but is it possible somehow to use the abo

RE: How to refer PATH environment variable in Ant task

2006-12-02 Thread Ravi Roy
Thanks to all of you for your responses. I tried to use first test case to solve 'uppercase/lowercase' issues as suggested by Peter by using : but got the exception that -- mailto:[EMAIL PROTECTED] Sent: Sunday, December 03, 2006 4:44 AM To: Ant Users List Subject: Re: How to refer PATH env

How to refer PATH environment variable in Ant task

2006-12-02 Thread Ravi Roy
Hi All, I want to refer the environment variable in created in Windows XP using Ant task, but it does not seem to refer that. My purpose is to run java.exe along with executing the application and referring ZIP/JARs by the application at execution time from the PATH variable.

How to refer PATH environment variable in Ant task

2006-12-02 Thread Ravi Roy
Hi All, I want to refer the environment variable in created in Windows XP using Ant task, but it does not seem to refer that. My purpose is to run java.exe along with executing the application and referring ZIP/JARs by the application at execution time from the PATH variable.