Re:

2002-06-03 Thread Stefan Bodewig
On Thu, 30 May 2002, Dominique Devienne <[EMAIL PROTECTED]> wrote: > Why was in 1.4.1 changed to destfile=" acme.jar" /> in 1.5? Yes. > I though Ant was big in backward compatibility? We try. > Shouldn't the 'jarfile' attribute have been deprecated only? It is deprecated only (and we don't

AW: chmod on windows

2002-06-03 Thread Sebastien Diot
Hi ! I'm afraid that there isn't such a thing as an "executable attribute" under Windows. What is executable is defined by it's extention. From the command line, I think you can only run .COM, .EXE, .BAT and .CMD (not sure). From the GUI you might "run" anything for which there is a regist

Re: Permissions problems - ant not running as me?

2002-06-03 Thread Stefan Bodewig
On Wed, 29 May 2002, Chris Bailey <[EMAIL PROTECTED]> wrote: > I should note that if I put this same command into a shell script > and run that via the apply (passing in all the params), that it > works fine. Odd. Can you set 's vmlauncher attribute to false on your original build file and see

Re: in 1.5 beta1

2002-06-03 Thread Stefan Bodewig
On Wed, 29 May 2002, Alex Khesin <[EMAIL PROTECTED]> wrote: > I am trying to use to generate documentation for a small > portion of my java source tree - using fileset nested parameter. > The problem I keep running into is that "Ant will automatically add > the include pattern **/*.java to these

AW: ANT 1.5Beta2 and Xerces 3.0.1

2002-06-03 Thread Koegel, Michael
Good Morning, (at least on my side of the globe ;-) ) tricked me. This is indeed IBMs XML4J Version 3.0.1 based on Xerces 1.0.3. They really shouldn't name the jar xerces.jar and include Xerces_Ver_3_0_1.info. I got to use this version because the WebSphere deploymenttools that I use in

Re: Help needed with FileSet

2002-06-03 Thread Maarten Coene
>I can't see that you're doing anything wrong, since I ran what you posted, >and it worked fine for me -- the .java files that I created a >corresponding .form file for don't show up in the fileset. Hi Diane, Thanks a lot for your time :-) I tried it again with a simple example (all files in t

chmod on windows

2002-06-03 Thread Rum Pel
I thought all tasks are platform independant, but chmod seems to work only on unix. Whats the equivalent of chmod task on windows? Also, is it possible to execute tasks based on conditions? If os.family is unix then chmod o-w file else if os.family is windows then execute attrib -R file end

Re: printing classpath

2002-06-03 Thread Conor MacNeill
Rum Pel wrote: > > > > > > > Now how do I echo my.classpath? ${my.classpath} didnt work. > This is becoming a FAQ Then use ${my.classpath.string} Conor -- To unsubscribe, e-mail: For additional commands, e-mail:

printing classpath

2002-06-03 Thread Rum Pel
Now how do I echo my.classpath? ${my.classpath} didnt work. --rp -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: MailLogger and Sound

2002-06-03 Thread Erik Hatcher
Very cool! Myrmidon (and Mutant) are on my list of things to research once Ant 1.5 goes final. - Original Message - From: "Adam Murdoch" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 9:20 PM Subject: Re: MailLogger and Sound On Tue, 4 Jun 200

Re: MailLogger and Sound

2002-06-03 Thread Adam Murdoch
On Tue, 4 Jun 2002 09:25, Erik Hatcher wrote: > That wouldn't really work. I mean, it *would* work, but you'd end up > having to override every method and defeat the purpose of subclassing. > NoBannerLogger is at the same inheritance level as DefaultLogger. > > Having a better thought out design

RE: Replace Task "propertyFile" syntax

2002-06-03 Thread Diane Holt
--- Max Clark <[EMAIL PROTECTED]> wrote: > So are the files mutually exclusive? If you have a: foo=bar in your properties file, and a: foo=foobar in your 'replacefilterfile', then the word "foo" will be replaced with the word "foobar". For why, read on... > It seems that I could accomplish e

