Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This is version 2.
It is not the current version, and thus it cannot be edited. AppFuse is easy to configure with Anthill for automated build/testing/deployment. Simply download Anthill and install it. Then you can easily configure your project (or AppFuse) by putting a projectname.anthill file in the $ANTHILL_HOME/projects directory. Here's the contents of the one I currently use for AppFuse. Feel free to copy and paste, but make sure to change the User and CVS information to point to your server.
anthill.schedule = hourly anthill.lastBuildFailDate = 12/12/2003 14:02:43 anthill.lastBuildSucceeded = true anthill.lastGoodBuildDate = 12/14/2003 06:04:29 anthill.registry.format.version = 1.1 anthill.publish.url = anthill.publish.dir = anthill.publish.script = build.xml anthill.publish.run_policy = success.only anthill.publish.ant.params.value = deploy anthill.build.script = build.xml anthill.build.tag = none anthill.build.ant.params$1.value = setup-db anthill.build.ant.params$2.value = setup-tomcat anthill.build.ant.params$3.value = test-all-running anthill.users.Sample User = [email protected] anthill.version.adapter = com.urbancode.anthill.adapter.UrbanCodeVersionAdapter anthill.version.file = anthill.version anthill.java.extra.options = anthill.mail.policy = always anthill.repository.adapter = com.urbancode.anthill.adapter.CVSRepositoryAdapter anthill.repository.cvs.root = :ext:[email protected]:/cvsroot/struts anthill.repository.cvs.module = appfuse anthill.repository.cvs.branch = anthill.repository.cvs.anthill.user = mraible anthill.repository.cvs.work.dir = work anthill.project.version = 1.1.1 Just so you know, here are the available build targets in AppFuse's build.xml file: foxxy:~/dev/appfuse mraible$ ant -projecthelp Buildfile: build.xml Main targets: checkstyle Check code style for compliance with coding standards clean Removes build artifacts compile-common Compile common module compile-ejb Compile ejb module compile-web Compile web module copy-resources Copy .properties and .xml files from source directory copy-web-files Copy static files db-create create database for ${database.type} db-drop drops database tables db-export Runs DBUnit Tests db-init creates database tables db-load Runs DBUnit Tests define-tasks defines custom tasks deploy unwar into the servlet container's deployment directory deploy-test-reports Deploys Generated JUnit test reports to server deploy-test-war Cactifies WAR file by adding cactus-specific needs deploy-war Deploy '${webapp.name}.war' to local Tomcat deploy-web deploy only web classes to servlet container's deploy directory dist create zip and tar.gz of entire directory for distribution docs runs javadoc, todo, checkstyle and pmd tasks ejbdoclet Generate Persistence and form classes ftp FTPs archive files to specified server gen-tests-common Generate tests for common module gen-tests-ejb Generate tests for ejb module gen-tests-web Generate tests for web module init init target directory java2html creates HTML pages of code for online viewing javadoc Generate JavaDoc API docs jsp-2 Convert JSP 1.2 tags (i.e. JSTL) to JSP 2.0 new creates a new project with the specified name package-ejb Package EJB JAR package-web Package WAR ping-tomcat pings tomcat to make sure it's running pmd Locates unused imports, unused variables, etc. reload Stops Tomcat, undeploys, cleans, then re-deploys setup-db creates database and populates by calling other tasks setup-tomcat copies jdbc driver and context.xml to tomcat stage-web Calls other targets to gather static resources start.tomcat starts tomcat in the current console window stop.tomcat stops tomcat test-all runs all tests for common, ejb and web test-all-running runs all tests for common, ejb and web test-cactus Runs Cactus tests in Tomcat, starts/stops server test-canoo Runs Canoo WebTests in Tomcat to test JSPs test-common Test common module test-ejb Test ejb module test-jsp Runs Canoo WebTests using Cactus test-reports Generate test reports test-web Test web module undeploy undeploy war file to servlet container's deployment dir webdoclet Generate web and Struts descriptors wiki downloads files from wiki for doco Default target: package-web
|