2 Replies Latest reply on Jan 21, 2004 10:31 AM by n2

    Error reading project file: unknown protocol: resource

    ageejas1

      When I try to build JBoss 3.0 on HP-UX 11.00 I get the following error:

      BUILD FAILED
      Error reading project file: unknown protocol: resource

      I cannot decipher this, so all help will be useful. Thanks.

        • 1. Re: Error reading project file: unknown protocol: resource
          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

            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.