AW: [Junit] throws NullPointerException

2005-10-24 Thread Wunderlich, Patrick
> > > > But is working?! > > Yes, because - unlike the xml formatter - it doesn't rely on > startTestSuite being the first call. > OK - i understand :) I have this Problem only on one Computer. The same ANT script works on another PC. But when i run "ant -diagnosis" on both systems, the out

AW: using fileset to only list the filenames and not the path+filename

2005-10-24 Thread Jan.Materne
First thought was simply adding a , but adds always the basedir. So you must also set the 'relative' to true. Jan --- build.xml --8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< --- myecho.bat --8-<

Re: Ear file build....with weblogic......8.1sp2

2005-10-24 Thread deridder
> I am trying to create a Ear file out of the following. It is complaining > > > \ejb-jar.xml > [copy] Copying C:\finalmessage\build.xml to > C:\finalmessage\build\META-INF > uild.xml > [jar] Building jar: C:\finalmessage\dist\OMSQueueEngine.jar > [jar] adding directory META-INF/ >

Re: Ear file build....with weblogic......8.1sp2

2005-10-24 Thread deridder
> I am trying to create a Ear file out of the following. It is complaining > > > \ejb-jar.xml > [copy] Copying C:\finalmessage\build.xml to > C:\finalmessage\build\META-INF > uild.xml > [jar] Building jar: C:\finalmessage\dist\OMSQueueEngine.jar > [jar] adding directory META-INF/ >

Re: [Junit] throws NullPointerException

2005-10-24 Thread Stefan Bodewig
On Mon, 24 Oct 2005, Patrick Wunderlich <[EMAIL PROTECTED]> wrote: > >> >> Looks as if something in your testcase was writing to >> System.out before Ant starts the tests. A static block maybe? >> > > But is working?! Yes, because - unlike the xml formatter - it doesn't rely on startTestSui

RE: Continuing past errors

2005-10-24 Thread Michael Pelz Sherman
Sweet! Worked like a charm, thanks! :-) - Michael --- "Shatzer, Larry" <[EMAIL PROTECTED]> wrote: > Since you are already using ant-contrib, look at the try/catch tasks it > offers as well. > > > -Original Message- > > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > > Sent: Mond

using fileset to only list the filenames and not the path+filename

2005-10-24 Thread martin sweitzer
How does one utilize fileset to only list the filenames and not the path+filename? example: That will result in the something like the following: anExe d:/foo/bar/baz/file0 "a bunch of params" anExe d:/foo/bar/baz/file1 "a bunch of params" anExe d:/foo/bar/baz/file2 "a bunch of para

Re: Can we display CPPUnit test result as JUnit test results

2005-10-24 Thread martin sweitzer
On 8/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Don´t know how CPPUnit logs the results. > > For using you have to log the JUnit results in a special xml > format. The transformation > is done using stylesheets from ANT/src/etc/junit-*.xsl. > > If CPPUnit logs in the same format, you

RE: Continuing past errors

