2 Replies Latest reply on Oct 20, 2002 12:27 AM by David Babin

    Problem starting the Template example

    Laura Cardinal Newbie

      I'm just starting to learn jboss and I'm going crazy. Could someone please help me just get a simple example running? From my understanding of everything, it would be okay to 1) Start the jboss run.bat file 2) run ant from the directory where the example is. Yeah? I keep trying it and I get the following error after starting ant:

      C:\jb\jboss-3.0.3\template>ant
      Buildfile: build.xml

      check-environment:

      check-jboss:

      wrong-jboss:

      check-xdoclet:

      wrong-xdoclet:

      init:
      [echo] build.compiler = ${build.compiler}
      [echo] user.home = C:\Documents and Settings\LauraB Cardinal
      [echo] java.home = C:\j2sdk1.4.1\jre
      [echo] ant.home = C:\ANT
      [echo] jboss.home = C:/jb/jboss-3.0.3
      [echo] xdoclet.home = C:/xdoclet
      [echo] java.class.path = C:\j2sdk1.4.1\lib\tools.jar;C:\ANT\lib\xml-apis.jar;C:\ANT\lib\xercesImpl.jar;C:\ANT\lib\optional.jar;C:\ANT\lib\ant.jar;C:\J2SDK1.4.1;C:\j2sdkee1.3.1


      xdoclet-generate:

      BUILD FAILED
      file:C:/jb/jboss-3.0.3/template/build.xml:147: The task doesn't support the nested "packagesubstitution" element.

      Total time: 4 seconds
      C:\jb\jboss-3.0.3\template>

      I'm SO lost right now it's unreal. But I think I've sorta figured things out to this point. I'm running win2000. Does anybody have an insight into this problem?

      please help,
      LauraB