evenisse 2003/09/11 05:57:10 Modified: src/plugins-build/tjdo plugin.jelly plugin.properties src/plugins-build/tjdo/xdocs changes.xml index.xml properties.xml Log: detab Revision Changes Path 1.5 +80 -80 maven/src/plugins-build/tjdo/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven/src/plugins-build/tjdo/plugin.jelly,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- plugin.jelly 10 Sep 2003 14:19:42 -0000 1.4 +++ plugin.jelly 11 Sep 2003 12:57:10 -0000 1.5 @@ -1,96 +1,96 @@ <?xml version="1.0"?> <!-- - ============================================================================ - Plugin for Triactive JDO implementation. - ============================================================================ + ============================================================================ + Plugin for Triactive JDO implementation. + ============================================================================ --> <project - xmlns:j="jelly:core" - xmlns:ant="jelly:ant" - xmlns:u="jelly:util" - xmlns:doc="doc"> - - <!-- - ======================================================================== - Default goal. - ======================================================================== - --> - <goal name="tjdo" - description="Enhance classes for use with Triactive JDO" - prereqs="tjdo:enhance"/> - - <!-- - ======================================================================== - Initializations. - ======================================================================== - --> - <goal name="tjdo:init"> - <!-- Construct CLASSPATH to include TJDO and dependencies --> - <path id="tjdoClasspath"> - <path refid="maven.dependency.classpath"/> - <pathelement path="${maven.build.dest}"/> - <pathelement path="${plugin.getDependencyPath('tjdo')}"/> - </path> + xmlns:j="jelly:core" + xmlns:ant="jelly:ant" + xmlns:u="jelly:util" + xmlns:doc="doc"> + + <!-- + ======================================================================== + Default goal. + ======================================================================== + --> + <goal name="tjdo" + description="Enhance classes for use with Triactive JDO" + prereqs="tjdo:enhance"/> + + <!-- + ======================================================================== + Initializations. + ======================================================================== + --> + <goal name="tjdo:init"> + <!-- Construct CLASSPATH to include TJDO and dependencies --> + <path id="tjdoClasspath"> + <path refid="maven.dependency.classpath"/> + <pathelement path="${maven.build.dest}"/> + <pathelement path="${plugin.getDependencyPath('tjdo')}"/> + </path> <!-- Construct FileSet of JDO meta-data files --> - <j:set var="jdo_fileset_dir_var_name" value="maven.tjdo.jdo.fileset.dir"/> - <fileset dir="${context.getVariable(jdo_fileset_dir_var_name)}" id="jdo.files"> - <!-- Includes --> - <j:set var="jdo_fileset_include_var_name" value="maven.tjdo.jdo.fileset.include"/> - <j:if test="${context.getVariable(jdo_fileset_include_var_name) != null}"> - <include name="${context.getVariable(jdo_fileset_include_var_name)}"/> - </j:if> - - <!-- Excludes --> - <j:set var="jdo_fileset_exclude_var_name" value="maven.tjdo.jdo.fileset.exclude"/> - <j:if test="${context.getVariable(jdo_fileset_exclude_var_name) != null}"> - <exclude name="${context.getVariable(jdo_fileset_exclude_var_name)}"/> - </j:if> - </fileset> + <j:set var="jdo_fileset_dir_var_name" value="maven.tjdo.jdo.fileset.dir"/> + <fileset dir="${context.getVariable(jdo_fileset_dir_var_name)}" id="jdo.files"> + <!-- Includes --> + <j:set var="jdo_fileset_include_var_name" value="maven.tjdo.jdo.fileset.include"/> + <j:if test="${context.getVariable(jdo_fileset_include_var_name) != null}"> + <include name="${context.getVariable(jdo_fileset_include_var_name)}"/> + </j:if> + + <!-- Excludes --> + <j:set var="jdo_fileset_exclude_var_name" value="maven.tjdo.jdo.fileset.exclude"/> + <j:if test="${context.getVariable(jdo_fileset_exclude_var_name) != null}"> + <exclude name="${context.getVariable(jdo_fileset_exclude_var_name)}"/> + </j:if> + </fileset> <pathconvert pathsep=" " property="tjdoMetaDataFiles" refid="jdo.files"/> - </goal> + </goal> - <!-- - ======================================================================== - Run the enhancer on any class files to make the persistable. - ======================================================================== - --> - <goal name="tjdo:enhance" - description="Provides the enhancement of classes to use TJDO for persistence" - prereqs="tjdo:init"> - <echo>JDO-enhancing classes for Triactive JDO</echo> - - <!-- Run enhancer on JDO files --> - <ant:java dir="${maven.build.dest}" - classname="com.triactive.jdo.enhance.SunReferenceEnhancer" - failonerror="true" - fork="true"> - <classpath refid="tjdoClasspath"/> - <arg line="${tjdoMetaDataFiles}"/> - </ant:java> + <!-- + ======================================================================== + Run the enhancer on any class files to make the persistable. + ======================================================================== + --> + <goal name="tjdo:enhance" + description="Provides the enhancement of classes to use TJDO for persistence" + prereqs="tjdo:init"> + <echo>JDO-enhancing classes for Triactive JDO</echo> + + <!-- Run enhancer on JDO files --> + <ant:java dir="${maven.build.dest}" + classname="com.triactive.jdo.enhance.SunReferenceEnhancer" + failonerror="true" + fork="true"> + <classpath refid="tjdoClasspath"/> + <arg line="${tjdoMetaDataFiles}"/> + </ant:java> - <echo>Classes are now JDO-enhanced for Triactive JDO</echo> - </goal> + <echo>Classes are now JDO-enhanced for Triactive JDO</echo> + </goal> <!-- - ======================================================================== + ======================================================================== Goal to drop the JDO tables - ======================================================================== - --> - <goal name="tjdo:drop-tables" - description="Drops the tables managed by Triactive JDO." - prereqs="tjdo:init"> - - <!-- Drop JDO tables defined in JDO_TABLE --> - <ant:java dir="${maven.build.dest}" - classname="com.triactive.jdo.DropJDOTables" - failonerror="true" - fork="true"> - <classpath refid="tjdoClasspath"/> - </ant:java> + ======================================================================== + --> + <goal name="tjdo:drop-tables" + description="Drops the tables managed by Triactive JDO." + prereqs="tjdo:init"> + + <!-- Drop JDO tables defined in JDO_TABLE --> + <ant:java dir="${maven.build.dest}" + classname="com.triactive.jdo.DropJDOTables" + failonerror="true" + fork="true"> + <classpath refid="tjdoClasspath"/> + </ant:java> - <echo>DB tables for Triactive JDO have now been dropped</echo> - </goal> + <echo>DB tables for Triactive JDO have now been dropped</echo> + </goal> </project> 1.3 +3 -3 maven/src/plugins-build/tjdo/plugin.properties Index: plugin.properties =================================================================== RCS file: /home/cvs/maven/src/plugins-build/tjdo/plugin.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plugin.properties 19 Aug 2003 04:45:04 -0000 1.2 +++ plugin.properties 11 Sep 2003 12:57:10 -0000 1.3 @@ -6,11 +6,11 @@ # ------------------------------------------------------------------- # Parameters for specification of location of JDO files -# Directory root +# Directory root maven.tjdo.jdo.fileset.dir=${maven.build.dest} -# File Includes +# File Includes maven.tjdo.jdo.fileset.include=**/*.jdo -# File Excludes +# File Excludes maven.tjdo.jdo.fileset.exclude= # Location of any JAR containing the JDBC driver for the data store being used 1.4 +5 -5 maven/src/plugins-build/tjdo/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/tjdo/xdocs/changes.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- changes.xml 10 Sep 2003 14:19:42 -0000 1.3 +++ changes.xml 11 Sep 2003 12:57:10 -0000 1.4 @@ -7,19 +7,19 @@ <body> - <release version="1.0" date="10-Sep-2003" description="Minor updates"> + <release version="1.0" date="10-Sep-2003" description="Minor updates"> <action dev="andy" type="add"> Addition of "drop-tables", and revision of jelly code. </action> </release> - <release version="0.1.1" date="08-Aug-2003" description="Minor updates"> + <release version="0.1.1" date="08-Aug-2003" description="Minor updates"> <action dev="andy" type="add"> - Addition of documents and update to TJDO version number. + Addition of documents and update to TJDO version number. </action> </release> - <release version="0.1" date="08-Aug-2003" description="Initial release"> + <release version="0.1" date="08-Aug-2003" description="Initial release"> <action dev="andy" type="add"> - New plugin providing support for TJDO "enhance" method. + New plugin providing support for TJDO "enhance" method. </action> </release> </body> 1.4 +13 -13 maven/src/plugins-build/tjdo/xdocs/index.xml Index: index.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/tjdo/xdocs/index.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- index.xml 10 Sep 2003 14:19:42 -0000 1.3 +++ index.xml 11 Sep 2003 12:57:10 -0000 1.4 @@ -1,17 +1,17 @@ <?xml version="1.0"?> <document> - <properties> - <title>Maven TJDO Plug-in</title> - <author email="[EMAIL PROTECTED]">Andy Jefferson</author> - </properties> + <properties> + <title>Maven TJDO Plug-in</title> + <author email="[EMAIL PROTECTED]">Andy Jefferson</author> + </properties> - <body> - <section name="Maven TJDO Plugin"> - <p> - This plugin provides an interface to the Triactive JDO - implementation (<a href="http://tjdo.sourceforge.net">TJDO</a>) - of Sun's JDO spec. - </p> - </section> - </body> + <body> + <section name="Maven TJDO Plugin"> + <p> + This plugin provides an interface to the Triactive JDO + implementation (<a href="http://tjdo.sourceforge.net">TJDO</a>) + of Sun's JDO spec. + </p> + </section> + </body> </document> 1.3 +3 -3 maven/src/plugins-build/tjdo/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /home/cvs/maven/src/plugins-build/tjdo/xdocs/properties.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- properties.xml 19 Aug 2003 04:45:04 -0000 1.2 +++ properties.xml 11 Sep 2003 12:57:10 -0000 1.3 @@ -15,21 +15,21 @@ <td> Directory root of the filespace including the JDO files defining the datastore persistence to be managed by TJDO. - The default is <code>${maven.build.dest}</code> + The default is <code>${maven.build.dest}</code> </td> </tr> <tr> <td>maven.tjdo.jdo.fileset.include</td> <td>Yes</td> <td> - Include pattern of JDO files. The default is <code>**/*.jdo</code> + Include pattern of JDO files. The default is <code>**/*.jdo</code> </td> </tr> <tr> <td>maven.tjdo.jdo.fileset.exclude</td> <td>Yes</td> <td> - Exclude pattern of JDO files. The default is empty. + Exclude pattern of JDO files. The default is empty. </td> </tr> </table>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]