? tjdo-1.0.0.patch
Index: src/plugins-build/tjdo/plugin.jelly
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/tjdo/plugin.jelly,v
retrieving revision 1.3
diff -u -r1.3 plugin.jelly
--- src/plugins-build/tjdo/plugin.jelly	19 Aug 2003 05:08:35 -0000	1.3
+++ src/plugins-build/tjdo/plugin.jelly	4 Sep 2003 12:28:58 -0000
@@ -1,76 +1,94 @@
 <?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">
+	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>
+        <pathconvert pathsep=" " property="tjdoMetaDataFiles" refid="jdo.files"/>
+	</goal>
+
+	<!--
+		========================================================================
+		Run the enhancer on any class files to make the persistable.
+		========================================================================
+	-->
+	<goal name="tjdo:enhance"
+		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>
 
-    <!--
-        ========================================================================
-        Default goal.
-        ========================================================================
-    -->
-    <goal name="tjdo"
-        description="Enhance classes for use with Triactive JDO"
-        prereqs="tjdo:enhance"/>
-
-    <!--
-        ========================================================================
-        Initializations.
-        ========================================================================
-    -->
-    <goal name="tjdo:init">
-    </goal>
+		<echo>Classes are now JDO-enhanced for Triactive JDO</echo>
+	</goal>
 
     <!--
-        ========================================================================
-        Run the enhancer on any class files to make the persistable.
-        ========================================================================
-    -->
-    <goal name="tjdo:enhance"
-        prereqs="tjdo:init">
-        <echo>JDO-enhancing classes for Triactive JDO</echo>
-
-        <!-- Construct FileSet of JDO files for enhancing -->
-        <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="jdofiles" refid="jdo.files"/>
-
-        <!-- Construct CLASSPATH to include TJDO and dependencies -->
-        <path id="myclasspath">
-            <path refid="maven.dependency.classpath"/>
-            <pathelement path="${maven.build.dest}"/>
-            <pathelement path="${plugin.getDependencyPath('tjdo')}"/>
-        </path>
-
-        <!-- Run enhancer on JDO files -->
-        <ant:java dir="${maven.build.dest}"
-            classname="com.triactive.jdo.enhance.SunReferenceEnhancer"
-            failonerror="true"
-            fork="true">
-            <classpath refid="myclasspath"/>
-            <arg line="${jdofiles}"/>
-        </ant:java>
+		========================================================================
+        Goal to drop the JDO tables
+		========================================================================
+	-->
+	<goal name="tjdo:drop-tables"
+		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>Classes are now JDO-enhanced for Triactive JDO</echo>
-    </goal>
+		<echo>DB tables for Triactive JDO have now been dropped</echo>
+	</goal>
 
 </project>
Index: src/plugins-build/tjdo/project.properties
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/tjdo/project.properties,v
retrieving revision 1.2
diff -u -r1.2 project.properties
--- src/plugins-build/tjdo/project.properties	19 Aug 2003 04:45:04 -0000	1.2
+++ src/plugins-build/tjdo/project.properties	4 Sep 2003 12:28:58 -0000
@@ -5,3 +5,4 @@
 maven.xdoc.version=${pom.currentVersion}
 maven.license.licenseFile=${basedir}/../../../LICENSE.txt
 
+maven.ui.banner.background=white
Index: src/plugins-build/tjdo/project.xml
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/tjdo/project.xml,v
retrieving revision 1.3
diff -u -r1.3 project.xml
--- src/plugins-build/tjdo/project.xml	2 Sep 2003 10:23:33 -0000	1.3
+++ src/plugins-build/tjdo/project.xml	4 Sep 2003 12:28:58 -0000
@@ -5,7 +5,7 @@
   <pomVersion>3</pomVersion>
   <id>maven-tjdo-plugin</id>
   <name>Maven TJDO plugin</name>
-  <currentVersion>0.1.1</currentVersion>
+  <currentVersion>1.0.0</currentVersion>
   <description/>
   <shortDescription>Maven TJDO plugin</shortDescription>
   <url>http://maven.apache.org/reference/plugins/tjdo/</url>
@@ -20,7 +20,7 @@
     <dependency>
       <groupId>tjdo</groupId>
       <artifactId>tjdo</artifactId>
-      <version>2.0-beta</version>
+      <version>2.0-beta3</version>
     </dependency>
   </dependencies>
 
Index: src/plugins-build/tjdo/xdocs/changes.xml
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/tjdo/xdocs/changes.xml,v
retrieving revision 1.2
diff -u -r1.2 changes.xml
--- src/plugins-build/tjdo/xdocs/changes.xml	19 Aug 2003 04:45:04 -0000	1.2
+++ src/plugins-build/tjdo/xdocs/changes.xml	4 Sep 2003 12:28:58 -0000
@@ -6,10 +6,21 @@
   </properties>
 
   <body>
-    <release version="0.1" date="2003-08-08">
-        <action dev="andy" type="add">
-          New plugin providing support for TJDO "enhance" method.
-        </action>
+
+	<release version="1.0" date="03-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">
+      <action dev="andy" type="add">
+	    Addition of documents and update to TJDO version number.
+      </action>
+    </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.
+      </action>
     </release>
   </body>
 </document>
Index: src/plugins-build/tjdo/xdocs/goals.xml
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/tjdo/xdocs/goals.xml,v
retrieving revision 1.2
diff -u -r1.2 goals.xml
--- src/plugins-build/tjdo/xdocs/goals.xml	19 Aug 2003 04:45:04 -0000	1.2
+++ src/plugins-build/tjdo/xdocs/goals.xml	4 Sep 2003 12:28:58 -0000
@@ -17,6 +17,12 @@
             of classes to use TJDO for persistence of java classes.
           </td>
         </tr>
+        <tr>
+          <td>tjdo:drop-tables</td>
+          <td>
+            Drops the tables managed by Triactive JDO.
+          </td>
+        </tr>
       </table>
     </section>
  </body>
Index: src/plugins-build/tjdo/xdocs/index.xml
===================================================================
RCS file: /home/cvspublic/maven/src/plugins-build/tjdo/xdocs/index.xml,v
retrieving revision 1.2
diff -u -r1.2 index.xml
--- src/plugins-build/tjdo/xdocs/index.xml	19 Aug 2003 04:45:04 -0000	1.2
+++ src/plugins-build/tjdo/xdocs/index.xml	4 Sep 2003 12:28:58 -0000
@@ -1,17 +1,27 @@
 <?xml version="1.0"?>
 <document>
+	<properties>
+		<title>Maven TJDO Plug-in</title>
+		<author email="andy@ajsoft.net">Andy Jefferson</author>
+	</properties>
 
-  <properties>
-    <title>Maven TJDO Plug-in</title>
-    <author email="andy@ajsoft.net">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>
+			<p>
+				To use this plugin, you will need to install TJDO's jar into
+				your Maven repository. You will need the following jar's to be
+				in place for it to work (these can be symbolically linked from
+			   	your Kodo installation directory.
+				<source>
+${maven.repo.local}/tjdo/jars/
+${maven.repo.local}/tjdo/jars/tjdo-2.0-beta3.jar
+				</source>
+			</p>
+		</section>
+	</body>
 </document>

