1 Reply Latest reply on Dec 5, 2006 4:07 PM by freecouch

    Could not create task or type of type: depend.

    freecouch

      When trying to compile JBoss on an AMD64 server running Suse 10.1, I get the following error:

      ./jboss-4.0.5.GA-src/tools/etc/buildmagic/buildmagic.ent:418: Could not create task or type of type: depend.


      Any help would be greatly appreciated.

        • 1. Re: Could not create task or type of type: depend.
          freecouch

          For those wondering how to get around this...

          Using YAST I deleted the ant that comes with SUSE and installed the latest from Apache. As instructed, I set up ANT_HOME to point to the new installation, and updated the PATH.

          Make sure the newly installed ant is being called by running:

          which ant

          It's also worth noting that I'm running the latest JDK from Sun, and no the one that ships with Suse 10.1. So, I have the following environment variables set up:
          JAVA_BINDIR=/usr/local/java/jdk/jdk1.5.0_10/bin
          JAVA_HOME=/usr/local/java/jdk/jdk1.5.0_10
          JAVA_ROOT=/usr/local/java/jdk/jdk1.5.0_10