Re: delete task shouldn't fail but it does

2002-01-08 Thread Thomas Caspers
I have a build script containing a delete task as follows: delete includeEmptyDirs=true fileset dir=jsp / /delete The intention is to delete the jsp directory in ${webinf}. If jsp is there it gets deleted. Fine. But if it is not already there the build

Re: delete task shouldn't fail but it does

2002-01-08 Thread Stefan Bodewig
On Tue, 8 Jan 2002, ROBERT WORTH [EMAIL PROTECTED] wrote: Should I be using a different syntax or is this task specified wrongly. Add failonerror=false or quiet=true to the task. Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

JAXB Optional Task

2002-01-08 Thread Peter . FLYNN
I was just wondering if anyone had written an external task to the XJC compiler for the JAXB Early Access Release. Does one exist? Regards, Peter This email may contain information which is privileged or confidential. If

Re: delete task shouldn't fail but it does

2002-01-08 Thread Nick Cross
Nick Cross wrote: [EMAIL PROTECTED] wrote: I have a build script containing a delete task as follows: delete includeEmptyDirs=true fileset dir=jsp / /delete The intention is to delete the jsp directory in ${webinf}. If jsp is there it gets

ftp task dont work properly with ant-1.4.1

2002-01-08 Thread Dimitri Kleyn
Hi ant-user, what can wrong in this build.xml?? this task do NOTHING !! project name=deminator.de default=strato target name=strato ftp server=localhost userid=anonym password=dem@localhost verbose=yes

Re: ftp task dont work properly with ant-1.4.1

2002-01-08 Thread Erik Hatcher
This is a known (and fixed in CVS) bug in Ant 1.4.1. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4821 If you specify a remotedir, it will work. Erik - Original Message - From: Dimitri Kleyn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 7:20 AM

How to get more readable output when using the parallel task?

2002-01-08 Thread John Volkar
So, any hints on how to get more readable output when you use the parallel task? Right now I'm not using any logger, or anything other that standard console output. Any help would be appreciated. John Volkar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands,

Re: delete task shouldn't fail but it does - oh no it doesn't

2002-01-08 Thread ROBERT . WORTH
Tried it with this as sugested and it does the trick: delete includeEmptyDirs=true failonerror=false fileset dir=jsp / /delete Thanks all. Rob Nick Cross [EMAIL PROTECTED]@prismtechnologies.com on 08/01/2002 12:19:49 Please respond to Ant Users List [EMAIL

RE: taskdef'ing junit

2002-01-08 Thread J. Matthew Pryor
Does anyone think that this is the wrong behavior and that the classloader shouldn't look in the parent classloader first ? BTW reading the documentation, it seems that build.sysclasspath should control this bevaior, but I can't seem to make it work. Any 3rdparty task that uses

Re: How to get more readable output when using the parallel task?

2002-01-08 Thread Conor MacNeill
John Volkar wrote: So, any hints on how to get more readable output when you use the parallel task? It depends on what you mean by more readable :-). One possibility is to name the tasks by using the taskname attribute which is supported by all tasks. This name will then be used in the

RE: How to get more readable output when using the parallel task?

2002-01-08 Thread John Volkar
I mean the awkward interleaving of messages... -Original Message- From: Conor MacNeill [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 8:39 AM To: Ant Users List Subject: Re: How to get more readable output when using the parallel task? John Volkar wrote: So, any hints on

Re: How to get more readable output when using the parallel tas k?

2002-01-08 Thread Conor MacNeill
John Volkar wrote: I mean the awkward interleaving of messages... I think you could try the XMLLogger listener and then look at the xml file it produces, possibly using the accompanying stylesheet to make it more readable. I'm pretty sure it unmangles the interleaving. This won't be a

Re: Ant for J#?

2002-01-08 Thread Michael J McGonagle
Darth Darknerd wrote: I don't want to be political, but what's the point on working on abortive standards. It is cumbersome technically to support alternative java-like languages, and this may take away momentum for existing java support and future developments. Also, I fail to see the

RE: Build Failed

2002-01-08 Thread David Medinets
The second line shows the problem: /home/mburke/jakarta-tomcat-4.0.1/webapps/cdtest/home/mburke/jakarta-tomcat- 4.0.1/common/lib not found at org.apache.tools.ant.types.FileSet.getDirectoryScanner(FileSet.java:273) You'll need to find out why the build.xml file is looking for that particular

RE: Ant for J#?

2002-01-08 Thread Hunt, Bryan
If you think that ant should support J# your missing the point. If microsoft want to create disruptive technologies it should be at their expense that support tools be developed. B-- -Original Message- From: Michael J McGonagle [mailto:[EMAIL PROTECTED]] Sent: 08 January 2002 14:55

java task failures

2002-01-08 Thread Hunt, Bryan
I have the following XML in an ant script . target name=run depends=external java classname=ie.emuse.tutorial.ant.test fork=yes classpath pathelement path=${outputDir}/ pathelement path=${java.class.path}/ /classpath /java /target It works

Re: java task failures

2002-01-08 Thread Stefan Bodewig
On Tue, 8 Jan 2002, Bryan Hunt [EMAIL PROTECTED] wrote: However if I remove the fork attribute I get a java.lang.NoSuchMethodException error. Which method in which class is it, that it cannot find? Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: java task failures

2002-01-08 Thread Hunt, Bryan
The class is just a class with a static void main class that does a System.out.println(test); Here is the output from ant CUT= C:\antwork\example2\build.xml:40: java.lang.NoSuchMethodException at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:13 8) at

