3 Replies Latest reply on Aug 9, 2007 3:49 PM by timfox

    you may wish to fix the build.xml file for examples/http

    geeky2

      hello tim,

      you may wish to fix the build.xml file for the /examples/http

      the current build.xml has:

       <target name="deploy">
       <copy file="../../../src/etc/remoting/remoting-http-service.xml"
       todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
       <copy file="./etc/messaging-http-service.xml"
       todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
       <antcall target="sleep"><param name="sleep.interval" value="10"/></antcall>
       </target>
      




      but i believe it may need to be:

       <target name="deploy">
       <copy file="../../src/etc/remoting/remoting-http-service.xml"
       todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
       <copy file="./etc/messaging-http-service.xml"
       todir="${jboss.home}/server/${jboss.configuration}/deploy"/>
       <antcall target="sleep"><param name="sleep.interval" value="10"/></antcall>
       </target>
      


      notice that the first copy file has one too many ../

      this is assuming the following:

      mark@gecko1:~/jbm/src> find
      .
      ./etc
      ./etc/remoting
      ./etc/remoting/remoting-http-service.xml
      ./etc/remoting/remoting-bisocket-service.xml
      ./etc/remoting/remoting-sslbisocket-service.xml
      


      and the JBM distro examples are installed at:



      $JBM/examples/http/
      


      thx
      mark