Re: System.out and PrintStream output with tags

2002-10-23 Thread Cyriaque Dupoirieux
Hi, It's strange because it seems that same problems occur in different places at the same time. I have exactly the same problem of a javac target that doesn't display compiling errors when it is called after a java target. If you have somme information I'm very interested. Regards, Cy

System.out and PrintStream output with tags

2002-10-23 Thread Andy Watson
I apologise if this has been answered before, but I'm pretty terrible at finding things ;-) Running Ant 1.5 and 1.5.1. I want to run the product of a build (java class) and print diagnostics to either System.out, err or to a file via a PrintStream. Alas, I get no output via tags, even if fork="

Re: printing references: need solution

2002-10-23 Thread Erik Hatcher
You're trying to print out a fileset rather than a path. The trick only works on paths (or any datatype that has a friendly toString() method), but not fileset. I don't think it worked differently in 1.4, but I could be wrong about that. Erik scollins wrote: In Ant 1.5.1 this solution echo

RE: printing references: need solution

2002-10-23 Thread Dominique Devienne
... --DD -Original Message- From: scollins [mailto:scollins@;bea.com] Sent: Wednesday, October 23, 2002 4:33 PM To: Ant Users List Subject: printing references: need solution In Ant 1.5.1 this solution echos "[echo] org.apache.tools.ant.types.FileSet@3ba6f3ef" rather than the actual con

printing references: need solution

2002-10-23 Thread scollins
In Ant 1.5.1 this solution echos "[echo] org.apache.tools.ant.types.FileSet@3ba6f3ef" rather than the actual contents of the FileSet as it did in Ant 1.4. Any solution? Thanks, Steve Conor MacNeill wrote: > Rum Pel wrote: > > > > > > > > > > > > > > Now how do I echo my.classpat

Re: Accessing system variables

2002-10-23 Thread Erik Hatcher
Steve Loughran wrote: - Mac OS X does not have HOSTNAME set, although I just this very minute realized that there is a HOST environment variable! Maybe that will solve my problems by adding another property setting statement or something like that. ahh, but is it an accurate value or just 'lo

RE: JDeveloper 9.0.3 Supports Ant 1.5.1

2002-10-23 Thread Dominique Devienne
Thanks. I'm not a committer, but I can tell you that you'll have better chance to get this incorporated if you submit a patch to the xdocs/external.xml file to add your info. Just follow the example in there, do your changes, run 'cvs diff -u' on the file, redirecting the output, and enter somethin

ANN: JDeveloper 9.0.3 Supports Ant 1.5.1

2002-10-23 Thread Robert Clevenger
On the Ant External Tools and Tasks Page at http://jakarta.apache.org/ant/external.html I read that for a new tool to be added to the page, I should post the relevant information to one of the mailist lists. I'm hoping that this is is the right list. Here's the information for JDeveloper. In our

RE: Issue with CvsTagDiff task

2002-10-23 Thread Matt Lyon
Cyriaque, Thanks for the response. It does appear that someone was working on a patch for this, based on what I've seen in the list archives. I'm just curious as to whether or not the patch found it's way into the Ant 1.5.1 release, and if not, where it can be obtained from... anybody have a cl

RE: Uptodate checking...

2002-10-23 Thread Dominique Devienne
You'll find links in http://jakarta.apache.org/ant/external.html --DD -Original Message- From: Mike Dougherty [mailto:MDougherty@;XIFIN.Com] Sent: Wednesday, October 23, 2002 10:17 AM To: 'Ant Users List' Subject: RE: Uptodate checking... > -Original Message- > From: Dominique De

RE: Uptodate checking...

2002-10-23 Thread Mike Dougherty
> -Original Message- > From: Dominique Devienne [mailto:DDevienne@;lgc.com] > Sent: Monday, October 21, 2002 4:02 PM > To: 'Ant Users List' > Subject: RE: Uptodate checking... > > > Just in case, have you checked out the various XML tasks in > Related Projects > and/or External Tools? No

Re: Accessing system variables

2002-10-23 Thread Steve Loughran
- Original Message - From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 6:48 PM Subject: Re: Accessing system variables > will give you ${env.ANT_HOME}, but you'd > be better off using ${ant.home}. > > Follow it with: > >

Re: Accessing system variables

2002-10-23 Thread Steve Loughran
- Original Message - From: "Christian Cryder" <[EMAIL PROTECTED]> To: "Ant-User" <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 4:32 PM Subject: Accessing system variables > Is there anyway to access system variables within Ant? For instance, I'd > like to do this: > > > yo

