When I followed the build instruction in the guide,
my build command was failing with:

> build/build.sh
Searching for build.xml ...
Buildfile: /u2/src/jboss/jboss-all/build/build.xml

BUILD FAILED

Error reading project file

Total time: 1 second
> 


Sombody raised this issue back on December 13th,2001 but it went unanswered. 

Anyway, I solved my problem, it was due to my having
an existing  ~/.antrc configuration file that is setting
ANT_HOME.

Seems like the following DOCTYPE in build.xml was the cause of the problem when using 
my version of ant
pointed by ANT_HOME.

<!DOCTYPE project [
  <!ENTITY buildmagic SYSTEM "resource://org/jboss/tools/buildmagic/common.xml">]>

Without my .antrc, it seems the build tool was able to
pick the files that are in the jboss-all/tools directory
instead of my ant installation.

Hopefully this will help others, and maybe someone has a better suggestion than 
renaming my .antrc file when building Jboss (or playing with $HOME).
Maybe the build.sh script (or the local ant shell
script) could be modified to be resilient to this
problem.

-- regards

* * *

View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=14129

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to