QALab 0.9.1 released (QA stats for build)

2006-08-30 Thread Benoitx
Hi *, ObjectLab is pleased to announce the release of QALab 0.9.1, a tool working with both Ant and Maven. http://qalab.sourceforge.net QA Tools like checkstyle, pmd, findbugs, cobertura (cobertura-branch and cobertura-line) and simian are great build tools but they only take a snapshot of the

Re: Jar Locking

2006-08-30 Thread Alexey N. Solofnenko
For the same reason, I switched to use generated classes in my IDE (JBuilder). JAR files are only generated for full builds. As a side effect, development builds are now much faster. - Alexey. Marc Farrow wrote: Everytime I run an ant task (either in NetBeans or from within Java Code), the ex

Re: Jar Locking

2006-08-30 Thread Matt Benson
--- Marc Farrow <[EMAIL PROTECTED]> wrote: > Everytime I run an ant task (either in NetBeans or > from within Java Code), > the executing jar gets locked and I cannot delete > the jar. I am copying the > ant script and the dependent jar that it needs to > run and then executing the > ant tasks.

Jar Locking

2006-08-30 Thread Marc Farrow
Everytime I run an ant task (either in NetBeans or from within Java Code), the executing jar gets locked and I cannot delete the jar. I am copying the ant script and the dependent jar that it needs to run and then executing the ant tasks. Then I wish to delete the "new" copy I just created to ru

Re: Redhat Linux Enterprise issues with command line argument containing spaces

2006-08-30 Thread Irene Ros
Hi Dominique, I am running version 1.5.4. Unfortunately it's not an option for me to update to another version, it is prepackaged with our product. I am using the jar that we ship and there is no pre-installed ant on the system. Is anyone else developing on RHEL 4 by any chance? Thanks!! Irene

Re: Redhat Linux Enterprise issues with command line argument containing spaces

2006-08-30 Thread Dominique Devienne
First, make sure you're using the install of Ant you expect. Linux often comes with a pre-installed Ant which might be older than the one you think you are using, which ant.sh automatically use by default. Use the package manager to find out if Ant is pre-installed. Second, this sounds like an is

Redhat Linux Enterprise issues with command line argument containing spaces

2006-08-30 Thread Irene Ros
Hello, I've been developing various configuration scripts and I noticed that when I pass arguments through the command like such as -Dusername="firstname lastname" only the part prior to the space is registered. So when I reference ${username} it will return "firstname". Is there any workaround

Re: Jar task : Manifest File ends with Windows ending '\r'.

2006-08-30 Thread Antoine Levy-Lambert
Hello Matt, I am -1 to change the way ant stores manifests. At least if you want to change something, do not change the default behavior. Adding an attribute to choose the eol style of the manifest is OK, as long as the default behavior does not change. If you change the default behavior, Wind

Re: Jar task : Manifest File ends with Windows ending '\r'.

2006-08-30 Thread Matt Benson
--- Conor MacNeill <[EMAIL PROTECTED]> wrote: > > > Antoine Levy-Lambert wrote: > > Hello Sebastien, > > > > I am not aware of this. It would be a bug if : > > > > a) it is contrary to the specification of jar > files and of manifests > > > > or > > > > b) it causes the jar files to be disfun

Re: Jar task : Manifest File ends with Windows ending '\r'.

2006-08-30 Thread Conor MacNeill
Antoine Levy-Lambert wrote: > Hello Sebastien, > > I am not aware of this. It would be a bug if : > > a) it is contrary to the specification of jar files and of manifests > > or > > b) it causes the jar files to be disfunctional > > Actually, it makes sense that the format of the manifest fi

RE: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Stephen McConnell
> -Original Message- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 30 August 2006 11:10 PM > To: Ant Users List > Subject: Re: Change JAVA home for one Javac task and not the other > > Can't you just specify the source level when you call the > javac task? The same

Re: Jar task : Manifest File ends with Windows ending '\r'.

2006-08-30 Thread Antoine Levy-Lambert
Hello Sebastien, I am not aware of this. It would be a bug if : a) it is contrary to the specification of jar files and of manifests or b) it causes the jar files to be disfunctional Actually, it makes sense that the format of the manifest files be independent of the platform where you run th

Re: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Antoine Levy-Lambert
Hello Sebastien, Marc, you have to fork the in this case. so Regards, Antoine Original-Nachricht Datum: Wed, 30 Aug 2006 09:39:43 -0400 Von: "Marc Farrow" <[EMAIL PROTECTED]> An: "Ant Users List" Betreff: Re: Change JAVA home for one Javac task and not the other > Can't y

Re: Change JAVA home for one Javac task and not the other

2006-08-30 Thread Marc Farrow
Can't you just specify the source level when you call the javac task? The same as Something like javac -source 1.3 -target 1.3 com.mycompany.MyClass.java On 8/30/06, Noel Sebastien (BIL) <[EMAIL PROTECTED]> wrote: Hello, I have one build.xml, with two Javac tasks (amongt several other ones).

Change JAVA home for one Javac task and not the other

2006-08-30 Thread Noel Sebastien \(BIL\)
Hello, I have one build.xml, with two Javac tasks (amongt several other ones). The first javac task uses the default java.home (which is our JDK 1.4.1) => works fine The second javac task should use another java.home (JDK 1.3.1 for example) => but how do change the javac path ? Something like sys

Re: Waitfor task

2006-08-30 Thread Steve Loughran
DHARNA, AJAY [AG/1000] wrote: I forgot to mention, when I hit the URL on the web browser it seems to hang and doesn't return - this I why I was hoping the timeout would work in the waitfor task. no, waitfor doesnt do what you want It spins, evaluating a test for three minutes, but does not kil

Re: Sharing inter-project dependencies

2006-08-30 Thread Steve Loughran
Markus M. May wrote: Hello Michael, we are solving this, by having a central repository (pretty much like the maven repository) which contains all JAR-files of all components. Therefor you can then reference a fileset with all neede files from the repository. The hard thing is, that the compone

Jar task : Manifest File ends with Windows ending '\r'.

2006-08-30 Thread Noel Sebastien \(BIL\)
> Hello > Am I right to say that there is a little bug in the Jar task about generating > the manifest file under Windows format on any platform (each line ends with > \r\n instead of \n only in Unix). ? > I am using Ant 1.6.5 and the jar task under Sun Solaris and my manifest > contains \r\n on