spanning XML files outside of XML declaration

2002-11-08 Thread David Adams
I am looking for a method to expand a properties.xml file into a build file with out using the XML !ENTITY function. The build system I am developing will be building numerous projects. I do not want to have to location the properties.xml file in a precise location. Example: Previously, I was

RE: Depend task 0 deletion does stop target execution

2002-11-08 Thread Dominique Devienne
You mean , right? Anyhow, to conditionally execute tasks, you first have to find out if the generation process needs to happen, and then make it happen if needed. The first step is done using either or . The latter is more generic, but doesn't set a property when doing something (deleting the tar

RE: Ant you have a greeting card from Daisy.

2002-11-08 Thread Alexey Solofnenko
Signed code only helps to identify a signer. You still have to trust the signer or not. - Alexey -- { http://trelony.cjb.net/ } Alexey N. Solofnenko { http://www.inventigo.com/ } Inventigo LLC Pleasant Hill, CA (GMT-8 usually) - Original Message - From: "Steve Loughran" <[EMAIL PROTECT

Re: Ant you have a greeting card from Daisy.

2002-11-08 Thread Steve Loughran
- Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 2:50 PM Subject: Re: Ant you have a greeting card from Daisy. > BTW: http://www.messagelabs.com/viruseye/report.asp?id=111 > oh, this page also impli

Re: Ant you have a greeting card from Daisy.

2002-11-08 Thread Steve Loughran
- Original Message - From: "Joey Gibson" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 12:48 PM Subject: Re: Ant you have a greeting card from Daisy. > On Fri, 8 Nov 2002 15:29:41 -0500 , "Riffe, Melvin" > <[EMAIL PROTECTED]> wrote: > > |||

RE: Making 20 ejb jars....

2002-11-08 Thread Narayanan, Gopalakrishnan
This seems to be a classpath problem. Try setting the required classes/libraries in classpath of ejb-jar. ejb-jar will find the deployment descriptors as long u give the root dir in descriptordir.The xml files must be named as BeanName-ejb-jar.xml. -Original Message- From: Ciramella, E.J.

RE: Making 20 ejb jars....

2002-11-08 Thread Ciramella, E.J.
Ok let me get this straight, this task won't find the ejb-jar.xml files if they are in source/com/company/product/ejb/package/metainf, but if all the xml files are named after the package, and all put together in one directory, this is supposed to work? I get "could not load for super class

Depend task 0 deletion does stop target execution

2002-11-08 Thread Sebastien BLANC
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 my project generating code and meta-data (xdoclet for instance) and I'd like these files not to be regenerated if they were already generated before [and if the source files

Re: Ant you have a greeting card from Daisy.

2002-11-08 Thread Joey Gibson
On Fri, 8 Nov 2002 15:29:41 -0500 , "Riffe, Melvin" <[EMAIL PROTECTED]> wrote: ||| How unfortunate if the person is /really/ from sitraka; they should know not ||| to post 'stuff' like this to mailing lists. She probably really *is* from Sitraka, but she didn't post it. One of the "features" of t

RE: Ant you have a greeting card from Daisy.

2002-11-08 Thread Riffe, Melvin
How unfortunate if the person is /really/ from sitraka; they should know not to post 'stuff' like this to mailing lists. Tsk, tsk. Mel Riffe -Original Message- From: Steve Loughran [mailto:steve_l@;iseran.com] Sent: Friday, November 08, 2002 3:27 PM To: Ant Users List Subject: Re: Ant y

Re: Ant you have a greeting card from Daisy.

2002-11-08 Thread Steve Loughran
- Original Message - From: "Daisy Guo" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 11:04 AM Subject: Ant you have a greeting card from Daisy. > Ant, > > Daisy has sent you a greeting card -- a postcard from Friend-Greetings.com. > You can

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

2002-11-08 Thread Steve Loughran
- Original Message - From: "Jeremy Mawson" <[EMAIL PROTECTED]> To: "'Ant Users List'" <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 3:23 AM Subject: Optional Task JUnit - unable to instantiate DocumentBuilderFactoryImpl since upgrading to 1.5.1 > Greetings > > I have been successfu

RE: Manifest version handling with ANT

2002-11-08 Thread Dominique Devienne
Simply use one property per number with , incrementing any one of these independently as pleases you, and build the full version number by composing the other numbers. Or did I miss something? --DD -Original Message- From: Christian Holmqvist, IT, Posten [mailto:christian.holmqvist@;posten

smart jarlib-manifest ?

2002-11-08 Thread Sebastien BLANC
Hello ! I'd like to know if the jarlib-manifest target is enough smart to use javac or java parsing (xdoclet/xtags like) to generate the depencies by itself or if they still have to be written by hand ? for instance the 'imports' information is in the java src or the generated class (with reflectio

RE: Coverting package name to directory

2002-11-08 Thread Matt Benson
On the idea of writing a task to do translations on properties, I have some questions: why is not available outside a target? why isn't a replaceregexp FilterReader included with Ant? If there is no good reason for either of these things, wouldn't it accomplish our purpose and more for the ta

Re: Multiple selectors in a fileset

2002-11-08 Thread Bruce Atherton
At 08:53 AM 11/8/2002 +0100, Stefan Bodewig wrote: On Thu, 07 Nov 2002, Bruce Atherton <[EMAIL PROTECTED]> wrote: > BTW, this also shows a bug in the error message - is the > wrong tag name. I'll fix this in any case. Fixed in CVS HEAD three weeks ago ;-) Gee, Stefan, did you get your hands o

Ant you have a greeting card from Daisy.

2002-11-08 Thread Daisy Guo
Ant, Daisy has sent you a greeting card -- a postcard from Friend-Greetings.com. You can pickup your greeting card at Friend-Greetings.com by clicking on the link below. http://www.friend-greeting.com/203746/pickup.html?code=Ant&id=0811021 Message: ---

RE: OptimizeIt Code Coverage task in Ant?

2002-11-08 Thread Fenlason, Josh
I haven't done it before but here's the documentation on how to write your own task. http://jakarta.apache.org/ant/manual/index.html Click on Developing with Ant and there will be a link to Writing Your Own Task. Good luck. -- To unsubscribe, e-mail:

RE: OptimizeIt Code Coverage task in Ant?

2002-11-08 Thread Smiley, Paul
Has anyone here done this before? Thanks, Paul -Original Message- From: Smiley, Paul Sent: Wednesday, November 06, 2002 4:00 PM To: Ant (E-mail) Subject: OptimizeIt Code Coverage task in Ant? Does anyone know of an Ant task defined for OptimizeIt? I'm having no luck finding reference to

Re: Apply/Exec

2002-11-08 Thread Kendall Collett
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. That way, if you had a large number of files, you could pick some large number that *usually* wo

Re: exec task

2002-11-08 Thread Anakreon Mejdi
You should pass the params to bash or your favorite shell instead of echo. Buonassisi, Vincent [Contractor] wrote: Hi, I am trying to get the exec task to create the command echo ESS.5.4.03 | sed '...' and execute it. Instead, it looks like the exec task is creating

exec task

2002-11-08 Thread Buonassisi, Vincent [Contractor]
Hi, I am trying to get the exec task to create the command echo ESS.5.4.03 | sed '...' and execute it. Instead, it looks like the exec task is creating the command echo "ESS.5.4.03 | sed '...'" and so what happens is that the shell command echo just prints what is in between the double quotes.

Re: failonerror="false" on serverdeploy

2002-11-08 Thread Kyle Adams
Just caught this e-mail, my apologies. There has been some discussion on this in the Ant developer list. I've got a failonerror="false" attribute working for serverdeploy locally, and (assuming no one else has addressed it already), I'll be submitting that patch next week. So the problem is bein

RE: Checking the java version

2002-11-08 Thread Xavier Loiseau
Hi Keith, The java 1.3 and java 1.4 versions are installed in my computer. I have checked that the java version to be called is correct (still 1.3 in my example) even if there is a fork to another JVM. Thank you for your last answer. Xav --- Keith Hatton <[EMAIL PROTECTED]> a écrit : > No

Re: Apply/Exec

2002-11-08 Thread Stefan Bodewig
On Fri, 08 Nov 2002, Anakreon Mejdi <[EMAIL PROTECTED]> wrote: > tar is just an example, but what I mean is that if by splitting the > parameters it wouldn't work, if parallel is false it won't work > either. Absolutely true. My point was that Ant might be able to detect the command line was get

Re: Apply/Exec

2002-11-08 Thread Anakreon Mejdi
Stefan Bodewig wrote: On Fri, 08 Nov 2002, Anakreon Mejdi <[EMAIL PROTECTED]> wrote: I think it could handle it. apply knows in which OS is running and from a configuration (stored in ant.jar) could know how many parameters the OS can receive. Not really. It is the total lenght, not the

Re: Apply/Exec

2002-11-08 Thread Stefan Bodewig
On Fri, 08 Nov 2002, Anakreon Mejdi <[EMAIL PROTECTED]> wrote: > I think it could handle it. apply knows in which OS is running and > from a configuration (stored in ant.jar) could know how many > parameters the OS can receive. Not really. It is the total lenght, not the number of arguments tha

Re: Apply/Exec

2002-11-08 Thread Anakreon Mejdi
I think it could handle it. apply knows in which OS is running and from a configuration (stored in ant.jar) could know how many parameters the OS can receive. For example lets say that an OS can take 10 params and 3 are passed as from the apply taks. So we have 7 params which can use. From the f

Re: Apply/Exec

2002-11-08 Thread Stefan Bodewig
On Fri, 08 Nov 2002, Anakreon Mejdi <[EMAIL PROTECTED]> wrote: > It seems that apply does not take under consideration the > limitations the OS implies on the number of parameters a program can > receive. This is true. And I don't see how it could handle this situation automagically and correctl

RE: Convert solaris-Makefiles to Ant-Format

2002-11-08 Thread Elankath, Tarun (Cognizant)
Hi, See the FAQ about the DTD: http://jakarta.apache.org/ant/faq.html#dtd I don't think there is a tool available for converting Makefiles to Ant files. If the Makefiles are huge, why don't you try installing cygwin on windows and using gnu make ? Cheers, Tarun -Original Message- From:

Apply/Exec

2002-11-08 Thread Anakreon Mejdi
It seems that apply does not take under consideration the limitations the OS implies on the number of parameters a program can receive. I discovered this when called tidy.exe (on Windows 2000) when the the files which will tide up are more then 13000. If parallel attribute is set to true apply

Re: Checking the java version

2002-11-08 Thread Stefan Bodewig
On Fri, 8 Nov 2002, Ilja Preu <[EMAIL PROTECTED]> wrote: > I am using ${java.specification.version} instead of > ${ant.java.version} - I don't know wether this makes a difference, > though. Yes, it does. ${java.specification.version} is a system property JVM implementors can (must?) implement, b

RE: Inherit / Override properties in a sub-project

2002-11-08 Thread Elankath, Tarun (Cognizant)
Not sure what's the complication. Simply use the Ant task to run the build-file of the sub-project. -Original Message- From: PREMKUMAR, N [AG/8042] [mailto:n.premkumar@;monsanto.com] Sent: Friday, November 08, 2002 7:00 PM To: '[EMAIL PROTECTED]' Subject: Inherit / Override properties in

RE: Checking the java version

2002-11-08 Thread Elankath, Tarun (Cognizant)
Looks fine to me :-) -Original Message- From: Xavier Loiseau [mailto:xloiseau@;yahoo.fr] Sent: Friday, November 08, 2002 7:11 PM To: [EMAIL PROTECTED] Subject: Checking the java version Hi, What is the simplest way of checking the java version before running an application ? What is

RE: Checking the java version

2002-11-08 Thread Keith Hatton
Not sure you can rely on this if you are forking to another JVM in your task. Could you parse the output of java -version in this case ? -Original Message- From: Ilja Preuß [mailto:preuss@;disy.net] Sent: 08 November 2002 14:00 To: Ant Users List Subject: Re: Checking the java version

Re: Checking the java version

2002-11-08 Thread Ilja Preuß
Looks OK to me. I am using ${java.specification.version} instead of ${ant.java.version} - I don't know wether this makes a difference, though. Regards, Ilja - Original Message - From: "Xavier Loiseau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 2:41 PM S

jspc problems again

2002-11-08 Thread Jon Schewe
Well last time jspc was giving me return code 9 it was that I had JAVA_HOME screwed up. This time I've got JAVA_HOME consistent between windows and cygwin. Now when I call jspc from windows or cygwin I get return code 9. I'm using JDK 1.4.1_01 and I've tried both Tomcat 4.0.4 and 4.1.12. Any id

Checking the java version

2002-11-08 Thread Xavier Loiseau
Hi, What is the simplest way of checking the java version before running an application ? What is the simplest way of checking the java version before compiling an application ? This is an important issue since several java versions are often installed in a same computer. I have tried to solve

Inherit / Override properties in a sub-project

2002-11-08 Thread PREMKUMAR, N [AG/8042]
Hi all: How do I inherit and/or override properties in a sub-project ? Say .. a company has defined standards like... 1. All the projects code will be under : /usr/projects/ e.g: /usr/projects/MyProj1 /usr/projects/MyProj2 etc ... 2.All projects need to share a

Re: Using Java 1.4 with Ant

2002-11-08 Thread Stefan Bodewig
On Fri, 8 Nov 2002, Pito Salas <[EMAIL PROTECTED]> wrote: > If I set build.compiler to modern or javac1.4 it still always picks > Javac 1.3. Note that I have both 1.3 and 1.4 on my path. Does it > simply pick the first one it sees? The first one from your CLASSPATH, yes - unless you set fork to t

Using Java 1.4 with Ant

2002-11-08 Thread Pito Salas
I am having trouble convincing Ant to use Java 1.4 as the compiler for javac tasks. If I set build.compiler to modern or javac1.4 it still always picks Javac 1.3. Note that I have both 1.3 and 1.4 on my path. Does it simply pick the first one it sees? Also note that I'm running under Jbuilder 7, w

SV: Manifest version handling with ANT

2002-11-08 Thread Christian Holmqvist, IT, Posten
Sure I guess I could. But then I had to build a script, make it work on all platforms and so on. I guess it would be easier to just enhance the optional task 'buildnumber' if I have to develop it... I was just kind of hoping that someone else already hade done it *smil* Thank you for your tip Keit

RE: Manifest version handling with ANT

2002-11-08 Thread Keith Hatton
Could you use a

SV: Manifest version handling with ANT

2002-11-08 Thread Christian Holmqvist, IT, Posten
Yes the propertyFile task helps me to retrive the current version and I can set a new one. The problem is to increase the correct part of the version number. But thank you for your help! /Christian > -Ursprungligt meddelande- > Från: [EMAIL PROTECTED] [mailto:detlef.brendle@;canoo.com] >

Re: Manifest version handling with ANT

2002-11-08 Thread detlef . brendle
I think the optional task 'propertyFile' should help you with that. detlef Zitiere "Christian Holmqvist, IT, Posten" <[EMAIL PROTECTED]>: > Hi > > Is there a way (without having to implement my own targets) to handling > this > scenario > > The version is of the typ .. all numbers. > > 1. Ret

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

2002-11-08 Thread Jeremy Mawson
Greetings I have been successfully using the Ant optional junit task in my builds for some time now. Recently we upgraded Ant to version 1.5.1 and suddenly junit is no longer able to provide XML formatted test results. I've spent around 6 hours RTM'ing, STW'ing, sourcecode-reading and head-scratch

Manifest version handling with ANT

2002-11-08 Thread Christian Holmqvist, IT, Posten
Hi Is there a way (without having to implement my own targets) to handling this scenario The version is of the typ .. all numbers. 1. Retrive the version number from a manifest file (i.e. the normal version property) 2. calculate the next version number (i.e. be able to choose to step either one

Re: Multiple selectors in a fileset

2002-11-08 Thread Stefan Bodewig
On 08 Nov 2002, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > Fixed in CVS HEAD three weeks ago ;-) and in the 1.5 branch five minutes ago. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: