**************************************************************************** ** ** Help for Velocity build file ** ** Target Depends on Description ** default - see jar ** env echos environment variables to screen ** prepare env creates build dir, copies source ** J2EE-error prepare message if J2EE missing but required ** compile prepare compiles non-J2EE source ** compile-J2EE prepare, J2EE-error compiles J2EE source ** compile-copy move non-J2EE classes out of the way. ** jar compile prepares {project}-{version} jar file. Note ** that nothing except Velocity code is included ** dependencies are separate. ** jar-dep compile Same as 'jar', but includes Oro and Logkit ** dependencies for convenience. ** jar-J2EE compile-J2EE prepares jar including J2EE ** jar-J2EE-dep compile-J2EE same as 'jar-J2EE', but with Oro and ** Logkit dependencies for convenience ** jar-core compile prepares jar with only core classes ** jar-util compile prepares jar with only util classes ** jar-servlet compile prepares jar with only servlet classes ** jar-src prepares jar of source ** examples jar compiles examples and calls forumdemo ** examples-clean-anakia cleans anakia example ** examples-clean-forumdemo cleans forum demo ** examples-clean-all cleans the anakia/forumdemo examples ** javadocs prepare build javadocs ** javadocs-clean delete javadocs ** docs jar Velocity Documentation ** docs_print jar Velocity Documentation (printable) ** test compile runs JUnit tests ** test-clean deletes test results ** clean deletes build dir *************************************************************************** ******************************************************** ** ** J2EE has not been found and is needed for the target ** you have chosen ** ** Since CLASSPATH is an evil idea, just link or drop ** a copy of your j2ee.jar into build/lib directory. ** ********************************************************* ************************************************************** ** Building the examples : ** examples/appexample1 : application example ** examples/appexample2 : application example ** examples/servletexample1 : servlet example ** examples/servletexample2 : servlet example ** examples/context_example : example context implementations ** examples/logger_example : how to make an external logger ** examples/xmlapp_example : how to access XML data in a template ** examples/event_example : how to use Velocity's event handlers ** forumdemo : demonstration webapp ************************************************************** ####################################################### # # Now using Anakia to transform our XML documentation # to HTML. # # Note : this step depends upon having the jakarta-site2 # project located as a peer to the jakarta-velocity # directory (the directory that holds the Velocity # distribution.) That means that jakarta-site2 and # jakarta-velocity are located in the same subdirectory. # # Please see : # http://jakarta.apache.org/site/cvsindex.html # for more information on obtaining jakarta-site2. # ####################################################### ####################################################### # # Now using Anakia to transform our XML documentation # to HTML. # # Note : this step depends upon having the jakarta-site2 # project located as a peer to the jakarta-velocity # directory (the directory that holds the Velocity # distribution.) That means that jakarta-site2 and # jakarta-velocity are located in the same subdirectory. # # Please see : # http://jakarta.apache.org/site/cvsindex.html # for more information on obtaining jakarta-site2. # ####################################################### ************************************************** ** Building the Forum demo ... ** Remember to set the PATH in Velocity.properties ** once you move the WAR to your Servlet engine. ** ** The WAR can be found in the bin directory **************************************************