Re: java task failures

2002-01-08 Thread Stefan Bodewig
On Tue, 8 Jan 2002, Bryan Hunt [EMAIL PROTECTED] wrote: java.lang.Class.getMethod(Class.java:888) at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:12 3) Hmm, that would be the main() method of the class you want to run. Is this class part of your system classpath as

RE: java task failures

2002-01-08 Thread Hunt, Bryan
no that class would only be found in the outputdir. B-- -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] Sent: 08 January 2002 16:14 To: [EMAIL PROTECTED] Subject: Re: java task failures On Tue, 8 Jan 2002, Bryan Hunt [EMAIL PROTECTED] wrote:

Re: java task failures

2002-01-08 Thread Stefan Bodewig
On Tue, 8 Jan 2002, Bryan Hunt [EMAIL PROTECTED] wrote: no that class would only be found in the outputdir. Strange. Can you provide us with a stripped down test case? Stefan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Freeware xml viewer?

2002-01-08 Thread lduperval
On 19 Dec, Erik Hatcher wrote: Unless the NetBeans build.xml editor has improved in the past 6 months or so, I highly recommend against it. The reformatting of build.xml is very annoying to say the least, and the aesthetics and formatting are important aspects to me. Having target

Re: Ant for J#?

2002-01-08 Thread Bevan Arps
At 23:10 7/01/2002 -0800, Darth Darknerd wrote: Also, I fail to see the point to support a language that will forever only run on one environment: Windows. The entire world doesn't revolve around Java - and there are many users of Ant (myself included) who use it very successfully for building

Re: Ant for J#?

2002-01-08 Thread Michael J McGonagle
Hunt, Bryan wrote: If you think that ant should support J# your missing the point. If microsoft want to create disruptive technologies it should be at their expense that support tools be developed. I am sorry that you took my post as supportive of Microshod, but you got me completely

Re: Ant for J#?

2002-01-08 Thread Steve Loughran
- Original Message - From: Bevan Arps [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED]; Ant Users List [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 11:17 Subject: Re: Ant for J#? Currently Ant is a superb tool for automating software builds as well as deployment and

RE: Ant for J#?

2002-01-08 Thread MacDonald, Ian
Microsnort, Microshlock, Microslop, Microshod, come on Michael, tell us how you really feel about Microsoft. While I'm open to listening to anyone's opinion, when I see references such as this, I find it a little hard to look past their biased views. I'm not defending Microsoft or any company

Re: simple ant and junit fails - solved!

2002-01-08 Thread Ray Tayek
At 06:33 AM 1/8/02 -0500, you wrote: - Original Message - From: Ray Tayek [EMAIL PROTECTED] those references look nice. but it is not clear what happens if you have a bunch of classpath...'s or what there scope is. I recommend defining a separate path id=... for unique classpath you

Re: JAXB Optional Task

2002-01-08 Thread Ray Tayek
At 12:10 PM 1/8/02 +, you wrote: I was just wondering if anyone had written an external task to the XJC compiler for the JAXB Early Access Release. hi, don't know what xjc is and am new to jaxb and ant, but why not just have a precompile step that does: java -jar

Re: Append lines to a file

2002-01-08 Thread Paul Pantages
Hi Zvi, I was able to do this with echo echo file=myfile append=yes Some text. /echo It doesn't put in extra characters for me (Solaris 2.7, ant 1.4.1). I assume that the newlines are translated for the OS you are using. PdP Rahamim, Zvi (Zvi) wrote: Thanks!!! Zvi

Re: Ant for J#?

2002-01-08 Thread Michael J McGonagle
MacDonald, Ian wrote: Microsnort, Microshlock, Microslop, Microshod, come on Michael, tell us how you really feel about Microsoft. While I'm open to listening to anyone's opinion, when I see references such as this, I find it a little hard to look past their biased views. While I had

RE: Ant for J#?

2002-01-08 Thread MacDonald, Ian
Sorry for calling you on this Mike. It's just that even if you are arguing a point that, from your point of view, is neutral with respect to Microsoft, when you use words like Microsnort, Microshlock, Microslop and Microshod, it implies a bias against them. It's then hard to determine what your

RE: JAXB Optional Task

2002-01-08 Thread J. Matthew Pryor
I made an early attempt, but then moved over to using Zeus Here are the files, caveat emptor, usual disclaimers, heavily borrowed from other Task code etc etc ;-) jmp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 11:10 PM To:

