Re: Permissible values for attribute 'os'

2001-08-20 Thread Kai Bartels
On Sun, Aug 19, 2001 at 07:11:34PM -0700, Erik Hatcher wrote: > > On Windows 2k its returning "Windows 2000". > > - Original Message - > > What are the permissible values for the attribute 'os' in the built-in > task > > 'Exec' I know of "SunOS", "Linux" and "Windows NT" -- "Lawful, a

if and depends in a target

2001-08-08 Thread Kai Bartels
Hi *! I just learned by try and error that the tags "if" and "depends" in a target don't cooperate the way I expected. I expected that, when a target is nor executed because of some if or unless clause, all dpenedend targets won't be executed, either. But they are! Is this considered a bug or a

Re: Replace task - getting *tokens* from a properties file?

2001-06-13 Thread Kai Bartels
On Wed, Jun 13, 2001 at 03:36:36PM +0100, Jon Skeet wrote: > In my old build procedure I had a few steps which take a normal file > (.java or whatever) and a properties file. The properties file had, for > instance: > > Version=foo > Name=bar > > I have a little Java program which looks through

criticism: property handling (here: no overwrite)

2001-06-12 Thread Kai Bartels
Hi *! I'm just having some trouble with the rule that properties cannot be changed after they are once set. I've to admit I'm missing the history of this rule, but it seems like a basic drawback to me: We are using a build file in a team here, so we include per-user property files, two of them.

Re: Ant,Java,JUnit and class initialization ?

2001-04-11 Thread Kai Bartels
On Wed, Apr 11, 2001 at 12:48:00PM +0200, Stefan Bodewig wrote: > Your Supervisor class is loaded more than once. Singleton like > patterns work only on a per classloader basis, that is you get one > instance of your Supervisor per classloader. [...] > The only workaround I see is to put all nece

Ant,Java,JUnit and class initialization ?

2001-04-11 Thread Kai Bartels
Hi there! I got another problem in trying to create tests for my application with junit and ant; this one is kinda weird, I think. The application is a database-based server that has to be started in order to be tested properly. So I have two targets that are executed one after the other. The fir

Re: output: "experimental" task in group build file - how to?

2001-04-10 Thread Kai Bartels
On Tue, Apr 10, 2001 at 03:09:28PM +0200, Stefan Bodewig wrote: > Kai Bartels <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 10, 2001 at 08:43:45AM +0200, Stefan Bodewig wrote: > >> If it doesn't work, please give us a little more information (build > >> file s

output: "experimental" task in group build file - how to?

2001-04-10 Thread Kai Bartels
On Tue, Apr 10, 2001 at 08:43:45AM +0200, Stefan Bodewig wrote: > Kai Bartels <[EMAIL PROTECTED]> wrote: > > > When I only insert the taskdef into the build file, the jar is not > > required, but as soon as I insert a target that uses ajc, ant tries > > to instantia

"experimental" task in group build file - how to?

2001-04-09 Thread Kai Bartels
Hi gurus! :^) I'd like to do the following but can't figure out how - any ideas? We have a build file for the current project that everyone working on this project uses, so changes on that file affect all of us. Now I'd like to "play" with aspectj locally but also would like to use the build fil

Re: javac on Unix

2001-04-05 Thread Kai Bartels
On Wed, Apr 04, 2001 at 09:07:53AM -0700, Dana Rice wrote: > Conor, > where is this set? > > -Original Message- > From: Conor MacNeill [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 03, 2001 6:55 PM > To: [EMAIL PROTECTED] > Subject: RE: javac on Unix > > > Dana, > > Since javac is

Re: ANT 1.3 - JavaC - out of memmory, how do I specifiy more?

2001-03-22 Thread Kai Bartels
On Thu, Mar 22, 2001 at 04:10:06PM +, Jeffrey Porter wrote: > I'm trying to compile a bunch of code & I get the out of memory > message. How do I tell the javac command what memory size I want? Hi Jeff. Since the compiler runs in ant's VM, you have to tell ant about the memory. I did that in

fileset to gen args for java task ?

2001-03-22 Thread Kai Bartels
Hi there! (NB: I searched the ml archive for an answer but didn't find one.) Background: I'd like to have the aspectj compiler started by ant. I thought about using the java task to start the aspectj compiler. The compiler needs a full list of source files to compile as command line arguments.