1 Reply Latest reply on Jan 22, 2003 7:28 AM by hansbaus

    .ant.properties

    zaaba

      I am on page 23 of the Getting Started docs.

      I am trying to configure .ant.properties with jboss.home and xdoclet.home.

      My jboss.home is C:\jboss-3.0.4_tomcat-4.1.12 and contains the directories bin, client server etc...

      My xdoclet.home is xdoclet.home=C:\jboss-3.0.4_tomcat-4.1.12\src\xdoclet

      I called up the build.xml file in my browser and saw the following:





      -
      Property "jboss.home" is not set. Please use the file ".ant.properties" in this directory ${basedir} to set this property. It must point to the directory which contains the following directory: "deploy", "conf", "tmp" etc.

      -
      Property "jboss.home" is set but it does not seem to point to the right directory. The file "run.jar" must be available at ${jboss.home}/bin.

      -
      Property "xdoclet.home" is not set. Please use the file ".ant.properties" in this directory ${basedir} to set this property. It must point to the root directory of XDoclet distribution.

      -
      Property "xdoclet.home" is set but it does not seem to point to the right directory. The file "xdoclet.jar" must be available at ${xdoclet.home}/lib.

      I was sure that .ant.properties was OK

      Can anyone see why?

      Scott

        • 1. Re: .ant.properties
          hansbaus

          You've posted part of the build.xml that refers to the .ant.properties file. You need to modify the .ant.properties fileitself!

          See the attachment for an example. I'm running JBoss on Linux, so the paths will be different.