2 Replies Latest reply on Jan 25, 2003 6:22 PM by uromahn

    .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

          if the error message is accurate, then your jboss.home should point to something like:
          C:\jboss-3.0.4_tomcat-4.1.12\server\default

          or

          C:\jboss-3.0.4_tomcat-4.1.12\server\all

          or something similar (depending which config you're running, default|all|custom)

          • 2. Re: .ant.properties

            If I read the documentation correctly, all paths in the .ant.properties file needs to have forward slahses '/' instead of the user backslahses '\' in your example, even in a Win32 environment.

            Give it a try - it worked for me,

            -Uli