Re: Using available's property setting ability inside a condition, is it possible?

2002-11-11 Thread Stefan Bodewig
On 11 Nov 2002, David Budworth <[EMAIL PROTECTED]> wrote: > Actually, this is what I tried from the start But you get a > deprecation warning about using available to overwrite an existing > property OK, so instead of >> > property="compiler.type" value="jikes"/> >> > property="com

RE: ejbc createprocess problem

2002-11-11 Thread Kees Snijders
Hi Mocek, Those warning are most likely the cause of the error, examine your classpath carefully, it's finding another version of classes contained in the jar file you're ejbc compiling. Also try setting debug and verbose on, something like:

Re: task: shutdown hook / NoClassDefFoundError

2002-11-11 Thread Luoh Ren-Shan
I have turned to Perl to launch my Java program. Now the shutdown hook of my program will be invoked, and the script works on both Windows and Linux. Luoh Ren-Shan - Original Message - From: "Luoh Ren-Shan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 3:44 P

Looking For Testers - Oracle LoadJava and DropJava Ant Optional Tasks

2002-11-11 Thread Nicholas
If you use Ant and the Oracle internal JVM (loadjava and dropjava commands) , I could really use your help testing these optional tasks before submitting them. Please send me an email at [EMAIL PROTECTED] if you can help. Current status is I am commenting the code and updating the docs. Thanks.

RE: Optional Task JUnit - unable to instantiate DocumentBuilderFactoryImpl since upgrading to 1.5.1

2002-11-11 Thread Jeremy Mawson
Thank you Steve for your response. I've forked the junit tasks as you suggest, and I've also explicity declared Xerces in the classpath for the junit tasks. However, neither of these suggestions changed the error. I played around for a bit longer and discovered all I need to do to resolve the iss

RE: ejbc createprocess problem

2002-11-11 Thread Detlef Brendle
we actually have the same issue. We figured out that 'javac' is missing on the environment PATH. Adding it to the PATH would be a workaround, but we also dont know why this error occurs. We would be glad to get a solution for this too. detlef -Original Message- From: Mocek Miroslav (EXT

ejbc createprocess problem

2002-11-11 Thread Mocek Miroslav (EXT)
Hi, I have problems with following code snipet: It works well on my machine, but on the other machine, we get the error bel

Re: Xdoclet drowning in log4j DEBUG messages

2002-11-11 Thread Erik Hatcher
Kell Sønnichsen wrote: We are both right :-) I cut-and-pasted the above _before_ I upgraded to Xdoclet 1.2b1. But the problem persists. The only change is in the classname, right?: classname="xdoclet.modules.ejb.EjbDocletTask" And where you put the classpath/classpathref/ stuff. 1.2 o

Re: Using available's property setting ability inside a condition,is it possible?

2002-11-11 Thread David Budworth
Actually, this is what I tried from the start But you get a deprecation warning about using available to overwrite an existing property I ended up doing what's below. Looking at it now though, I'm not sure why ${found.compiler} doesn't get overwritten with javac after it's found jikes (both are i

RE: Ant you have a greeting card from Daisy.

2002-11-11 Thread James Bullington
Or... seeing replies to this message a thousand times over. --- David McTavish <[EMAIL PROTECTED]> wrote: > I'm trying to determine what was worse... the Daisy-spam virus or the > greeting card. ;) > > > -Original Message- > From: Gordon Tyler [mailto:gordon.tyler@;sitraka.com] > Sent

RE: javac task

2002-11-11 Thread Dominique Devienne
Or instead of using /, either: 1) Don't use the echo, and let Javac speak for itself... If it doesn't compile anything, it doesn't say anything. This fact, combined with NoBannerLogger makes for an uncluttered output when nothing is compiled. 2) Modify NoBannerLogger to postpone an unti

RE: Ant you have a greeting card from Daisy.

2002-11-11 Thread David McTavish
I'm trying to determine what was worse... the Daisy-spam virus or the greeting card. ;) -Original Message- From: Gordon Tyler [mailto:gordon.tyler@;sitraka.com] Sent: Monday, November 11, 2002 10:44 AM To: Ant Users List Subject: Re: Ant you have a greeting card from Daisy. Gordon Tyle

Re: Ant you have a greeting card from Daisy.

2002-11-11 Thread Gordon Tyler
Gordon Tyler wrote: Stefan Bodewig wrote: If I understand what you've said correctly, this means Daisy has been infected by that worm. Hope she knows that by now. Oh yes. She ran screaming past my office a few minutes after it happened to our R&D tech support guy ;) Let me correct my gramma

RE: javac task

