0 Replies Latest reply on Jul 29, 2002 11:12 AM by Wessel de Roode

    get JBoss.3.0TemplateAndExamples working on Linux RH7.2 :-)

    Wessel de Roode Newbie

      Get the template example to work under linux you need to do the following (ignore previous posts about this from me this is the fastest and quickest method imho ;-)

      When you installed the Jpackage RPM's you need to create an symbolic link from the ant.jar file to the lib dir like this:

      ln -s /usr/share/java/ant.jar /usr/lib/ant.jar

      The next thing to do is to change the line in the build.xml file
      webxml="${src.etc.dir}/WEB-INF/web-client.xml"
      into this:
      webxml="${src.etc.dir}/web-inf/web-client.xml"

      Edit the .ant.properties file to set the correct path's and you can run the template example on a Linux box with ant installed as a rpm.

      Knf!
      Wessel de Roode
      here is a patch for the build file (for completness)

      --- build.xml Mon Jul 29 15:34:50 2002
      +++ build.xml Mon Jul 29 16:02:48 2002
      @@ -262,7 +262,7 @@

      <war
      warfile="${build.deploy.dir}/web-client.war"
      - webxml="${src.etc.dir}/WEB-INF/web-client.xml"
      + webxml="${src.etc.dir}/web-inf/web-client.xml"
      >