Re: Sheesh, Ant for J#? What about ant for .NET?

2002-01-08 Thread Frank E. Weiss
Most of the posts on this thread were political instead of technical. And IMHO, I only saw a few posts that got close to the real point. J# is more FUD than a threat to Java 2, as it is aimed at the legacy Java 1.1 code that some Microsoft customers might want to bundle into .NET projects. Until

Re: Sheesh, Ant for J#? What about ant for .NET?

2002-01-08 Thread Jim White
At 02:35 PM 1/8/2002 -0800, Frank E. Weiss wrote: The real horse at the other end of the tail is: Could Ant be used to build .NET assemblies? Here's a rad idea: could you use Ant as a replacement for (the build part of) Visual Studio .NET? I thought the real point was addressed when I pointed

RE: Sheesh, Ant for J#? What about ant for .NET?

2002-01-08 Thread Conor MacNeill
From: Frank E. Weiss [mailto:[EMAIL PROTECTED]] The real horse at the other end of the tail is: Could Ant be used to build .NET assemblies? Here's a rad idea: could you use Ant as a replacement for (the build part of) Visual Studio .NET?

RE: Sheesh, Ant for J#? What about ant for .NET?

2002-01-08 Thread George McKinney
-Original Message- From: Jim White [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 2:39 PM To: Ant Users List Subject: Re: Sheesh, Ant for J#? What about ant for .NET? ... The next cool thing I see for Ant is an interactive shell. jim -- BTW, what is the current

Re: Sheesh, Ant for J#? What about ant for .NET?

2002-01-08 Thread Steve Loughran
- Original Message - From: Conor MacNeill [EMAIL PROTECTED] To: Ant Users List [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 14:56 Subject: RE: Sheesh, Ant for J#? What about ant for .NET? From: Frank E. Weiss [mailto:[EMAIL PROTECTED]] The real horse at the other end of the

J#... why? [ off topic ]

2002-01-08 Thread Joseph S. Barrera III
Since a lot of people have been asking WHY I would want to use J# for anything, I supposed I should explain. We have a large J2EE project that is all written (obviously) in Java. It runs in either the Weblogic or the Websphere app servers. (None of our customers is interested in running a free

RE: J#... why? [ off topic ]

2002-01-08 Thread Emir Alikadic
Since a lot of people have been asking WHY I would want to use J# for anything, I supposed I should explain. We have a large J2EE project that is all written (obviously) in Java. It runs in either the Weblogic or the Websphere app servers. (None of our customers is interested in running a

user prompt task

2002-01-08 Thread Joe Cheng
After reading this: Extending Ant to support interactive builds http://www-106.ibm.com/developerworks/java/library/j-antbuild/ I wrote a little task that does the same thing (prompt the user for input and put it in a property), but pops up a Swing-based dialog box instead of a text prompt.

Re: J#... why? [ off topic ]

2002-01-08 Thread Steve Loughran
- Original Message - From: Joseph S. Barrera III [EMAIL PROTECTED] To: 'Ant Users List' [EMAIL PROTECTED] Sent: Tuesday, January 08, 2002 15:23 Subject: J#... why? [ off topic ] Since a lot of people have been asking WHY I would want to use J# for anything, I supposed I should