This content has been marked as final.
Show 2 replies
-
1. Re: Error reading project file: unknown protocol: resource
ageejas1 Aug 26, 2002 4:52 PM (in response to ageejas1)For reference in the future, here is how I *think* I solved it. I edited the build.sh file and in the main block made the changes:
# comment out the search call
# ANT_HOME=`search $ANT_SEARCH_PATH`
# hard code the path to the tools directory.
ANT_HOME="/usr/JBoss/JBoss-3.0.0-2/jboss-all/tools"
This allowed the build to start working, however I still have problems with the compiler throwing "Cannot resolve symbol" errors. I don't think those issues are related to this, so I do believe that the above fixed this particular problem. Hope this helps someone. -
2. Re: Error reading project file: unknown protocol: resource
n2 Jan 21, 2004 10:31 AM (in response to ageejas1)on my linux machine, i also had to change ../tools/bin/ant.sh in the jboss source dir:
i uncommented the following lines in the beginning of the file:# load system-wide ant configuration #if [ -f "/etc/ant.conf" ] ; then # . /etc/ant.conf #fi
if you dont do so you and you have /etc/ant.conf with ANT_HOME set to your regular ant version the jboss ant version is not used.