0 Replies Latest reply on Jul 20, 2004 6:03 AM by sender jones

    can't compile Duke's Bank with ant

    sender jones Newbie

      Followed the jbossj2ee.pdf to build the sampe appl'n of j2ee1.3, but failed in ant compilation. Modified the ant.bat to show the command line:

      E:\j2eetutorial\bank>ant -f jboss-build.xml compile

      E:\j2eetutorial\bank>"d:\j2sdk1.4.1_02\bin\java" -classpath "d:\j2sdk1.4.1_02\li
      b\tools.jar;d:\jakarta-ant-1.4.1\lib\jaxp.jar;d:\jakarta-ant-1.4.1\lib\crimson.j
      ar;d:\jakarta-ant-1.4.1\lib\ant.jar;d:\j2sdkee1.3\lib\j2ee.jar;d:\jakarta-ant-1.
      4.1\lib\ant.jar;d:\jdori-1_0\lib\antlr.jar;d:\jakarta-tomcat-4.0.1\common\lib\;d
      :\jakarta-tomcat-4.0.1\webapps\Photo\WEB-INF\classes;e:\hsqldb_v.1.61\classes\"
      -Dant.home="d:\jakarta-ant-1.4.1" org.apache.tools.ant.Main -f jboss-build.xml
      compile
      Usage: java [-options] class [args...]
      (to execute a class)
      or java -jar [-options] jarfile [args...]
      (to execute a jar file)

      where options include:
      -client to select the "client" VM..............

      What's wrong with my ant?