Re: Can you control order of fileset's?

2003-01-31 Thread Conor MacNeill
David Clements wrote: I am using the foreach task from the ant-contrib project and am using a fileset for the looping variable. Is there a way to control the order of the items in the file set? It looks like it defaults to hierarchical then alphabetical. I would like to be able to specify the

Can you control order of fileset's?

2003-01-31 Thread David Clements
I am using the foreach task from the ant-contrib project and am using a fileset for the looping variable. Is there a way to control the order of the items in the file set? It looks like it defaults to hierarchical then alphabetical. I would like to be able to specify the order. David Clemen

Re: ANT output to file

2003-01-31 Thread Steve Loughran
- Original Message - From: <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Friday, January 31, 2003 13:05 Subject: RE: ANT output to file > > > When I try to use this it told me that I can only have 1 logger and I need > the ansi color logger. I just want to pipe that

RE: ANT output to file

2003-01-31 Thread Nathan . Tran
ant -logfile build.log -nathan -Original Message- From: David McTavish [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 1:10 PM To: 'Ant Users List' Subject: RE: ANT output to file ant build > file.log ant mail.log ??? -Original Message- From: [EMAIL PROTECTED] [ma

RE: ChainableReader behavior

2003-01-31 Thread didge
Magesh, Can you explain when chain() would be called for a ChainableReader? At least in my implementation, it never seems to get called... thanks! didge > -Original Message- > From: Magesh Umasankar [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 11:51 AM > To: Ant Users Li

RE: ChainableReader behavior

2003-01-31 Thread didge
My guess is that the filterchain implementation was meant to be faithful to how unix pipes work. The bottom line is that the current implementation makes it difficult to pass state between filterchains. In the interim, I can more quickly support this very desirable behavior in vpp by allowing the

RE: MergeProperties Task

2003-01-31 Thread David Clements
I wonder if you did a if you would get the effect that you want. Final.properties would then equal b=4 c=9 a=1 b=2 When read in, I am guessing, b=4 would overidw b=2. Dave > -Original Message- > From: David McTavish [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 1:50 PM

RE: Help with Replace regexp with ant 1.5

2003-01-31 Thread Bin Chen
The regexpreplace task took the "\\" and returned with nothing. It also happened to $ and other meta charactors. It seems to me that doubling up the meta charactors does not really work as it did in Java code. Is this a bug or I simply missed something completely? Thank you very much!! Bin -

RE: ANT output to file

2003-01-31 Thread David McTavish
ant build > file.log ant mail.log ??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 4:05 PM To: Ant Users List Subject: RE: ANT output to file When I try to use this it told me that I can only have 1 logger and I need the ansi co

RE: ANT output to file

2003-01-31 Thread Michael . Medwith
When I try to use this it told me that I can only have 1 logger and I need the ansi color logger. I just want to pipe that one out to a file thats it. If I use maillogger I will lose ansicolor logger. Michael Medwith Flagstar Bank Wholesale Web Development Team |-+---

RE: ANT output to file

2003-01-31 Thread Dominique Devienne
MailLogger... --DD http://ant.apache.org/manual/listeners.html#MailLogger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:00 PM To: Ant Users List Subject: RE: ANT output to file I already use the color logger, i wanted to put th

RE: ANT output to file

2003-01-31 Thread Michael . Medwith
I already use the color logger, i wanted to put that into a file that I can send out. Michael Medwith Flagstar Bank Wholesale Web Development Team |-+> | | Dominique| | | Devienne | | | <[

RE: ANT output to file

2003-01-31 Thread Dominique Devienne
See the MailLogger in the doc. --DD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:49 PM To: [EMAIL PROTECTED] Subject: ANT output to file Is there a way to put the ant output on the screen to a file? I would like to email this to

ANT output to file

2003-01-31 Thread Michael . Medwith
Is there a way to put the ant output on the screen to a file? I would like to email this to ppl on success and failure. Michael Medwith Flagstar Bank Wholesale Web Development Team This e-mail may contain data that is confidential, proprietary or "non-public personal information", as that ter

MergeProperties Task

2003-01-31 Thread David McTavish
Not sure where to send this, but figure if I send it to the group, maybe it will be merged with the ant or ant-contrib offerings. I needed a task that would merge two property files such that the final file created would contain a super-set of all properties, but over-ride properties in the second

RE: Try - Catch

2003-01-31 Thread David McTavish
that's odd. binaries but no source. :( my bad. d. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:38 PM To: 'Ant Users List' Subject: RE: Try - Catch Nope! The tasks are not there (at least not try/catch), and there's no source in

RE: junit task newbie

2003-01-31 Thread McReynolds, David
that seems to have helped. thanks. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:17 PM To: 'Ant Users List' Subject: RE: junit task newbie Try forking your unit test. . Ant does it's best to simulate running the junit test as if

RE: Try - Catch

2003-01-31 Thread Dominique Devienne
Nope! The tasks are not there (at least not try/catch), and there's no source in Antelope_tasks_2.25.zip either. I must be in a parallel dimension ;-) --DD -Original Message- From: David McTavish [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:32 PM To: 'Ant Users List' Subjec

RE: Try - Catch

2003-01-31 Thread David McTavish
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/antelope/src/ise/antelope/ cvs of antelope tasks for those who prefer source files... d. -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 3:25 PM To: 'Ant Users List' Subject: RE: Try - Cat

RE: Try - Catch

2003-01-31 Thread David McTavish
download from: http://prdownloads.sourceforge.net/antelope/Antelope_2.25.jar?download you can find the main page at: http://sourceforge.net/projects/antelope documentation can be downloaded at: http://prdownloads.sourceforge.net/antelope/Antelope_tasks_2.25.zip?download Mind you the documentati

RE: Try - Catch

2003-01-31 Thread Michael . Medwith
OK sorry about that, source forge says its a UI / collection little much for what I wanted but this should rock, thanks. Michael Medwith Flagstar Bank Wholesale Web Development Team |-+> | | David McTavish | | |

RE: Try - Catch

2003-01-31 Thread Dominique Devienne
Just checked out (in the CVS sense) :pserver:[EMAIL PROTECTED]:/cvsroot/antelope And there's no ise.antelope.tasks package in the source code. Oh well. --DD -Original Message- From: David McTavish [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:19 PM To: 'Ant Users List' Sub

RE: Try - Catch

2003-01-31 Thread David McTavish
I'm not sure what you're talking about. All you have to do is drop the jar in your ant/lib folder and add the task using a tasdef. I'll even post it to make it easy for you: how do you use? d.

RE: junit task newbie

2003-01-31 Thread Dominique Devienne
Try forking your unit test. . Ant does it's best to simulate running the junit test as if they had been started from the command line (using the normal JDK system class loader), can only do so much, especially when it comes to XML parsers. Forking gives your tests a much cleaner classloader enviro

RE: Try - Catch

2003-01-31 Thread Michael . Medwith
yeah just looking for a target to add to ant in general, this looks a little complex and would break our setup. Michael Medwith Flagstar Bank Wholesale Web Development Team |-+> | | Dominique| | | Devienne

RE: junit task newbie

2003-01-31 Thread McReynolds, David
using 3.8.1. checked the excluded.properties. it is the same as the one from the faq. still no joy. -Original Message- From: Keith Hatton [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 12:27 PM To: Ant Users List Subject: RE: junit task newbie Try this http://junit.sourceforg

RE: Try - Catch

2003-01-31 Thread Dominique Devienne
Perhaps it's good bunch of tasks, but when I see Antelope's own Ant build file, with hard coded paths in properties, and which won't run out of the box without JEdit or Jikes or what else, I'm not too inclined to like the tool itself. This doesn't show proper usage of Ant in my book. --DD -Ori

Re: ChainableReader behavior

2003-01-31 Thread Magesh Umasankar
- Original Message - From: "didge" <[EMAIL PROTECTED]> > > From: Kief Morris [mailto:[EMAIL PROTECTED]] > > I'm trying to figure out the behavior of ChainableReader implementations > > under copy type tasks. In particular, it seems that the Reader has its > > initialize() method called fo

RE: Try - Catch

2003-01-31 Thread David McTavish
http://sourceforge.net/projects/antelope One of the BEST custom tasks I've seen for ant yet. try, catch, and finally, don't know how I lived without them. d. -Original Message- From: David Clements [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 2:46 PM To: 'Ant Users List' Sub

RE: jar update quesiton

2003-01-31 Thread Dominique Devienne
Well known bug, to be fixed for Ant 1.5.2 and 1.6. Ant BugZilla is littered with bug entries for the problem. Use a nightly build of CVS were it's supposed to be 99% fixed. --DD -Original Message- From: Mark Smith [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 1:21 PM To: [EMA

RE: Try - Catch

2003-01-31 Thread David Clements
You can get it on sourceforge in the ant-contrib project. I haven't used it though. Dave > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 12:36 PM > To: [EMAIL PROTECTED] > Subject: Try - Catch > > > > I caught some emails

RE: Try - Catch

2003-01-31 Thread Dominique Devienne
See about Ant-Contrib and/or Anteater in the related project and/or external tools pages on the Ant site. --DD -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 1:36 PM To: [EMAIL PROTECTED] Subject: Try - Catch I caught some emails ear

Try - Catch

2003-01-31 Thread Michael . Medwith
I caught some emails earlier this month on a try catch I was wondering how that is working? Where can I get it? Does anyone use this? Praise? Complaints? Michael Medwith Flagstar Bank Wholesale Web Development Team This e-mail may contain data that is confidential, proprietary or "non-public

RE: ChainableReader behavior

2003-01-31 Thread didge
> From: Kief Morris [mailto:[EMAIL PROTECTED]] > I'm trying to figure out the behavior of ChainableReader implementations > under copy type tasks. In particular, it seems that the Reader has its > initialize() method called for each file being copied, which is leading > to some deeper problems. Is

jar update quesiton

2003-01-31 Thread Mark Smith
Hi, I've been looking through this newsgroup and couldn't find someone that asked this particular question... How do I use the task to update a jar file when only a few files in it has been updated? For example, when doing daily development, I compile my entire codebase, then jar up a chunk of

RE: junit task newbie

2003-01-31 Thread Keith Hatton
Try this http://junit.sourceforge.net/doc/faq/faq.htm#running_9 Keith -Original Message- From: McReynolds, David [mailto:[EMAIL PROTECTED]] Sent: 31 January 2003 17:13 To: '[EMAIL PROTECTED]' Subject: junit task newbie okay, i have not idea whats going on here junit: [junit] Runni

Re: Urgent problem (Fixed)

2003-01-31 Thread Tony . Cavanagh
I download Java version: 1.4 when I ran the command java org.apache.tools.ant.Main -verbose -buildfile echo.xml instead of giving me the old error it dected the latest version of java this seems to have replaced the old error of No JAXP compliant XML parser found with a new error Ant version 1

junit task newbie

2003-01-31 Thread McReynolds, David
okay, i have not idea whats going on here junit: [junit] Running com.ge.ps.cosmos.alert.Test_AlertFactory BUILD FAILED java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Doc ument class at org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder

RE: PMD

2003-01-31 Thread Dominique Devienne
Here's how I've experimented with it, after dropping pmd-1.01.jar in my $ANT_HOME/lib. Works for me... --DD -Original Message- From: Ciramella, Edward [m

PMD

2003-01-31 Thread Ciramella, Edward
Has anyone here used pmd? It keeps blowing up on me saying: "net.sourceforge.pmd.PMDException: Error while parsing com/." But there isn't a decent error message.

Re: Urgent problem (Thanks for any Help)

2003-01-31 Thread Tony . Cavanagh
I created within my WebSphere project a simple echo.xml file I followed the instructions as laid down in the help Doc

Re: Urgent problem (Thanks for any Help)

2003-01-31 Thread Pascal_Rapicault
Looking at your previous post it seems that the ant task is not able to find the eclipse java compiler. One solution to make that run would be to start your ant script using the Ant runner provided with wsad. to do so: java -Djava.compiler=NONE -cp startup.jar org.eclipse.core.launcher

Re: Urgent problem (Thanks for any Help)

2003-01-31 Thread Pascal_Rapicault
Which scripts are you trying to run outside of websphere? [EMAIL PROTECTED] 01/31/2003 09:48 AM Please respond to "Ant Users List" To: "Ant Users List" <[EMAIL PROTECTED]> cc: Subject:Urgent problem (Thanks for any Help) Without going in

RE: properties, ant task and isset

2003-01-31 Thread David Clements
> -Original Message- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 3:42 AM > To: [EMAIL PROTECTED] > Subject: Re: properties, ant task and isset > > > On Thu, 30 Jan 2003, David Clements <[EMAIL PROTECTED]> wrote: > > > If a property is not set, an

RE: Problem with tag inside

2003-01-31 Thread Naresh Bhatia
Stefan, Well, I know about this and I had myself checked PlainJUnitResultFormatter before sending out the email. I also tried the ant -debug flag but that didn't help. I am pretty sure that there is no other ant.jar or optional.jar in my classpath. My ANT_HOME is set to c:\ant-1.5.1. When ant star

Urgent problem (Thanks for any Help)

2003-01-31 Thread Tony . Cavanagh

ChainableReader behavior

2003-01-31 Thread Kief Morris
I'm trying to figure out the behavior of ChainableReader implementations under copy type tasks. In particular, it seems that the Reader has its initialize() method called for each file being copied, which is leading to some deeper problems. Is this the correct behavior? Background: I'm using a cus

Re: Problem with tag inside

2003-01-31 Thread Stefan Bodewig
On Fri, 31 Jan 2003, Naresh Bhatia <[EMAIL PROTECTED]> wrote: > Ant 1.5.1, line 188 in Ant 1.5.1 PlainJUnitResultFormatter is a comment. Are you sure there is no other version of Ant or Ant's optional.jar in your CLASSPATH? Stefan ---

RE: Problem with tag inside

2003-01-31 Thread Naresh Bhatia
Ant 1.5.1, JUnit 3.8.1 -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 5:43 AM To: [EMAIL PROTECTED] Subject: Re: Problem with tag inside On Thu, 30 Jan 2003, Naresh Bhatia <[EMAIL PROTECTED]> wrote: > Ant is crashing if I put a tag

Re: ReplaceRegExp task, IndexOutOfBoundsException, an I18N problem

2003-01-31 Thread Stefan Bodewig
On Thu, 23 Jan 2003, <[EMAIL PROTECTED]> wrote: > Recently I noticed ReplaceRegExp task has been added at Ant1.5.1. I > tried it and soon found it does not work for a file using Japanese > characters. Sorry about that. All of us Ant committers are using "western" style locales, I guess, so we te

RE: Problem running ant outside WebSphere 5 development enviromen t

2003-01-31 Thread Tony . Cavanagh
Thanks able to access the document now. Document http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle1.html has ended up confusing me. I am new to both ant and to webSphere, I managed to get ant within the websphere environment, but cant not get it running outside. I have l

Re: Problem with tag inside

2003-01-31 Thread Stefan Bodewig
On Thu, 30 Jan 2003, Naresh Bhatia <[EMAIL PROTECTED]> wrote: > Ant is crashing if I put a tag inside . Here's my > target: Which versions of Ant and JUnit are you using? Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: properties, ant task and isset

2003-01-31 Thread Stefan Bodewig
On Thu, 30 Jan 2003, David Clements <[EMAIL PROTECTED]> wrote: > If a property is not set, and I pass it to with name="foo" value="${foo}"/> > > Will ${foo} then equal the string "${foo}"? Yes. Stefan - To unsubscribe, e-mai

Re: Help with Replace regexp with ant 1.5

2003-01-31 Thread Stefan Bodewig
Sorry for the late reply On Thu, 16 Jan 2003, Bin Chen <[EMAIL PROTECTED]> wrote: > > > > > > Here is the output I expect to have > @rem My path > set MY_HOME=@ROOT\mybindir > > What I got with the about is > @rem My path > set MY_HOME=@ROOTmybindir What do you get if you simply use \

RE: Problem running ant outside WebSphere 5 development enviromen t

2003-01-31 Thread Rosendahl Sten - stro
http://www7b.software.ibm.com/wsdd/library/techarticles/0203_searle/searle1. html If you still can't access it, you may have to login to your IBM account. Sten > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 31, 2003 10:04 AM > To: An

RE: Problem running ant outside WebSphere 5 development enviromen t

2003-01-31 Thread Tony . Cavanagh
Thanks for the link, but I cannot access it, I put in the url bit by bit got to this stage http://www-3.ibm.com/software/wsdd and was informed that