Re: MailLogger and Sound

2002-06-03 Thread Erik Hatcher
> That wouldn't really work. I mean, it *would* work, but you'd end up having > to override every method and defeat the purpose of subclassing. > NoBannerLogger is at the same inheritance level as DefaultLogger. Typo NoBannerLogger and MailLogger are both subclasses of DefaultLogger. -- To

Re: MailLogger and Sound

2002-06-03 Thread Erik Hatcher
That wouldn't really work. I mean, it *would* work, but you'd end up having to override every method and defeat the purpose of subclassing. NoBannerLogger is at the same inheritance level as DefaultLogger. Having a better thought out design that allows filtering chains would be better than tryin

RE: Replace Task "propertyFile" syntax

2002-06-03 Thread Max Clark
So are the files mutually exclusive? It seems that I could accomplish everything that I need using the "replacefilterfile". Where would a user want to use one vs. the other? Thanks, Max -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 3:11 PM To:

Re: Help needed with FileSet

2002-06-03 Thread Maarten Coene
--- Diane Holt wrote: > If you're already running Ant1.5Beta{1,2}, see the new Selectors stuff Hi, thanks for the tip :-) But I can't get it to work with the Ant Selectors. The following "code" doesn't seem to work: It still selects all the files :-( W

Re: Replace Task "propertyFile" syntax

2002-06-03 Thread Diane Holt
--- Max Clark <[EMAIL PROTECTED]> wrote: > Could anyone forward me an example "replacefilterfile" and > "propertyFile" with the proper syntax for the files. $ cat replaceme.txt This foo is totally baz. $ cat foo.properties foo=bar $ cat repl.properties baz=blat $ ant r ..

Re: Help needed with FileSet

