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
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
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
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
[
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.
--
.
>
> 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
>
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
. 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
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
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
n ;)
>
> Jan
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ${out}
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: Ravi Roy [mailto:[EMAIL PROTECTED]
> > Gesendet: Dienstag, 29. Januar 2008 11:09
> > An: Ant Users List
> > Be
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
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
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]
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
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:
:\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,
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.
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
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
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
: 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
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
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
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
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
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
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
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
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
.
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
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
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:
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
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
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
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.
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.
38 matches
Mail list logo