Update of /cvsroot/xdoclet/xdoclet2/demo
In directory sc8-pr-cvs1:/tmp/cvs-serv21554/demo

Modified Files:
        maven.xml 
Added Files:
        README.txt 
Log Message:
Added some velocity too.

--- NEW FILE: README.txt ---
This is a little project to help yuo get started with XDoclet 2.

This project demonstrates how to write your own Velocity or Jelly
scripts and render them with XDoclet.

The scripts will generate some really poor API docs for the sources.
It should help you get started with what you want to generate.

In order to try it out, you first need to build XDoclet 2. When Xdoclet 2
is built, just type

maven console

Then you can execute the "jelly" goal or the "velocity" goal.
Try to fiddle with the templates and run these goals again.

You should take a look at the XJavaDoc API (you currently need to get
it from the xjavadoc CVS module and build the API docs yourself) to
figure out what methods/properties you can access from your Jelly/Velocity
scripts.
Index: maven.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet2/demo/maven.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** maven.xml   17 Mar 2003 13:38:58 -0000      1.1
--- maven.xml   17 Mar 2003 13:55:16 -0000      1.2
***************
*** 35,43 ****
        <fileset dir="${pom.build.sourceDirectory}"/>
  
!       <velocity templatePath="src/templates/one.vm"
                  destination="${maven.build.dir}/velocity" 
!                 filename="index.html"/>
  
!       <velocity templatePath="src/templates/many.vm"
                  destination="${maven.build.dir}/velocity" 
                  filename="{1}.{0}.html"/>
--- 35,45 ----
        <fileset dir="${pom.build.sourceDirectory}"/>
  
!       <velocity templatePath="src/templates/index.vm"
                  destination="${maven.build.dir}/velocity" 
!                 filename="index.html">
!         <property name="header" value="${pom.name}"/>
!       </velocity>
  
!       <velocity templatePath="src/templates/class.vm"
                  destination="${maven.build.dir}/velocity" 
                  filename="{1}.{0}.html"/>



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to