X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=build%2Fheader.xml;fp=build%2Fheader.xml;h=0000000000000000000000000000000000000000;hb=c2ca8438bcaa20bfe3e90bb379343c019c33f339;hp=e284f44c9132702d824a8142bc5f51f545f37b51;hpb=5c51df8069feb393d1c2118b3d4ba52d612cb46d;p=utils
diff --git a/build/header.xml b/build/header.xml
deleted file mode 100644
index e284f44c..00000000
--- a/build/header.xml
+++ /dev/null
@@ -1,724 +0,0 @@
-
-
-
- Using properties file ${user.property.file}
-
-
-
- Properties file ${user.property.file} not found, reverting to defaults
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Getting dependence ${group}/${artifact}/${version}
-
-
-
-
-
-
-
-
- Getting dependence ${group}/${version}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Preparation:
-
- To execute with a specific proxy host and port, start ant with the
- command-line options -Dproxyhost=hostname -Dproxyport=portnumber.
-
- deps: Download dependencies, this is necessary for using
- any of the build targets.
- clean-deps: Remove downloaded dependencies.
-
- General build targets:
-
- clean: Cleans up all build results (excluding the dist location).
- compile: Compiles all java clasess. Target dir ${module.classes.dir}
- jar: Creates a jar file. Target: ${module.jar.file}
- dist: Makes the build results available for other modules Target: ${module.dist.dir}.
- dist-lite: Similar to dist but only creates the jars for code and test code. Useful
- during development because it takes much less time than the dist
- target
- clean-dist: Cleans up the dist directories.
-
- Test:
-
- test: Compile and run tests.
- junit-reports: As test but generates a test report. Target: ${module.report.dir}(/html/unit)
- reports: As junit-reports but also generates an emma test coverage
- report
-
- Note: By specifying -Dtest=TestCaseName on the ant command line,
- only the specified testcase will be run.
-
- Emma can also be executed manually:
-
- emma: Overwrites the production classes by their instrumented versions.
- emma-reports: Generates emma code coverage reports after running the
- testcases with instrumented classes.
-
- Javadoc targets:
-
- javadoc: Generates javadoc. Target: ${module.javadoc.dir}
- doccheck: Checks documentation. Target: ${module.doccheck.dir}
-
- Forrest:
-
- forrest: Generates project docs using forrest.
-
- Code analysis:
-
- checkstyle: Checks the style of the code.
- format: Formats to the code in accordance with the checkstyle rules.
- simian: Analyse similarities in the code.
-
- Building a web application:
-
- To build a web application archive (WAR) you must set the property
- webroot.dir to the value of the directory which is the root of your
- web application. This must be done before the header.xl is
- sourced. The build support will then make sure that
- classes and libs are put in the correct directories below
- ${webroot.dir}/WEB-INF, and it will build a web archive.
-
- Database targets: ** database targets are not functional yet **
-
- For all targets below the database is configured using
- hibernate.properties (hibernate.dialect property) and
- the JDBC connection properties in database.properties.
-
- The schemaexport and schemaupdate targets require the
- setting of a property named hibernate.filelist. The value
- of the property must be the fully qualified class name of
- a concrete subclass of ConfigFileList which has a default
- public constructor and defines the Hibernate mapping files that
- can be used.
-
- schemaexport: Generate SQL code to create the required database structures.
-
- startdb: Startup a lightweight database. The database
- type to start is obtained from the currently
- configured database.
-
- schemaupdate: Populate the database with a schema by running
- Hibernate schemaupdate against the currently
- configured database.
-
-
-
-