Re: build war file using ant

2001-09-01 Thread Gary Keim
Sounds to me like he doesn't know how to wrap that fragment in a target and then how to invoke that target. If that's true, RTM, my dear distant colleague. Clue: wrap a around that fragment, place it in a file named build.xml and invoke ant like: % ant build-war - Original Message - F

Re: nested targets and calling a target from a command line?

2001-09-01 Thread Sánchez
Sorry Nico... I wanted to have targets within targets coz I want some order in the things I'm doing, not for me, for the people who is going to receive the xmls, is a way to make them undestand how the xml is builded. They don't know xml and Ant, neither do I (at the begining), but other p

Re: No JAXP compliant XML parser found

2001-09-01 Thread null device
resolved as follows: 1. add -verbose flag to last line of ant script ($JAVACMD -verbose . . . ) 2. this reveals that missing classes aren't xml classes at all; they're jakarta oro classes. 3. ant optional.jar includes classes that depend upon jakarta oro package. 4. download from http://jakarta.

Re: Extracting Version

2001-09-01 Thread Erik Hatcher
Ironically I just a second ago provided an example of this very thing on a related topic. Look back at the message with the subject "wildcards in replace task". Our build process involves using the task to build a property file at run-time with all of the build details, and the build version

Re: wild cards in replace task

2001-09-01 Thread Erik Hatcher
I'm not sure if the optional task would work for you or not, but it seems the closest match to what you describe.Here is an example: While I am creating a file from scratch, the task itself is capable of editing the f

Re: can't find xml classes

2001-09-01 Thread null device
resolved as follows: 1. add -verbose flag to last line of ant bash script ($JAVACMD -verbose . . . ). 2. this reveals that that missing classes aren't xml classes at all. rather, the missing classes are jakarta oro classes. 3. specifically, ant's optional.jar includes classes that depend upon ja

Re: Stripping off part of directory structure

2001-09-01 Thread Erik Hatcher
Give the "regexp" mapper a try, documented at: http://jakarta.apache.org/ant/manual/CoreTypes/mapper.html - Original Message - From: "Cornellious Mann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 1:46 PM Subject: Stripping off part of directory struct

can't find xml classes

2001-09-01 Thread null device
hi. i've been struggling with this for days now & i would very much appreciate any suggestions. i'm running ant 1.4 beta 2 with jdk1.3.0 on linux mandrake 7.2. no matter how i set classpath (xerces.jar in, xerces.jar out, jaxp.jar in, jaxp.jar + crimson.jar out, &c, &c), i get the same errors

Re: nested targets and calling a target from a command line?

2001-09-01 Thread Nico Seessle
- Original Message - From: "Edgar Sánchez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 01, 2001 1:30 AM Subject: Re: nested targets and calling a target from a command line? > > [ Targets nested inside another Target not possible] > > > > > Uhh thats bad :-) >

Re: build war file using ant

2001-09-01 Thread Nico Seessle
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 01, 2001 1:32 AM Subject: build war file using ant > hi all, > > i am using this .xml file to build an war file > > what is the ant command that i should use to build a .war file ? > Ok, you