This failure has been on cruisecontrol for a while.

http://cruisecontrol.jboss.com/cc/artifacts/jboss-head-jdk-matrix/20070509185607/clean.log

 

Looks like 2 buildinstances cannot be invoked in the same process?

 

   <target name="createthirdparty" unless="inhibit.downloads"

      depends="check.inhibit.downloads, set.proxy">

      <ant antfile="build-thirdparty.xml" target="generate-lib-file"/>

      <ant dir="../testsuite" antfile="build-thirdparty.xml" target="generate-lib-file"/>

   </target>

 

Either of the above ant calls works separately.

 

The Build task in org.jboss.ant.types.build.Build (jbossbuild) throws this exception.

 

   /**

    * Create a new build

    */

   public Build()

   {

      if (buildInstance != null)

         throw new BuildException("Duplicate build");

      buildInstance = this;

   }

 


From: jboss-development-bounces@lists.jboss.org [mailto:jboss-development-bounces@lists.jboss.org] On Behalf Of Scott M Stark
Sent: Thursday, May 10, 2007 3:25 PM
To: JBoss.org development list
Subject: Re: [jboss-dev] jboss50 build fails

 

I just pulled down a clean checkout to my laptop and tried build clean and its working. I used ant rather than the build.sh script as this is broken for use with cygwin.


Jean-Frederic wrote:

On Wed, 2007-05-09 at 04:44 -0700, Scott M Stark wrote:
  
Your build dir and/or testsuite/build.xml are out of date.
    
 
In fact the following fails:
build/build.sh clean
+++
BUILD FAILED
/home/jfclere/jbossas_head/build/build.xml:898: The following error
occurred while executing this line:
/home/jfclere/jbossas_head/testsuite/build-thirdparty.xml:39: Could not
create type build due to Duplicate build
 
Total time: 1 minute 27 seconds
+++
 
Cheers
 
Jean-Frederic