Re: set current dir for junit

2002-06-25 Thread Stefan Bodewig
On Tue, 25 Jun 2002, Shuangli Cao <[EMAIL PROTECTED]> wrote: > Hi, I got "Process fork failed." error if I set dir attribute for > junit and "yes" to fork for junit and "yes" to fork for batchtest. OK, we need to investigate this "Process fork failed" thing as you are doing it the way it is supp

Re: How to determine directories

2002-06-25 Thread Stefan Bodewig
On Tue, 25 Jun 2002, Gerald Bennett <[EMAIL PROTECTED]> wrote: > Hi is there an ant task to determine if inside a root directory > there exists a directory that is marked read only ? if so return the > value or possible values ? That would be a together with the selector Erik Hatcher has posted

Re: Reverse PatternSet

2002-06-25 Thread Diane Holt
--- Erik Hatcher <[EMAIL PROTECTED]> wrote: > Sorry for the confusion. I did not mean it would literally negate a > , but that it could be used to accomplish the functionality > Scott asked about. You could create a that nested a > (or more, inside an ), and then another > that negated the pr

Websphere 4.0.3: Exception while calling ejbdeploy

2002-06-25 Thread McVeigh, Ryan
Hi all, I'm using Ant 1.5Beta 2. I've got an ejbjar task in my Websphere build and I'm seeing the following error which I believe is a "bug" or at least a documentation omission. I've tried to include as much detail as possible to explain the problem. I also apologize in advance for cc'ing t

RE: Java Development with Ant - sample chapters

2002-06-25 Thread Tim Walker
Congratulations. -- Tim Walker Senior Software Engineer [EMAIL PROTECTED] Freshwater Software 303-443-2266 ex. 6505 Looking for Answers to your SiteScope or SiteSeer questions? http://www.freshwater.com/support/search.htm -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED]]

Java Development with Ant - sample chapters

2002-06-25 Thread Erik Hatcher
Steve and I are pleased to announce the available of sample chapters to our forthcoming book, Java Development with Ant. The chapters are available at: http://www.thecodercoop.com This is a site developed by Manning, and is being "beta tested". You should be required to register in order t

Re: Issue with JUnit, forking, & classloading?

2002-06-25 Thread Steve Loughran
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 8:50 AM Subject: Issue with JUnit, forking, & classloading? Ant-Users, I am experiencing an interesting problem when using Ant 1.5Beta3 and JUnit3.7 (on Windows2000). I have a task tha

How to determine directories

2002-06-25 Thread Gerald Bennett
Hi is there an ant task to determine if inside a root directory there exists a directory that is marked read only ? if so return the value or possible values ?

Re: Task.init() called twice ?

2002-06-25 Thread Matt Koss
On Tuesday 25 June 2002 3:45 pm, Conor MacNeill wrote: > Matt Koss wrote: > > I am trying to understand the execution loop of the task. > > > > I have written a custom task and I have put the initialisation code > > inside of the init() method. > > I thought that init() method is called only once

Re: Ant 1.5Beta3 Released

2002-06-25 Thread Hal Hildebrand \(web\)
Sorry for the flip-flop again. It does happen because the tasks are in different class loaders. Don't know why the test case doesn't cause the issue, but my real build still does. Don't worry about it. Open source is designed to keep people like me quiet by allowing us to change it to suit our

Issue with JUnit, forking, & classloading?

2002-06-25 Thread Andrew.Beacock
Ant-Users, I am experiencing an interesting problem when using Ant 1.5Beta3 and JUnit3.7 (on Windows2000). I have a task that runs my unit tests. I have chosen to set fork="no" so that the tests run a little faster (I can set fork="yes" for the nightly build). I have set up 2 formatters on

Re: Ant 1.5Beta3 Released

2002-06-25 Thread Hal Hildebrand \(web\)
How right you are. Naturally, my naming of the test task conflicted with the Ant "test" task. Thanks for the patience. And mucho gratitude for fixing this in beta 3. - Original Message - From: "Diane Holt" <[EMAIL PROTECTED]> > --- "Hal Hildebrand (web)" <[EMAIL PROTECTED]> wrote:

Re: Ant 1.5Beta3 Released

2002-06-25 Thread Stefan Bodewig
On Tue, 25 Jun 2002, Diane Holt <[EMAIL PROTECTED]> wrote: > unless I run it -verbose -- which I think is probably actually wrong > that it does it even then, since I'm not re-defining the task, more > just reiterating its definition No, you are using a different classloader with the new definit

Re: Ant 1.5Beta3 Released

2002-06-25 Thread Diane Holt
--- "Hal Hildebrand (web)" <[EMAIL PROTECTED]> wrote: > The issue is that I have build files that are designed to be called > independently of one another, but also designed to be nested. But why is that still a problem with beta3? You won't get that message (unless you're running -verbose), so l

Re: Ant 1.5Beta3 Released

2002-06-25 Thread Hal Hildebrand \(web\)
The issue is that I have build files that are designed to be called independently of one another, but also designed to be nested. That's why each build file defines the same tasks. I'm not sure how one could achieve this result - which I think is a good pattern - without running into this proble

Re: Task.init() called twice ?

2002-06-25 Thread Conor MacNeill
Matt Koss wrote: > I am trying to understand the execution loop of the task. > > I have written a custom task and I have put the initialisation code inside of > the init() method. > I thought that init() method is called only once ( for taskdef ) and that > execute() method is then called for e

Re: Ant 1.5Beta3 Released

2002-06-25 Thread Diane Holt
--- "Hal Hildebrand (web)" <[EMAIL PROTECTED]> wrote: > Why can't it just be MSG_VERBOSE instead of MSG_WARN? Seems more > reasonable to me Okay, I just downloaded beta3, and it looks like that is the case now. The problem with your example is that you are in fact trying to override a prev

Re: javac and dependencies

2002-06-25 Thread Matt Koss
On Tuesday 25 June 2002 1:04 pm, Matt Koss wrote: > How can I compile class so that only that class is compiled plus all > classes on which it depends ? > If I use javac in JDE it does it exactly this way, however javac task in > ant compiles only the class ( i.e. it omits the classes on which my

javac and dependencies

2002-06-25 Thread Matt Koss
How can I compile class so that only that class is compiled plus all classes on which it depends ? If I use javac in JDE it does it exactly this way, however javac task in ant compiles only the class ( i.e. it omits the classes on which my class depends ). I have experimentd with different set

Task.init() called twice ?

2002-06-25 Thread Matt Koss
I am trying to understand the execution loop of the task. I have written a custom task and I have put the initialisation code inside of the init() method. I thought that init() method is called only once ( for taskdef ) and that execute() method is then called for each occurence of the custom