build.xml --------- Added `build-shell` target. This creates a folder, `build/shell` and copies all of the required libraries and class files to that folder, excluding the groovy-all jar that conflicts with groovysh's internal classpath. Category.groovy --------------- Fixed a bug in the `addEvent()` function. CategorizationPlan.groovy ------------------------- * Rewrote this as groovy code. * Now is an abstract class instead of an interface. * Added a property, `newCatSetupFun`, which is a closure that will be run whenever this categorization plan creates a new category. A caller can set this via the constructor. * Added a function, `setupNewCategory()` that should be called inside of all `newCategory()` implementations. This allows the user to have categorization plans added to the subcategories dynamically. * Updated all the CategorizationPlan implementations to respect this new behavior. start-script.groovy ------------------- Implemented a more comprehensive analysis.
20 lines
555 B
XML
20 lines
555 B
XML
<project name="Time Analyzer" default="compile">
|
|
|
|
<property file="project.properties"/>
|
|
<import file="jdb-build-1.9.xml"/>
|
|
|
|
<target name="init"/>
|
|
|
|
<target name="build-shell" depends="build">
|
|
<mkdir dir="${build.dir}/shell"/>
|
|
<copy todir="${build.dir}/shell">
|
|
<fileset dir="${build.dir}/lib/runtime/jar">
|
|
<include name="*.jar"/>
|
|
<exclude name="groovy-*.jar"/>
|
|
</fileset>
|
|
<fileset dir="${build.dir}/main/classes"/>
|
|
</copy>
|
|
</target>
|
|
|
|
</project>
|