2002-11-11 Thread Diane Holt
--- David McTavish <[EMAIL PROTECTED]> wrote: > I want to suppress an echo message if no files were ever compiled. You could try this: http://marc.theaimsgroup.com/?l=ant-user&m=103360021927202&w=2 only change the regexp to "[javac] Compiling". Diane = ([EMAIL PROTECTED]) __

Re: Ant you have a greeting card from Daisy.

2002-11-11 Thread Gordon Tyler
Stefan Bodewig wrote: If I understand what you've said correctly, this means Daisy has been infected by that worm. Hope she knows that by now. Oh yes. She ran screaming past my office a few minutes after it happened to our R&D tech support guy ;) Ciao, Gordon -- Gordon Tyler Software Develop

Re: Xdoclet drowning in log4j DEBUG messages

2002-11-11 Thread Kell Sønnichsen
On Mon, 11 Nov 2002, Erik Hatcher wrote: > Kell Sønnichsen wrote: > > > >> name="ejbdoclet" > > classname="xdoclet.ejb.EjbDocletTask" > > classpathref="compile.class.path" > > /> > >> sourcepath="${ejb.src}" > > destdir="${xdoclet.src}" > > excludedtags="@vers

RE: javac task

2002-11-11 Thread David McTavish
I want to suppress an echo message if no files were ever compiled. -Original Message- From: Diane Holt [mailto:holtdl@;yahoo.com] Sent: Monday, November 11, 2002 2:03 AM To: Ant Users List Subject: Re: javac task --- David McTavish <[EMAIL PROTECTED]> wrote: > Is there anyway to deter

Re: Xdoclet drowning in log4j DEBUG messages

2002-11-11 Thread Erik Hatcher
Kell Sønnichsen wrote: ... From the above it is clear you are using XDoclet < 1.2, so I'd first recomment you upgrade to XDoclet 1.2beta1 (or beta2, which will be out soon, if not already). I don't know whether it is a xdoclet problem or an ant problem but I have tried to

RE: Design Pattern in Ant - Template Method

2002-11-11 Thread Murray, Mike B.
You have to make use of property values to direct an abstract target to an implementation of it. You cannot use the properties to create dynamic depends though. You need to make use of antcall, which has its drawbacks (creates new project instance, memory overhead), or use a lighter version of

Re: Depend task 0 deletion does stop target execution

2002-11-11 Thread Erik Hatcher
XDoclet (version 1.2 - currently at beta 1, soon to be beta 2) does nicer dependency checking than ever before. Are you using that version? Erik Sebastien BLANC wrote: Hello ! I'd like to know if there is a way to perform the following with ant (haven't found anything in doc): I have tasks in

Xdoclet drowning in log4j DEBUG messages

2002-11-11 Thread Kell Sønnichsen
Hi all, We have a project where the 'xdoclet' target is spinning out of control with megabytes of debug messages from log4j. This means that the target takes about 20 minutes to finish! The target is specified like this: ... I don't know whether it is a xdoclet problem or an

RE: exec task

2002-11-11 Thread Buonassisi, Vincent [Contractor]
Thanks! I should have thought of that. But, fyi, I had to use instead of Thanks, -Original Message- From: Anakreon Mejdi [mailto:amejdi@;ertonline.gr] Sent: Friday, November 08, 2002 10:19 AM To: Ant Users List Subject: Re: exec task You should pass the params to bash or your favori

Re: Unable to Update WAR file

2002-11-11 Thread Stefan Bodewig
On Sun, 10 Nov 2002, detlef brendle <[EMAIL PROTECTED]> wrote: > this is a know bug in ANT 1.5.1. Known limitation, I'd say. The behavior of update="true" is now consistent the behavior of update="false" - don't do anything if the archive is newer than any file that is supposed to get added. >

SV: Checking the java version

2002-11-11 Thread Christian Holmqvist, IT, Posten
I have a similar problem but on the run time level. I have been working on a task that should among other things upgrade the production (deployment)JDK/JRE. To be able to do this I have to identify exactly what version of Java that is installed. With other words is there a more precise method for

Re: Using available's property setting ability inside a condition, is it possible?

2002-11-11 Thread Stefan Bodewig
On 09 Nov 2002, David Budworth <[EMAIL PROTECTED]> wrote: > The only workaround for this I can find is to do it the old way, of > multiple targets with an "unless=compiler.type" tag on them. So I'll try to help to find another one: Compiler found: ${compiler.found}, type: ${co

Re: Apply/Exec

2002-11-11 Thread Stefan Bodewig
On Fri, 8 Nov 2002, Kendall Collett <[EMAIL PROTECTED]> wrote: > If there was a way of specifying the maximum number and/or length of > arguments (ala xargs' --max-args and --max-chars options; see > ), that might > help. True. Has been suggest