Re: Where does optional.jar come from?

2005-01-21 Thread Alan Gutierrez
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2005-01-21 18:43]: > Possibly a dumb question, but where would I find this jar? I find > it in the ant eclipse plugin, and see numerous references to it, > but can not find something specifically named "optional.jar" on > the ant web site. The optional.

Where does optional.jar come from?

2005-01-21 Thread karlkras
Possibly a dumb question, but where would I find this jar? I find it in the ant eclipse plugin, and see numerous references to it, but can not find something specifically named "optional.jar" on the ant web site. regards, Karl

RE: How to supress output

2005-01-21 Thread Russell Johannesson
From: "Dominique Devienne" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: How to supress output Date: Fri, 21 Jan 2005 14:56:51 -0600 > > Pretty much; it goes through a lot of pain to set up > the ExecuteStreamHandler used by the Execute. So assuming the ClearCas

RE: How to supress output

2005-01-21 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Matt Benson [mailto:[EMAIL PROTECTED] > > > > --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > [SNIP] > > > AFAIK, works directly at the source > of > > > the output, in > > > Execute, before it reaches the log sub-system. > --DD >

RE: How to supress output

2005-01-21 Thread Dominique Devienne
> From: Matt Benson [mailto:[EMAIL PROTECTED] > > --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > [SNIP] > > AFAIK, works directly at the source of > > the output, in > > Execute, before it reaches the log sub-system. --DD > > Pretty much; it goes through a lot of pain to set up > the Execut

RE: How to supress output

2005-01-21 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: [SNIP] > AFAIK, works directly at the source of > the output, in > Execute, before it reaches the log sub-system. --DD Pretty much; it goes through a lot of pain to set up the ExecuteStreamHandler used by the Execute. -Matt _

RE: How to supress output

2005-01-21 Thread Dominique Devienne
> From: Russell Johannesson [mailto:[EMAIL PROTECTED] > > > From: Russell Johannesson [mailto:[EMAIL PROTECTED] > > > > > > It occurs to me that the problem under discussion isn't necessarily > > > specific > > > to ClearCase. Wouldn't any task which employs Runtime.exec() > >internally > > > poten

RE: How to supress output

2005-01-21 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > > From: Russell Johannesson > [mailto:[EMAIL PROTECTED] > > > > It occurs to me that the problem under discussion > isn't necessarily > > specific > > to ClearCase. Wouldn't any task which employs > Runtime.exec() > internally > > potentially b

RE: How to supress output

2005-01-21 Thread Russell Johannesson
From: "Dominique Devienne" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" Subject: RE: How to supress output Date: Fri, 21 Jan 2005 14:09:33 -0600 > From: Russell Johannesson [mailto:[EMAIL PROTECTED] > > It occurs to me that the problem under discussion isn't necessarily > s

Re: AW: ant access of java constants

2005-01-21 Thread Erik Hatcher
You need BCEL. See here for details: http://ant.apache.org/manual/install.html On Jan 21, 2005, at 1:48 PM, michael sorens wrote: The errors I showed are from -debug. Without it it just says "IOException". Everything else looks reasonable. Yes, ${javabin} is set. I get a different error

Confusing "Complete build sequence"?

2005-01-21 Thread Darin Swanson
Hey all, I was wondering if anyone else finds the "Complete build sequence" string output confusing (from Project.topoSort(String, Hashtable)) I had to go and look at the code to figure out why all those non-referenced targets were showing up :-) It really seems to have no direct bearing on th

RE: How to supress output

2005-01-21 Thread Dominique Devienne
> From: Russell Johannesson [mailto:[EMAIL PROTECTED] > > It occurs to me that the problem under discussion isn't necessarily > specific > to ClearCase. Wouldn't any task which employs Runtime.exec() internally > potentially be a source of unwanted output? Would it be reasonable to > request that

RE: How to supress output

2005-01-21 Thread Russell Johannesson
It occurs to me that the problem under discussion isn't necessarily specific to ClearCase. Wouldn't any task which employs Runtime.exec() internally potentially be a source of unwanted output? Would it be reasonable to request that there be control over the exec output of all such tasks? That w

RE: How to supress output

2005-01-21 Thread Russell Johannesson
I'm sure you're right. He was talking about committers/core developers. He did say they would welcome a code contribution. From: "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> Reply-To: "Ant Users List" To: "Ant Users List" CC: [EMAIL PROTECTED] Subject: RE: How to supress output Date: Fri,

Re: How to use cvs task with extssh

2005-01-21 Thread Julius Davies
Hi, DIEGO, Try connecting to your CVS server directly over ssh (port 22), using PuTTY. The same error message will show up, but this time you'll get to interact with it. You should only need to do this once to eliminate the error you are seeing. yours, Julius On Fri, 2005-21-01 at 15:49 -020

RE: How to supress output

2005-01-21 Thread Anderson, Rob (Global Trade)
> I imagine Steve meant that no -committer- has > ClearCase. Cool. > Note that this is exactly the > kind of situation that explains why we are loath to > add more optional tasks to Ant. > > -Matt Now I understand :) Fortunately, Curtis White (the original author of most of the ClearCase Ant t

Re: AW: ant access of java constants

2005-01-21 Thread michael sorens
The errors I showed are from -debug. Without it it just says "IOException". Everything else looks reasonable. Yes, ${javabin} is set. I get a different error if the file is not found. On Fri, 21 Jan 2005 17:47:53 +0100, <[EMAIL PROTECTED]> wrote: - what does "-debug" say? - is ${javabin} set? Jan

RE: How to supress output

2005-01-21 Thread Matt Benson
--- "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> wrote: > I have ClearCase. I can test it. Although I am not a > committer, I have contributed tasks and bug fixes. I > was a little surprised by Steve Loughran's response > to the bug report. > > Steve, Question: Does developer = committer ?

RE: How to supress output

2005-01-21 Thread Anderson, Rob (Global Trade)
I have ClearCase. I can test it. Although I am not a committer, I have contributed tasks and bug fixes. I was a little surprised by Steve Loughran's response to the bug report. Steve, Question: Does developer = committer ? Since the project is open source, isn't anyone who contributes to the co

How to use cvs task with extssh

2005-01-21 Thread DataCom - Diego
Hi all, I am using Ant 1.6.2/Java 1.4.2_05/WinXP/cvsnt and trying to access a remote Linux CVS repository. The supported protocol is extssh, but the checkout is not working. It seems to require some user interaction and I simply do not know what to do. This is the output that is printed and the

AW: ant access of java constants

2005-01-21 Thread Jan . Materne
- what does "-debug" say? - is ${javabin} set? Jan > -Ursprüngliche Nachricht- > Von: michael sorens [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 21. Januar 2005 17:45 > An: Ant Users List > Betreff: Re: ant access of java constants > > I tried adding this chunk of code: > srcfile=

Re: ant access of java constants

2005-01-21 Thread michael sorens
I tried adding this chunk of code: but received this error: C:\usr\ms\devel\cleancode-support\build.xml:100: Unable to load file: java.io.IOException at org.apache.tools.ant.taskdefs.LoadProperties.execute(LoadProperties.java:225) at org.apache.tools.ant.UnknownElemen

Jspc tag and CreateProcess problem... HELP!!! plz

2005-01-21 Thread Eric Giguere
Hi all I've read everything available on the web concerning the Jspc and java.exe create process issue. I'm suffering from this issue on one of my PC running Window$ 2000, Ant 1.5.3 (bundled with Maven). I've read that for some, putting the jdk home in the PATH variable resolved the issue but n

Jspc tag and CreateProcess problem... HELP!!! plz

2005-01-21 Thread Eric Giguere
Hi all I've read everything available on the web concerning the Jspc and java.exe create process issue. I'm suffering from this issue on one of my PC running Window$ 2000, Ant 1.5.3 (bundled with Maven). I've read that for some, putting the jdk home in the PATH variable resolved the issue but n

RE: ignoring CLASSPATH inside a junit task

2005-01-21 Thread Dominique Devienne
> -Original Message- > From: ippi [mailto:[EMAIL PROTECTED] > > Oops - spoke too soon! [red-faced grin] > > Without going into the embarressing details, my > previous assertion that setting > includeantruntime="no" made everything work > perfectly is not at all correct. Rather, ant > just

Re: ignoring CLASSPATH inside a junit task

2005-01-21 Thread ippi
Oops - spoke too soon! [red-faced grin] Without going into the embarressing details, my previous assertion that setting includeantruntime="no" made everything work perfectly is not at all correct. Rather, ant just prints out the following exception for each TestCase loaded: [junit] Except

Re: ignoring CLASSPATH inside a junit task

2005-01-21 Thread ippi
Stefan, you're a Legend - the following works perfectly (with ant 1.6.2): wrote: > On Fri, 21 Jan 2005, ippi <[EMAIL PROTECTED]> > wrote: > > > Thanks for the reply. I had actually tried setting > > the build.sysclasspath but I quickly gave up on it > > when it failed to work for me. When I go

Re: ignoring CLASSPATH inside a junit task

2005-01-21 Thread Stefan Bodewig
On Fri, 21 Jan 2005, ippi <[EMAIL PROTECTED]> wrote: > Thanks for the reply. I had actually tried setting > the build.sysclasspath but I quickly gave up on it > when it failed to work for me. When I got your > message I did some more extensive testing and now > I realise that the build.sysclasspa

Re: ignoring CLASSPATH inside a junit task

2005-01-21 Thread ippi
Hi Stefan Thanks for the reply. I had actually tried setting the build.sysclasspath but I quickly gave up on it when it failed to work for me. When I got your message I did some more extensive testing and now I realise that the build.sysclasspath property only effects the tasks that don't fork

Re: FYI: Ant as macro processor

2005-01-21 Thread Erik Hatcher
I think VPP is a nicer way to go about doing this sort of thing: http://vpp.sourceforge.net/ However, I personally cringe thinking of Java pre-processing instead of architecting in more flexible design patterns. I love VPP for general generation though - it's incredibly useful.

Re: AW: ant access of java constants

2005-01-21 Thread Erik Hatcher
And even easier, you can do it with the ClassConstants FilterReader! :) http://ant.apache.org/manual/CoreTypes/filterchain.html#classconstants On Jan 21, 2005, at 2:53 AM, [EMAIL PROTECTED] wrote: You can do that via API calls - your own task - But you have to ensure that the class can be

FYI: Ant as macro processor

2005-01-21 Thread Jan . Materne
FYI: I have found a nice blog about using Ant as a little pre processor (ifdef,endif) for Java. http://weblogs.java.net/blog/schaefa/archive/2005/01/how_to_do_condi_1.html cheers Jan