2 Replies Latest reply on Apr 26, 2005 4:18 AM by sviluppatorefico

    build on jboss-forums-2.0-beta1a

    sviluppatorefico

      hi....i've downloaded the sources of the last version of jboss forums but when I try to compile under solaris with the command $FORUMS_HOME/forums/build.shI have this error :

      ./build.sh: ./../tools: non esiste
      build.sh: *ERROR* The target executable does not exist:
      build.sh:
      build.sh: /bin/build.sh
      build.sh:
      build.sh: Please make sure you have checked out the 'tools' module
      build.sh: and make sure it is up to date.


      I thought that the tools home is the tools directory of JBossPortal (I have JBossPortal2.0beta) but if I do:

      export TOOLS_ROOT=$JBOSS_PORTAL_HOME/tools

      and then i rexecute the command build.sh i have this other error:



      bash-2.05$ ./build.sh
      build.sh: *WARNING* Ignoring environment value for $ANT_HOME
      build.sh: Executing: /home/stancapi/sources/jboss-portal-2.0-beta1-src/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger
      Buildfile: build.xml
      /home/stancapi/sources/jboss-forums-2.0-beta1a-src/forums/../tools/etc/buildfragments/buildmagic.ent could not be found

      BUILD FAILED
      java.io.FileNotFoundException: /home/stancapi/sources/jboss-forums-2.0-beta1a-src/forums/../tools/etc/buildfragments/buildmagic.ent (File o directory non trovati)

      Total time: 3 seconds



      what does it means?

        • 1. Re: build on jboss-forums-2.0-beta1a

          try to get the build from the CVS

          cvs -d :pserver:anonymous@anoncvs.forge.jboss.com login
          cvs -d :pserver:anonymous@anoncvs.forge.jboss.com co -P jboss-portal-2.0

          and see if it can build or not

          thanks

          • 2. Re: build on jboss-forums-2.0-beta1a
            sviluppatorefico

            sorry julien.....i cannot to try cvs because at work we have under a firewall.......but I tried to move the directory "forums" under the JBOSS_PORTAL_HOME and it has gone ahead....but now I have an other problem......I give you the build log:

            bash-2.05$ ./build.sh
            build.sh: *WARNING* Ignoring environment value for $ANT_HOME
            build.sh: Executing: /home/stancapi/sources/jboss-portal-2.0-beta1-src/tools/bin/ant -logger org.apache.tools.ant.NoBannerLogger
            Buildfile: build.xml
            
            _buildmagic:init:
            Trying to override old definition of task property
            
            BUILD FAILED
            file:/home/stancapi/sources/jboss-portal-2.0-beta1-src/forums/../tools/etc/buildfragments/buildmagic.ent:116: Reference dbunit.dbunit.classpath not found.
            
            Total time: 7 seconds