Re: Antcall task not doing what I want it to do!

2006-03-16 Thread Res Pons
no, that's just my typo in this email. The build file is spelled correctly. Thanks anyway :) Original Message Follows From: TH Lim <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: Ant Users List Subject: Re: Antcall task not doing what I want it to do! Date: Thu, 16 Mar 2006 20:50:5

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread Res Pons
This is great. Thank you so much for the thorough explanation and examples. :) Original Message Follows From: Ninju Bohra <[EMAIL PROTECTED]> Reply-To: Ninju Bohra <[EMAIL PROTECTED]> To: Ant Users List Subject: Re: Antcall task not doing what I want it to do! Date: Thu, 16 Mar 2006 19:

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread TH Lim
Is it because it should be instead of ? --- Res Pons <[EMAIL PROTECTED]> wrote: > Hi everyone! > > I'm making an antcall from the source target to its > destination target. > > > > > > > > >value="${build.number}" /> > > > > Naturally the echo stmt in the newbuildnum targ

Re: Antcall task not doing what I want it to do!

2006-03-16 Thread Ninju Bohra
Hello Res Pons, By design the task loads an new "ANT" session in which the "target" task is run in and when the "target" task is completed the "ANT" session is destroyed and no property values/path refs are carried back into the calling session (think of the task as a subroutine call where a

Antcall task not doing what I want it to do!

2006-03-16 Thread Res Pons
Hi everyone! I'm making an antcall from the source target to its destination target. Naturally the echo stmt in the newbuildnum target works but how do I get it back to callbuildnumber target, the echo stmt in this target does not work? __

Re: ant memory leak - not fixed???

2006-03-16 Thread Xiangzhou Wang
I run them seperately. I run "ant jspc" first. After all java files are generated, them I run "ant compile". They are not running in one ant command. Thanks, William --- "Alexey N. Solofnenko" <[EMAIL PROTECTED]> wrote: > Maybe JspC ate all the memory. Can you run it in > forked mode? > > - A

Re: ant memory leak - not fixed???

2006-03-16 Thread Alexey N. Solofnenko
Maybe JspC ate all the memory. Can you run it in forked mode? - Alexey. Xiangzhou Wang wrote: No, still the same. --- EJ Ciramella <[EMAIL PROTECTED]> wrote: Would incremental garbage cleanup help? ANT_OPTS=-Xincgc -Original Message- From: Xiangzhou Wang [mailto:[EMAIL PROTECT

RE: ant memory leak - not fixed???

2006-03-16 Thread Xiangzhou Wang
No, still the same. --- EJ Ciramella <[EMAIL PROTECTED]> wrote: > Would incremental garbage cleanup help? > ANT_OPTS=-Xincgc > > > > -Original Message- > From: Xiangzhou Wang [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 16, 2006 1:15 PM > To: user@ant.apache.org > Subject: ant m

Jscompress Javascript compression Task

2006-03-16 Thread Alexander E Genaud
Hello, I've written a javascript compression task, combining the Replace task with some Apache licensed code from https://dwr.dev.java.net/source/browse/dwr/java/uk/ltd/getahead/dwr/util/JavascriptUtil.java I would like to submit it to development, though it may not be Apache-quality code. It is

RE: ant memory leak - not fixed???

2006-03-16 Thread EJ Ciramella
Would incremental garbage cleanup help? ANT_OPTS=-Xincgc -Original Message- From: Xiangzhou Wang [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 1:15 PM To: user@ant.apache.org Subject: ant memory leak - not fixed??? Hi, I know it is not a new problem. I am using ant 1.6.5 t

ant memory leak - not fixed???

2006-03-16 Thread Xiangzhou Wang
Hi, I know it is not a new problem. I am using ant 1.6.5 to compile large number of java files pre-generated from jsp pages with tomcat 5.5.15 jspC. The total number of bytes of these java files is around 150 MB, total class is 40MB, total lib (exclude java) is 21MB. I am using ant only, NO IDE

Bug in propertyset?

2006-03-16 Thread Daniels, Troy \(US SSA\)
Hello, I'm seeing unusual behavior trying to use propertyset. The build file is below. I have a -run target that calls on a class specified by a property, and several target that set the property and call the -run target. I define a propertyset to specify the properties that are passed to the

Re: Only using taskdef if the task isn't already defined

2006-03-16 Thread Steve Loughran
Jon Skeet wrote: I have a fairly complex sequence of Ant scripts, including top level scripts which call lower level scripts. All of them go through a general import phase, which includes doing some taskdefs. Now, I'd like to avoid doing the taskdefs in the lower level scripts if the tasks have a

Only using taskdef if the task isn't already defined

2006-03-16 Thread Jon Skeet
I have a fairly complex sequence of Ant scripts, including top level scripts which call lower level scripts. All of them go through a general import phase, which includes doing some taskdefs. Now, I'd like to avoid doing the taskdefs in the lower level scripts if the tasks have already been loaded

RE: Changing the "leading directory" path on a directory tree

2006-03-16 Thread Jon Skeet
> I am not sure if I can explain this correctly, so I will show > you the target text and then explain the problem > The problem I am having is in the task (the > first task afterthe ), what I want to do is > convert filepaths that are provided in the @{file} attribute from > C:\dir_viewer