2005-10-24 Thread Shatzer, Larry
Since you are already using ant-contrib, look at the try/catch tasks it offers as well. > -Original Message- > From: Michael Pelz Sherman [mailto:[EMAIL PROTECTED] > Sent: Monday, October 24, 2005 4:31 PM > To: Ant Users List > Subject: Continuing past errors > > > Hi, > > I'm working

Continuing past errors

2005-10-24 Thread Michael Pelz Sherman
Hi, I'm working on a script that I want to continue executing even if an error is encountered. The script uses the "foreach" task from ant-contrib to execute the same task repeatedly with different arguments. If one of the executions fails, I want the script to keep going through the rest rather t

Ear file build....with weblogic......8.1sp2

2005-10-24 Thread Srikrishna_Parthasarathy
I am trying to create a Ear file out of the following. It is complaining \ejb-jar.xml [copy] Copying C:\finalmessage\build.xml to C:\finalmessage\build\META-INF uild.xml [jar] Building jar: C:\finalmessage\dist\OMSQueueEngine.jar [jar] adding directory META-INF/ [jar] adding

Re: webpshere application server 6 , ant and versions of ant

2005-10-24 Thread Jeffrey E Care
> -i understand that WAS comes with its own ant version: is it jus a > matter of libraries and jars injection in the standard version of > ant?Can i continue using the standart ant while importing the > specific WAS jars? IIRC yes, but good luck finding all the classes that you need to make the

RE: webpshere application server 6 , ant and versions of ant

2005-10-24 Thread Anderson, Rob (Global Trade)
> -i understand that WAS comes with its own ant version: is it > jus a matter of libraries and jars injection in the standard > version of ant?Can i continue using the standart ant while > importing the specific WAS jars? Best way to continue using the standard ant, while still having access t

Re: Specifying build properties

2005-10-24 Thread Steve Loughran
Rakesh Patel wrote: Thanks for that Steve. I would like to know more about "having the webapp load these dynamically based on their hostname" Thanks Rakesh 1. work out your hostname. easy-ish to do, though multiple network cards can trick you. gethostbyname() is the String hostname

RE: avoid subant on 'non-ant' directories

2005-10-24 Thread Yves Willems
Of course! Thanks a lot Jan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 5:31 PM To: user@ant.apache.org Subject: AW: avoid subant on 'non-ant' directories why not simply

AW: avoid subant on 'non-ant' directories

2005-10-24 Thread Jan.Materne
why not simply Jan >-Ursprüngliche Nachricht- >Von: Yves Willems [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 24. Oktober 2005 17:24 >An: 'Ant Users List' >Betreff: avoid subant on 'non-ant' directories > >Hi all, > >

avoid subant on 'non-ant' directories

2005-10-24 Thread Yves Willems
Hi all, I have setup a recursive build structure that runs OK, except for the 'non-ant' directories. I mean directories that don't have a build.xml file included. I got it running using exclude statements for each know non-ant directory and the 'failonerror=false" but this is poor solution re

RE: webpshere application server 6 , ant and versions of ant

2005-10-24 Thread hind.lwahhabi
Hello Jatin, Thanks first for your quick reaction.But what about the was specific tasks?And so do u use the standard ant distribution while importing was specific jars? Hind Lwahhabi. -Original Message- From: Bhadra, Jatin [mailto:[EMAIL PROTECTED] Sent: Mon 10/24/2005 3:38 PM To: 'An

RE: webpshere application server 6 , ant and versions of ant

2005-10-24 Thread Bhadra, Jatin
I suppose you can use any version of ANT to compile you application as long you are using correct version of JDK and J2EE jars. I have successfully used ANT 1.6.5 to build and deploy applications. Jatin www.cmware.co.uk WebSphere Auto Deploy -Original Message- From: [EMAIL PROTECTED] [m

RE: Specifying build properties

2005-10-24 Thread Rakesh Patel
Thanks for that Steve. I would like to know more about "having the webapp load these dynamically based on their hostname" Thanks Rakesh -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: 24 October 2005 13:29 To: Ant Users List Subject: Re: Specifying build pro

webpshere application server 6 , ant and versions of ant

2005-10-24 Thread hind.lwahhabi
Hello all; We are going to use webpshere application server 6.0 in our project.By the past i always used the standard version of ant, the latest one(1.6.5) combined with ant-contrib and some other useful ant external tools. Now i am worriying about the following issues: -i understand that WAS co

Re: Specifying build properties

2005-10-24 Thread Steve Loughran
Rakesh Patel wrote: Hi, Is there a way to specify which build file to use within a target? I use my local machine for building the war for the development environment and the production one. The properties are picked up from build.properties but I have to change this file each time depending on

Specifying build properties

2005-10-24 Thread Rakesh Patel
Hi, Is there a way to specify which build file to use within a target? I use my local machine for building the war for the development environment and the production one. The properties are picked up from build.properties but I have to change this file each time depending on where I am going to d

how to add a single class (or a few classes) to the classpath

2005-10-24 Thread Ray Tayek
hi, trying to make the following fragment work path="${dist}/${ant.project.name}-${DSTAMP}.jar"/> the purpose of this

Re: Copy empty directory

2005-10-24 Thread Nicolas Vervelle
Have you tried without the "." in your fileset pattern : something like "**/*" ? wolverine my wrote: Hi! I'm using Ant 1.6.5 and I have the following directories and files test + war | | | + WEB-INF | + index.jsp | + build.xml note that the WEB-INF directory is empty and when execu

Copy empty directory

2005-10-24 Thread wolverine my
Hi! I'm using Ant 1.6.5 and I have the following directories and files test + war | | | + WEB-INF | + index.jsp | + build.xml note that the WEB-INF directory is empty and when executing the following task, The index.jsp is copied into webapps/test but the