2002-06-03 Thread Diane Holt
--- Maarten Coene <[EMAIL PROTECTED]> wrote: > Hi, thanks for the tip :-) > But I can't get it to work with the Ant Selectors. The following "code" > doesn't seem to work: > [snip] > It still selects all the files :-( What am I doing wrong here ? I can't see that you're doing anything wrong, sinc

Replace Task "propertyFile" syntax

2002-06-03 Thread Max Clark
Hi, I am trying to configure a build file to replace tokens within subdirectories to manage software builds for different environments. I have the replace task working correctly if I specify all of the tokens and values in the build.xml file. I would like to use the "replacefilterfile" and "prop

Re: MailLogger and Sound

2002-06-03 Thread Gordon Tyler
Perhaps a list of Loggers and each Logger optionally filters the stuff it gets and passes it onto the next Logger in the list? - Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 5:22 PM Subject: Re: MailLogger a

Re: MailLogger and Sound

2002-06-03 Thread Diane Holt
--- Erik Hatcher <[EMAIL PROTECTED]> wrote: > Yeah, I knew I was going down a hazardous road when I built the > MailLogger on top of the DefaultLogger. Could you have a NoBannerLogger that extends MailLogger (which extends DefaultLogger)? (Or is that over-extending things? :) Diane = ([EMA

Re: MailLogger and Sound

2002-06-03 Thread Erik Hatcher
Yeah, I knew I was going down a hazardous road when I built the MailLogger on top of the DefaultLogger. I refactored the DefaultLogger to allow subclasses to capture the output while it is being output to the console, that is why you get your cake (console) and can eat it too (sends the e-mail).

Re: MailLogger and Sound

2002-06-03 Thread Scott Ellsworth
On Monday, June 3, 2002, at 11:25 AM, Erik Hatcher wrote: > ant -logger org.apache.tools.ant.listener.MailLogger fail Thanks, Erik! This was exactly what one of my clients asked for recently, and I thought it would be much, much harder. Is there any way to chain loggers together in 1.5

RE: MailLogger and Sound

2002-06-03 Thread ajack
You can set them in your build file. This is exactly what my example demonstrated (via ). Also keep in mind you can load an entire properties file at the command line too (-propertyfile). So it all works as it should, from all I can tell. Feel free to provide an

RE: If statement

2002-06-03 Thread Robert Priest
Thanks. That works. -Original Message- From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 3:27 PM To: 'Ant Users List' Subject: RE: If statement I don't know if it's changed in 1.5 but I use with if to do what you are asking: So this sets the run.

RE: If statement

2002-06-03 Thread Anthony Rodriguez
I don't know if it's changed in 1.5 but I use with if to do what you are asking: So this sets the run.exec property to true. You have to remember that in Ant, if only checks to see if a property exists (is set) or does not exist (is not set). Then you would do this: Hope

If statement

2002-06-03 Thread Robert Priest
Can anyone tell me how to write an if statement in Ant? What task should I read up on? Basically I need an "if" that does the following: if Property1 is true and Property2 is true begin run somefile.exe (using task) end I was looking at the condition task, but from what I see it on

Re: MailLogger and Sound

2002-06-03 Thread Erik Hatcher
- Original Message - From: "ajack" <[EMAIL PROTECTED]> > The only thing that I'd prefer to see (assuming this isn't user error also) > is that I could set the properties (at least as defaults) in my build file. > It'd seem nice to be able to register a MailLogger on a build w/o having to

RE: MailLogger and Sound

2002-06-03 Thread ajack
Thanks for your reply, you helped me find one mistake. I tried: 1) First, to insert these into my build file but I was told I was missing a MailLogger.from. Note: The 'odd' only thing

Re: MailLogger and Sound

2002-06-03 Thread Erik Hatcher
Re: MailLogger I have a sample build file: And ran it this way: ant -logger org.apache.tools.ant.listener.MailLogger fail maillogger.properties is: MailLogger.from = [EMAIL PROTECTED] MailLogger.failure.to = [EMAIL PROTECTED] MailLogger.mailhost = localhost MailLogge

RE: MailLogger and Sound

2002-06-03 Thread ajack
Hmm... It took me a day to get onto this mailing list (subscriptions delays) and today when I try this, it works. I removed the taskdef (per Diane, thanks Diane) and this works.

Re: MailLogger and Sound

2002-06-03 Thread Diane Holt
Running late, so I can't look at your first question, but the second one is quick -- you don't need to it, since it should already be. Try this little build file: (Move a couple of sound files into that dir structure, or change the dir to where your sound files

MailLogger and Sound

2002-06-03 Thread ajack
FWIIW I am using Ant 1.5 beta 2 (although I've never tested these things on older Ants, so am not saying this is a beta2 bug, it could easily be user/environment error.) MailLogger: I do not seem able to set the properties required for MailLogger from inside the build file [with the properties t

RE: XSLT issue with sending a parameter through javascript....

2002-06-03 Thread Brown, Michael
Your suggestion does work. It must be a xalan specific issue. It took way too long to figure out. I was blanking out while trying to get other tasks accomplished. Thanks again for your help. Mike B. -Original Message- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03,

RE: XSLT issue with sending a parameter through javascript....

2002-06-03 Thread Diane Holt
--- "Brown, Michael" <[EMAIL PROTECTED]> wrote: > No. This doesn't work. It gives me a value but it doesn't have the > single quotes around it. Well, I don't know about whether the single quotes are actually needed or not (they're not for me, but I'm not setting 'processor' to "xalan"), but to

RE: XSLT issue with sending a parameter through javascript....

2002-06-03 Thread Brown, Michael
pstyleparm.setExpression(InitRetrieval.getProperty("jde.osrunning")); or something similar. No. This doesn't work. It gives me a value but it doesn't have the single quotes around it. The Xalan must need this parm to have single quotes around it for some reason. Do you know how to get this to

About and build.sysclasspath

2002-06-03 Thread Dominique Devienne
1) It seems that is not referenced in the 'Core Types' sub-sections of the 'Concept and Types' section. You can find out about thru the 'Path-like structure' sub-section of 'Using ANT' only. is a type, isn't it? correctly x-referenced to 'path-like structure' though ;-) 2) Also, I discovered

Re: CVS failed but Ant successful

2002-06-03 Thread Diane Holt
--- Eugene Voytitsky <[EMAIL PROTECTED]> wrote: > Is it bug or what? See the 'failonerror' attribute (notably, the default value). Diane = ([EMAIL PROTECTED]) __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifawo

RE: Entire source compiling EVERY time

2002-06-03 Thread Robert Priest
Thanks Jon and Dominique. I've got it now - srcdir has to point to the root of package tree. Jon did point that out in his message. Didn't catch that the first time. Thanks for your patience :) -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31

RE: ANT 1.5Beta2 and Xerces 3.0.1

2002-06-03 Thread GOMEZ Henri
It may be instead IBM XML4J ? - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-Original Message- >From: Conor MacNeill [mailto:[E

Re: Help needed with FileSet

2002-06-03 Thread Diane Holt
--- Maarten Coene <[EMAIL PROTECTED]> wrote: > I want to create a FileSet containing all .java files which don't have > a corresponding .form file. If you're already running Ant1.5Beta{1,2}, see the new Selectors stuff (under Concepts and Types). If you're not yet running 1.5, maybe that will enc

ant-user@jakarta.apache.org

2002-06-03 Thread Eugene Voytitsky
Hello All, Nested element is used by , , etc... Value of 's attribute 'name' formally defined as pattern actually may be one of the following: *pattern describing set of files (will call this set as 'result-set') (attribute's value contains at least one wild-card char) Result-set may be empty

Re: and selectors

2002-06-03 Thread Stefan Moebius
Sorry for the spam. Everything working fine... --- Stefan Moebius <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to do an incremental backup of some source codes using the > task. Unfortunately, does not support the use of > selectors (like ) and does not accept normal s. > Does anyone have

and selectors

2002-06-03 Thread Stefan Moebius
Hi, I'm trying to do an incremental backup of some source codes using the task. Unfortunately, does not support the use of selectors (like ) and does not accept normal s. Does anyone have a tip how to get around this? I'm using ant 1.5beta2 Thanks, Stefan = Stefan Moebius <[EMAIL

ant-user@jakarta.apache.org

2002-06-03 Thread Eugene Voytitsky
Hello All, Consider example: ... How to compress all matched files with task to the top of the ZIP file in case when these matched files placed in different subdirs of ? Something like . What about new attribute "trimpaths" (on/off) for ? (Together with "prefix" they will be v

Re: ANT 1.5Beta2 and Xerces 3.0.1

2002-06-03 Thread Conor MacNeill
Koegel, Michael wrote: > Hi all, > > I try to run the Beta2 on z/OS with the Xerces 3.0.1 Parser and get the > following error: > Michael, you may need to tell us what Xerces 3.0.1 is. I can't see it here http://xml.apache.org/dist/xerces-j/ Conor -- To unsubscribe, e-mail:

Re: Use of MailLogger

2002-06-03 Thread Erik Hatcher
Currently no, but that is a good feature request! For the time being you could copy MailLogger (or subclass) and tweak the buildFinished code to do what you want. If you'd like this change made in the 1.6 timeframe, add a feature request to Bugzilla. Erik - Original Message - From

ANT 1.5Beta2 and Xerces 3.0.1

2002-06-03 Thread Koegel, Michael
Hi all, I try to run the Beta2 on z/OS with the Xerces 3.0.1 Parser and get the following error: $ ant -v -f rex_build.xml Apache Ant version 1.5Beta2 compiled on May 31 2002 Buildfile: rex_build.xml Detected Java version: 1.3 in: /usr/lpp/java/IBM/J1.3 Detected OS: z/OS BUILD FAILED XML

tarfileset and selectors

2002-06-03 Thread Stefan Moebius
Hi, For an incremental backup I wanted to use and constrain the list of files to those changed since the last backup. Unfortunately does not support nested selectors like . Does anyone know how to work around this? Is this feature in the works? I'm using Ant 1.5b2. Thanks, Stefan = Stefa

Re: build.xml changes

2002-06-03 Thread Conor MacNeill
C Santosh Kumar wrote: > How do I make ant compile my programs again > whenever I make changes in my build.xml? > I have replaced certain libraries and want to recompile > the source. > There are two approaches here (probably more) 1. Provide a clean target which removes all classfiles. If you

Re: build.xml changes

2002-06-03 Thread Conor MacNeill
sudipto chattopadhyay wrote: > > hi, > i have same problem ... but an additional one is that my source is build > everytime whether it is changed or not ... can u give me idea to stop > recompiling Check the FAQ. Conor -- To unsubscribe, e-mail: For additi

Help needed with FileSet

2002-06-03 Thread Maarten Coene
Hi, I want to create a FileSet containing all .java files which don't have a corresponding .form file. For example, suppose I have the following files: MyClass1.java MyClass2.java MyClass2.form MyClass3.java MyClass4.java MyClass4.form I want a fileset that only contains MyClass1.java and MyCl

CVS failed but Ant successful

2002-06-03 Thread Eugene Voytitsky
Hello All, Is it bug or what? How to reproduce: I tried to exec 'cvs status' on set of files and included in this set file(s) which wasn't in CVS repository. === Ant output === Execute:Java13CommandLauncher: Executing 'cvs' with arguments: 'status' ... skipped ... The ' characters around the e

Antwort: Off Topic : WSAD and ANT 1.5 (I'd settle for 1.4.1)

2002-06-03 Thread Anton_Grimm
I've been two weeks of ... Do you still need any help setting up ant 1.4.1 in wsad 4.02? Let me know ... Toni MAN Nutzfahrzeuge AG Anton Grimm Abt. IDP (SoftwareProduktionsumgebungen) Dachauerstr.667 80995 München Tel.: 089/1580-1054 F

Re: build.xml changes

2002-06-03 Thread David . Bailey
Presumably, you have a 'clean' target in your build file for destroying existing class files. If not, you should add one, as it is exactly the thing you need in this situation. Either way, if you delete all of your class files, then ANT will rebuild all of the classes from scratch. --dave

RE: Use of MailLogger

2002-06-03 Thread Ed Mangual (S1 Charlotte)
Erik, I got it and it works. Is there a way to not have the output of the log file included in the notification if the build succeeded? -Original Message- From: Ed Mangual (S1 Charlotte) Sent: Monday, June 03, 2002 5:41 AM To: 'Ant Users List' Subject: RE: Use of MailLogger Thanks Erik

Re: build.xml changes

2002-06-03 Thread sudipto chattopadhyay
hi, i have same problem ... but an additional one is that my source is build everytime whether it is changed or not ... can u give me idea to stop recompiling >From: "C Santosh Kumar" <[EMAIL PROTECTED]> >Reply-To: "Ant Users List" <[EMAIL PROTECTED]> >To: "Ant Users List" <[EMAIL PROTECT

RE: Use of MailLogger

2002-06-03 Thread Ed Mangual (S1 Charlotte)
Thanks Erik, I knew that you pass "ant -logger org.apache.tools.ant.listener.MailLogger" on the command line but my confusion is on where to configure properties like MailLogger.mailhost. I assume that it can be done in the build.xml as follows: -Original Message- From: Erik Hatcher [ma

build.xml changes

2002-06-03 Thread C Santosh Kumar
How do I make ant compile my programs again whenever I make changes in my build.xml? I have replaced certain libraries and want to recompile the source. -- To unsubscribe, e-mail: For additional commands, e-mail:

Feature-Request: style/xslt-task should support nested mapper element

2002-06-03 Thread Christian Wolfgang Hujer
Hello dear ant users, I have a feature request. The style/xslt-task should support a nested mapper element, like this: What do you think? Have a nice week. -- Christian Wolfgang Huje

Problems with package.html

2002-06-03 Thread Carsten Zerbst
Hello Listusers, I have a problem with the javadoc target and the package.html file. I have a toplevel ant file which creates javadoc for all our packages and includes the package.html files even snipp-- many more