5 Replies Latest reply on Aug 6, 2003 4:16 PM by rgrokett

    Template Project

    David Hoots Newbie

      Anybody know where the template project can be downloaded? It no longer seems to be available on the Sourceforge page.

      Thanks!

        • 2. Re: Template Project
          Deepak Mittal Newbie

          I'm also having the same problem. I'm not able to find the template project on the jboss site. Can any one help me with this?

          Thanks,

          -Deepak

          • 3. Re: Template Project
            sxgray Newbie

            JBoss home page - click on the Documentation link under Services - then scroll to the bottom.

            • 4. Re: Template Project
              vvp Newbie

              That one seems to be broken : Files missing, does not compile without errors, is incompatible with "QuickStart guide for JBoss 30x.pdf". Pity!

              • 5. Re: Template Project
                rgrokett Newbie

                Once I had the template project d/l'ed, getting it to work was a bit more effort. Here's a modified form of the Readme file for the template example:

                Project Template for JBoss 3.0:
                ===============================

                In order to use this template you have to download
                and install:

                - JBoss 3.0 (it does not work with JBoss 2.4)
                - XDoclet 1.1.2 (from www.sf.net/projects/xdoclet)
                - Ant 1.4.1 (will not work with ealier versions)

                I'm using JBoss 3.2.1_tomcat-4.1.24
                with XDoclet 1.2b4
                and Ant 1.5.3

                1. Copy .ant.properties.example to build.properties
                Edit with locations of above.

                2. Edit build.xml as follows: (this is for UN*X)
                ------ snip & save to "diffs.txt" ------
                142d
                140d
                134c
                classname="xdoclet.modules.ejb.EjbDocletTask"
                classpathref="base.path"
                .
                110a



                .
                108d
                103c
                <!-- AS Maybe necessary for Ant 1.5 and XDoclet 1.3 -->
                .
                13,14c


                .
                ------------ end snip -------------
                (If you read this bottom to top, it will make more sense)

                $ (cat diffs.txt; echo '1,$p') | ed - build.xml > build.xml.new

                Keep a copy of the original build.xml and overwrite it with the .new file.

                Also, I created a couple symbolic links of the following files in the xdoclet.home/lib dir:
                xdoclet.jar -> xdoclet-1.2b4.jar
                xjavadoc.jar -> xjavadoc-1.0.jar

                Use NO CLASSPATH.

                Now ant should work.


                Attached are samples of my files