Re: ant-developers. Change of behaviour of element nested in

2002-10-23 Thread Steve Loughran
- Original Message - From: "George Spalding" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 11:54 PM Subject: ant-developers. Change of behaviour of element nested in > Hi all. > > Theres feature in the nested task > that I would like to change. > Although

RE: JUnit BatchTest

2002-10-23 Thread Dominique Devienne
Sorry, I can't. It's not a single class, but something which uses other in-house tools. I can tell you though that it's was inspired by this article http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit_p.html (the last part of it), which we used almost as-is for a while. DynamicTestSuite is

RE: JUnit BatchTest

2002-10-23 Thread Marina Harrell
Can you share that DynamicTestSuite code? It would be very useful. -Original Message- From: Dominique Devienne [mailto:DDevienne@;lgc.com] Sent: Wednesday, October 23, 2002 11:31 AM To: 'Ant Users List' Subject: RE: JUnit BatchTest No, it is not AFAIK. It relies on files on disk, and can

RE: JUnit BatchTest

2002-10-23 Thread Dominique Devienne
No, it is not AFAIK. It relies on files on disk, and cannot deal with files (classes) inside a JAR. We do not use , but have written our own 'DynamicTestSuite' that finds tests based on similar pattern criteria (plus additional ones) as , but takes a classpath-like searchpath (which defaults to the

RE: Uptodate checking...

2002-10-23 Thread Dominique Devienne
Indeed, if any file is out of date, I redo the entire process. But if I had an incremental process, I'd use a fileset with appropriate selectors instance of relying on SourceFileScanner, to only process the files that need to... --DD -Original Message- From: Mike Dougherty [mailto:MDoughe

JUnit BatchTest

2002-10-23 Thread Tim Sheridan
I am compiling all our test code to a single JAR file of JUnit test cases. Is there a way the nested tag in the JUnit task can take just a JAR file? The following code runs the test cases just fine, but I would be prefer to simply specify a single JAR file. Is it possible? Suggestions? Thanks, Tim

RE: Uptodate checking...

2002-10-23 Thread Mike Dougherty
> -Original Message- > From: Dominique Devienne [mailto:DDevienne@;lgc.com] > Sent: Tuesday, October 22, 2002 11:27 AM > To: 'Ant Users List' > Subject: RE: Uptodate checking... > > > In what way if not using the UpToDate task superior? In the > following code > of mine, it doesn't look

RE: includes and excludes

2002-10-23 Thread Dominique Devienne
Thanks Stefan. I actually thought of this later on as well. Using two filesets might be easier, but using selectors is probably faster, since you'd be scanning the directory only once. One would have to compare the two methods to find out for sure though ;-) --DD -Original Message- From: S

Re: task: shutdown hook / NoClassDefFoundError

2002-10-23 Thread Markus Kieninger
Hi, Hi, I'm using Ant 1.5.1 + Sun JDK 1.4.0-b92 on Win 2K Pro SP2. When using the task to launch my program, I'm in a dilemma about forking or not. If I choose not to fork, then I will get some NoClassDefFoundError with sun.reflect.* classes. The problem has bee

RE: Checking existence of property

2002-10-23 Thread Primoz . Prislan
Check your Ant versoin. I use 1.5.1 and it works. Example from my build file: Primoz Prislan. "Leahy,

RE: Checking existence of property

2002-10-23 Thread Leahy, Kevin
Primoz, Have you tried this yourself. I tried that on Monday, but without examples was unable to get anywhere. I am trying: Message I get is that fail does not support tbe unless attribute. Same story with the if attribute.

Re: Checking existence of property

2002-10-23 Thread Primoz . Prislan
Use Fail task with if/unless attribute. Prmoz Prislan. "Leahy,

Checking existence of property

2002-10-23 Thread Leahy, Kevin
Hi I have defined a variable via a properties file. If the the variable was not set in the properties file I want the build to fail. Does anyone know how to do this? Thanks Kevin -- If you have received this e-mail in error or w

Re: includes and excludes

2002-10-23 Thread Stefan Bodewig
On Tue, 22 Oct 2002, Mike Dougherty <[EMAIL PROTECTED]> wrote: > Which I expect to exclude all the classes under **/ejb except the > class I have explicitly included. In addition to the answer you've gotten, I just want to mention selectors, which would give you fine gained crontrol over preceden

vssget problem

2002-10-23 Thread Ritzmann, Heiko
Hy, is it possible to get files with an specific label recursive out of an vss directory with vssget, even though the root of directory don't has this label? Thanks Heiko -- To unsubscribe, e-mail: For additional commands, e-mail: