RE: Deriving new properties based on existing properties

2003-01-28 Thread Sascha Freitag
So fare as I know you have to do this with a script or your own task. Use and any of the supported script languages see http://jakarta.apache.org/bsf/ for further information. Here an javascript snipped:

Re: javac task w/ antcall does release memory ?

2003-01-28 Thread Sebastien BLANC
working fine w/ 1.4.1, doesn't even hit/eat 512M. thanx for the tip ! seb. Conor MacNeill wrote: > Sebastien BLANC wrote: > > using 1.3.1. I'll checkout the 1.4. > > keep posted. > > thanx. > > seb. > > > > You can also try forking the javac task - it will then leak in a separate VM :-) > > Conor

Re: javac task w/ antcall does release memory ?

2003-01-28 Thread Sebastien BLANC
did not do that at first look, coz I hoped that ant was kinda enough smart to not reload classes that had already been loaded by a previous javac task to fasten the build process. is this how this is supposed to happen when not forking and using antcall (or am just dreaming) ? seb. Conor MacNeill

Re: javac task w/ antcall does release memory ?

2003-01-28 Thread Conor MacNeill
Sebastien BLANC wrote: using 1.3.1. I'll checkout the 1.4. keep posted. thanx. seb. You can also try forking the javac task - it will then leak in a separate VM :-) Conor - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: javac task w/ antcall does release memory ?

2003-01-28 Thread Sebastien BLANC
using 1.3.1. I'll checkout the 1.4. keep posted. thanx. seb. Jacob Kjome wrote: > What JDK? I believe the javac in JDK1.4.1_01 is supposed to fix the memory > leak. Also, try using Jikes. Not only is it better with memory, but it is > also far faster than javac. > > Jake > > At 08:32 PM 1/28/2

Re: javac task w/ antcall does release memory ?

2003-01-28 Thread Jacob Kjome
What JDK? I believe the javac in JDK1.4.1_01 is supposed to fix the memory leak. Also, try using Jikes. Not only is it better with memory, but it is also far faster than javac. Jake At 08:32 PM 1/28/2003 -0600, you wrote: Hello ! I have a project with hundred of directories with java files

RE: Determining if a build failed or not...

2003-01-28 Thread Jerome Paul
Hi Edward, Checkout the maillogger it may do what you require http://ant.apache.org/manual/listeners.html#MailLogger this e-mails out hte buildlog and you can specify details about the messages that get sent. good luck, Jerome -Original Message- From: Ciramella, Edward [mailto:[EMAIL

Re: Determining if a build failed or not...

2003-01-28 Thread Martin
Ed- Could you use the same property setting facility for your Junit tests.. At beginning of target which executes the Junit tests set Globalproperty to false.. Junit has failonerror="trué'' bounces out with GlobalProperty set at default of false at end of target Globalproperty set to "true" later

Determining if a build failed or not...

2003-01-28 Thread Ciramella, Edward
I would like to send an email regardless of the success/failure of a build. Currently, it goes like this: Ant is called with the appropriate target to create an ear file (so complete build is done) from a wrapper script. This target also sends an email (to a distribution list) if the build is succ

Re: jspc and EmptyStackException

2003-01-28 Thread Martin
Gino- The necessary TLDs must be in WEB-INF relative to the declared uriroot. Keep us apprised, -Martin - Original Message - From: "Coccia, Gino" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 28, 2003 11:39 AM Subject: jspc and EmptyStackException > > I've just start

jspc and EmptyStackException

2003-01-28 Thread Coccia, Gino
I've just started trying to use the task and get a java.util.EmptyStackException - searching the mail-list indicates that a few other users have seen this problem. Has anybody any idea what might be causing this and what the solution is ? I'm running Ant 1.5.1, and Tomcat 3.2.3. My task is def

javac task w/ antcall does release memory ?

2003-01-28 Thread Sebastien BLANC
Hello ! I have a project with hundred of directories with java files and becoz of J2EE packaging I have to generate on jar for each directory. I currently launch one javac task per directory not to have to deal with the jar construction pbs if I did it with less javac task for multiple subdirector

Deriving new properties based on existing properties

2003-01-28 Thread Naresh Bhatia
Is there any way to derive new properties based on existing properties? For example, given a property with value="user", I want to derive another property with the first letter capitalized, i.e. "User". I would like to use this approach to derive different filenames based on a base name that is sup

RE: NoClassDefFound trying to run ant [Solved]

2003-01-28 Thread Ciramella, Edward
Just out of curiosity, is it just the install dir that needs to be short? What if you have a package name like: reallysillyandlongname ? -Original Message- From: Martin [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 28, 2002 8:10 AM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: Re: NoCl

Re: How do you use destdir in javac task?

2003-01-28 Thread Jim Cobban
Thank you. I should have RTFM more thoroughly. -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: How to get paths with forward slashes

2003-01-28 Thread Naresh Bhatia
Hi Brian, Yes, log4j does work with double backslashes. The only problem is that I can not get ant to put them in there (using filtersets). Ant specifies paths with single backslash for DOS. However, I am now using to specify paths with single forward slashes and that works. Naresh -Original

RE: Re[2]: How to get paths with forward slashes

2003-01-28 Thread Naresh Bhatia
Thanks. I had not thought of using "localhost" in the url earlier. This will make the url generation easier. Naresh -Original Message- From: Arthur Lim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 4:28 AM To: 'Ant Users List'; Jacob Kjome Subject: RE: Re[2]: How to get paths

Re: NoClassDefFound trying to run ant [Solved]

2003-01-28 Thread Martin
Hello Simon- Well I guess you could blame the developers of the command shell If you had used another shell (MKSTools) etc you would not have that problem But If you desire to preserve the directory long names then issure this command dir /AD /X Observe abbrev name that corresponds to the directory

RE: How to get paths with forward slashes

2003-01-28 Thread Brian Murray
Naresh, Monday, January 27, 2003, 10:52:53 AM, you wrote: NB> Well, I am using Ant's Copy task with a filterset to generate my NB> log4j.xml. The file is correctly generated with the following line NB> to specify the log file: NB> This may be so obvious that you've already tried it, but h

Using Namespace

2003-01-28 Thread Sascha Groß
>But why you want to use namespaces? I have an own markup language and will use some elements of ant like , The idea is to differ my elements and the ant elements. (This is the job of namespace) After a transformation with e.g. XSLT i will get a ant build-file and start ant with this gen

RE: NoClassDefFound trying to run ant [Solved]

2003-01-28 Thread Chappell, Simon P
Well, I was so desperate to get it working that I went back to the install docs that I haven't read since I installed ant the first ever time. And right there it told me that I need to have a REALLY short directory name for ant on Windows 95/98 and I assumed ME. Once I installed ant in c:\ant, e

Re: AW: Using Namespace

2003-01-28 Thread Conor MacNeill
[EMAIL PROTECTED] wrote: I don´t know whether Ant support namespaces - I haven´t ever seen one. Ant 1.5.x does not support namespaces - no namespaces can be declared as the parser will not recognize a namespace declaration as such but will try to pass it as an attribute of project - which fai

AW: Using Namespace

2003-01-28 Thread Jan . Materne
I don´t know whether Ant support namespaces - I haven´t ever seen one. But why you want to use namespaces? Jan Matèrne -Ursprüngliche Nachricht- Von: Sascha Groß [mailto:[EMAIL PROTECTED]] Gesendet am: Dienstag, 28. Januar 2003 13:09 An: [EMAIL PROTECTED] Betreff: Using Namespace Hi!

Using Namespace

2003-01-28 Thread Sascha Groß
Hi! Does ant support namespace and if yes what is the namespace uri? I will write the following, is this possible? http://ant.apache.org/"; ...> ... ... Thanks for help Sascha -- [EMAIL PROTECTED] mathonix e.K. Nägelsbachstraße 25 a 91052 E r l a n g e n http://www.mat

ANN: xmltask 1.4

2003-01-28 Thread Brian Agnew
XmlTask 1.4 has just been released. This version has the following changes: a) cut / copy / paste facility of nodes within or between documents b) output indentation control c) various bug fixes d) licence change from LGPL to Apache Available from http://www.oopsconsultancy.com/software/xmltask.h

Re: How do you use destdir in javac task?

2003-01-28 Thread Stefano Mancarella
Jim Cobban wrote: My classes are all in the Census package so I have a directory containing the source > which has a subdirectory of Census which contains the compiled classes. The documentation on the javac task specifically mentions the need to have the > directory structure mirror the packag

Re: NoClassDefFound trying to run ant

2003-01-28 Thread Conor MacNeill
Jim Cobban wrote: So why does ant install into a directory which it cannot be run from? Strictly speaking, Ant does not "install" itself - that is something that you do and the installation instructions tell you what you need to change. I know it's not great but then again, neither is Win98.

RE: Re[2]: How to get paths with forward slashes

2003-01-28 Thread Arthur Lim
Hi, Here's a segment of what you might want to convert the file path from one format to another. In this segment, I am converting from DOS format to UNIX format. Hope this helps. Arthur ===

Re: Problem with ANT_HOME in Windows 98

2003-01-28 Thread Antoine Levy-Lambert
This is actually bug 13582 ??? http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13582 I think ant.bat does need a fix to run properly under Win 98 this line if exist "%ANT_HOME%" goto checkJava should be changed to : if exist "%ANT_HOME%\NUL" goto checkJava Conor ? Antoine - Original Message -