Re: Release log file lock from

2004-12-01 Thread Ivan Ivanov
The follwoinf script works in my environment (Fedora Core 2 Linux): Ivan --- Robert Soesemann <[EMAIL PROTECTED]> wrote: > Hello, > > In my build script I use the task to echo > errors to a log file. > At the end of my script i want to perform some > operations

how to include a java class in classname attribute

2004-12-01 Thread sanjeev chhabra
Hi All, How we can include a java class in ant's build.xml as in the below code. How i can include com.ibm.websphere.ant.tasks.WsEjbDeploy class. Thanks Sanjeev - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

conditional ?

2004-12-01 Thread Gili
Hi, Can someone please help me use ? I've got the following use-case: The problem target A produces "fileA.out" but this won't exist on a fresh working directory (i.e. if target A has never run before). So when I try running the Ant sc

Signal 40 error

2004-12-01 Thread Griffith, Jeff
Hello, We're using ANT (v1.5.4) as part of our automated WebSphere deployment toolset. However, we're experiencing intermittent behavior where ANT will suddenly quit with a "Signal 40", though all processing is completed. The return code is always the same, 168. Anyone ever seen this before?

Re: Release log file lock from

2004-12-01 Thread Jeffrey E Care
Are you stopping the recording with ? -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere Build SWAT Team Lead WebSphere Build Tooling Lead (Project Mantis) https://w3.opensource.ibm.com/projects/mantis "Robert Soesemann" <[EMAIL PROTECTED]> wrote on 12/01/2004 12:37:55 PM: > Hello, > > In my b

Release log file lock from

2004-12-01 Thread Robert Soesemann
Hello, In my build script I use the task to echo errors to a log file. At the end of my script i want to perform some operations (replace, rename) on that file. But this does not work, as ant hold a lock on that file the whole time. How can I release that? Regards, R.

RE: Ant

2004-12-01 Thread Ivan Ivanov

RE: Ant

2004-12-01 Thread Rebhan, Gilbert
Hi, how to talk to those properties that are already set by default (user,os ... etc.) via script task ? f.e. = ... importPackage(java.io); var outfile = new PrintWriter(new FileWriter("test.txt")); // here i want the user outfile.println("${user}"); <- not work

Ant VssHistory task behavior problem - am I missing something?

2004-12-01 Thread ed . wittmann
First, my versions: Ant 1.6.2 Windows XP SP2 Visual Source Safe 6.0 I'm having problems specifying a short time interval for checkins using the VssHistory task. I have to specify what I think is a pretty large time interval in order to see any project history at all. I want to run a sort of con

Re: AW: newbie-running junit task from jar file

2004-12-01 Thread blackwater dev
Thanks Jan, I am getting the error that the junit task doesn't support nested text data so I will have to play with it. Thanks! On Wed, 1 Dec 2004 15:20:08 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > All tests I know are invoked via their source code. The Tutorial "Writing > Task" > i

AW: newbie-running junit task from jar file

2004-12-01 Thread Jan . Materne
All tests I know are invoked via their source code. The Tutorial "Writing Task" in the manual [1] for example shows that. But let´s have a look in s Manual [2] ... Not tested, but maybe that will work: Jan [1] http://ant.apache.org/manual/tutorial-writing-tasks.html#TestingT

newbie-running junit task from jar file

2004-12-01 Thread blackwater dev
Hello, I took my junit classes and created a jar file which I want to run from ant. How do I use the junit task and specify where the jar file lives and to kick off with the AllTests class? I also need to use the html reporting also. Most of the samples I see simply call the basic class. Thank

RE: Set output path for

2004-12-01 Thread Robert Soesemann
Oh, this was easy. Thanks a lot. R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 1. Dezember 2004 14:19 To: [EMAIL PROTECTED] Subject: AW: Set output path for Works for me: Jan > -Ursprüngliche N

AW: Set output path for

2004-12-01 Thread Jan . Materne
Works for me: Jan > -Ursprüngliche Nachricht- > Von: Robert Soesemann [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 1. Dezember 2004 14:14 > An: [EMAIL PROTECTED] > Betreff: Set output path for > > Is there a way to tell ant's record tas

Set output path for

2004-12-01 Thread Robert Soesemann
Is there a way to tell ant's record task not only the name of the log file, but also ist path? Maybe there is a property e.g. ant.logdir? Any ideas? Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Problem with Cactus Client Project - in WSAD 5.0

2004-12-01 Thread Krishna Prasad B
Hi All, I have created a Cactus Client Project (java project) in Web Sphere 5.0. For this, I have referred a document at the link : http://www-106.ibm.com/developerworks/websphere/techjournal/0206_wosnick /wosnick.html In this project, the Cactus test file is EJBServletTestCase.java.

Re: AW: AW: Ant

2004-12-01 Thread Ivan Ivanov
--- [EMAIL PROTECTED] wrote: > Yeah - sometimes we are fast - and sometimes we´re > seeing also lot Well, I had my noon tea and so you were quicker than men > of trees. BTW happy Xmas (mmmh what is -Xmas for a > JVM option?) ;-) It is a unregonized option: java -Xmas PropertiesTest Unrecogniz

AW: AW: Ant

2004-12-01 Thread Jan . Materne
Yeah - sometimes we are fast - and sometimes we´re seeing also lot of trees. BTW happy Xmas (mmmh what is -Xmas for a JVM option?) ;-) Jan > -Ursprüngliche Nachricht- > Von: Alex Feseto [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 1. Dezember 2004 13:11 > An: Ant Users List > Betre

Re: AW: Ant

2004-12-01 Thread Alex Feseto
Oh man, schoolboy error! Couldn't see the wood for the trees even when I stripped it down to that simple example! Thanks people, amazingly quick responses :-) [EMAIL PROTECTED] wrote: A valid close() would also do a flush(). Problem was that he didnt close the stream (and therefore didnt flushed)

Re: AW: Ant

2004-12-01 Thread Ivan Ivanov
Jan, Yes I saw that but posted my message before reading yours. It is just a syntax error. --- [EMAIL PROTECTED] wrote: > A valid close() would also do a flush(). > Problem was that he didnt close the stream (and > therefore didnt flushed). > > Jan > > > -Ursprüngliche Nachricht- > > Vo

AW: Ant

2004-12-01 Thread Jan . Materne
A valid close() would also do a flush(). Problem was that he didnt close the stream (and therefore didnt flushed). Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 1. Dezember 2004 13:06 > An: Ant Users List > Betreff: Re: Ant tag quer

Re: Ant

2004-12-01 Thread Ivan Ivanov
Alex, flush the outfile, the follwing should works:

AW: Ant

2004-12-01 Thread Jan . Materne
write close() instead of close Jan > -Ursprüngliche Nachricht- > Von: Alex Feseto [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 1. Dezember 2004 12:53 > An: [EMAIL PROTECTED] > Betreff: Ant tag query > > Hi, I'm trying to write to a file using the