andy_jefferson 03/11/30 06:45:22
Modified: jpox plugin.jelly project.xml
jpox/xdocs changes.xml index.xml navigation.xml
Log:
Upgraded to JPOX 1.0.0-beta-2 ... main change being the JDO RI 1.0.1 enhancer
Revision Changes Path
1.2 +146 -142 maven-plugins/jpox/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /cvsroot/maven-plugins/maven-plugins/jpox/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plugin.jelly 11 Nov 2003 21:51:26 -0000 1.1
+++ plugin.jelly 30 Nov 2003 14:45:22 -0000 1.2
@@ -1,166 +1,170 @@
<?xml version="1.0"?>
<!--
- ============================================================================
- Plugin for Java Persistent Objects (JPOX)
- ============================================================================
+ ============================================================================
+ Plugin for Java Persistent Objects (JPOX)
+ ============================================================================
-->
<project
- xmlns:j="jelly:core"
- xmlns:ant="jelly:ant"
- xmlns:u="jelly:util"
- xmlns:doc="doc">
-
- <!--
- ========================================================================
- Default goal.
- ========================================================================
- -->
- <goal name="jpox"
- description="Enhance classes for use with Java Persistent Objects (JPOX)"
- prereqs="jpox:enhance"/>
-
- <!--
- ========================================================================
- Initializations.
- ========================================================================
- -->
- <goal name="jpox:init">
- <!-- Construct FileSet of JDO meta-data files -->
- <j:set var="jdo_fileset_dir_var_name" value="maven.jpox.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.jpox.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.jpox.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="jpoxMetaDataFiles" refid="jdo.files"/>
-
- <!-- Construct CLASSPATH to include JPOX and dependencies -->
- <path id="jpoxClasspath">
- <path refid="maven.dependency.classpath"/>
- <pathelement path="${maven.build.dest}"/>
- <pathelement path="${plugin.getDependencyPath('jpox')}"/>
- </path>
- </goal>
-
- <!--
- ========================================================================
- Run the enhancer on any class files to make the persistable.
- ========================================================================
- -->
- <goal name="jpox:enhance"
- prereqs="jpox:init">
- <echo>JDO-enhancing classes for Java Persistent Objects</echo>
-
- <!-- Run enhancer on JDO files -->
- <ant:java dir="${maven.build.dest}"
- classname="org.jpox.enhance.SunReferenceEnhancer"
- failonerror="true"
- fork="true">
- <classpath refid="jpoxClasspath"/>
- <arg line="${jpoxMetaDataFiles}"/>
- </ant:java>
-
- <echo>Classes are now JDO-enhanced for Java Persistent Objects</echo>
- </goal>
-
- <!--
- ========================================================================
- Checker to see if specified classes are persistable.
- ========================================================================
- -->
- <goal name="jpox:enhance-check"
- prereqs="jpox:init">
- <echo>Checking classes for Persistence Capability</echo>
-
- <!-- Run enhance check -->
- <ant:java dir="${maven.build.dest}"
- classname="org.jpox.enhance.EnhanceUtils"
- failonerror="true"
- fork="true">
- <classpath refid="jpoxClasspath"/>
- <arg line="-check"/>
- <arg line="${jpoxMetaDataFiles}"/>
- </ant:java>
- </goal>
+ xmlns:j="jelly:core"
+ xmlns:ant="jelly:ant"
+ xmlns:u="jelly:util"
+ xmlns:doc="doc">
+
+ <!--
+ ========================================================================
+ Default goal.
+ ========================================================================
+ -->
+ <goal name="jpox"
+ description="Enhance classes for use with Java Persistent Objects (JPOX)"
+ prereqs="jpox:enhance"/>
+
+ <!--
+ ========================================================================
+ Initializations.
+ ========================================================================
+ -->
+ <goal name="jpox:init">
+ <!-- Construct FileSet of JDO meta-data files -->
+ <j:set var="jdo_fileset_dir_var_name" value="maven.jpox.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.jpox.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.jpox.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="jdoMetaDataFiles" refid="jdo.files"/>
+
+ <!-- Construct CLASSPATH to include JPOX and dependencies -->
+ <path id="jpoxClasspath">
+ <path refid="maven.dependency.classpath"/>
+ <pathelement path="${maven.build.dest}"/>
+ <pathelement path="${plugin.getDependencyPath('jpox')}"/>
+ </path>
+ </goal>
+
+ <!--
+ ========================================================================
+ Run the enhancer on any class files to make the persistable.
+ ========================================================================
+ -->
+ <goal name="jpox:enhance"
+ prereqs="jpox:init">
+ <echo>JDO-enhancing classes for Java Persistent Objects</echo>
+
+ <!-- Construct path for source files -->
+ <pathconvert pathsep=":" property="sourcepath" refid="jpoxClasspath"/>
+
+ <!-- Run enhancer on JDO files -->
+ <ant:java dir="${maven.build.dest}"
+ classname="org.jpox.enhance.SunReferenceEnhancer"
+ failonerror="true"
+ fork="true">
+ <classpath refid="jpoxClasspath"/>
+ <arg line="-s ${sourcepath}"/>
+ <arg line="${jdoMetaDataFiles}"/>
+ </ant:java>
+
+ <echo>Classes are now JDO-enhanced for Java Persistent Objects</echo>
+ </goal>
+
+ <!--
+ ========================================================================
+ Checker to see if specified classes are persistable.
+ ========================================================================
+ -->
+ <goal name="jpox:enhance-check"
+ prereqs="jpox:init">
+ <echo>Checking classes for Persistence Capability</echo>
+
+ <!-- Run enhance check -->
+ <ant:java dir="${maven.build.dest}"
+ classname="org.jpox.enhance.EnhanceUtils"
+ failonerror="true"
+ fork="true">
+ <classpath refid="jpoxClasspath"/>
+ <arg line="-check"/>
+ <arg line="${jdoMetaDataFiles}"/>
+ </ant:java>
+ </goal>
- <!--
- ========================================================================
+ <!--
+ ========================================================================
Schematool : create all JDO tables
- ========================================================================
- -->
- <goal name="jpox:schema-create"
- prereqs="jpox:init">
- <echo>Creating tables for Persistence Capability</echo>
-
- <!-- Run enhance check -->
- <ant:java dir="${maven.build.dest}"
- classname="org.jpox.SchemaTool"
- failonerror="true"
- fork="true">
- <classpath refid="jpoxClasspath"/>
+ ========================================================================
+ -->
+ <goal name="jpox:schema-create"
+ prereqs="jpox:init">
+ <echo>Creating tables for Persistence Capability</echo>
+
+ <!-- Run enhance check -->
+ <ant:java dir="${maven.build.dest}"
+ classname="org.jpox.SchemaTool"
+ failonerror="true"
+ fork="true">
+ <classpath refid="jpoxClasspath"/>
<sysproperty key="database.driver" value="${maven.jpox.database.driver}"/>
<sysproperty key="database.url" value="${maven.jpox.database.url}"/>
<sysproperty key="database.user" value="${maven.jpox.database.user}"/>
<sysproperty key="database.password" value="${maven.jpox.database.password}"/>
- <arg line="-create"/>
- <arg line="${jpoxMetaDataFiles}"/>
- </ant:java>
- </goal>
+ <arg line="-create"/>
+ <arg line="${jdoMetaDataFiles}"/>
+ </ant:java>
+ </goal>
- <!--
- ========================================================================
+ <!--
+ ========================================================================
Schematool : delete all JDO tables
- ========================================================================
- -->
- <goal name="jpox:schema-delete"
- prereqs="jpox:init">
- <echo>Deleting tables for Persistence Capability</echo>
-
- <!-- Run enhance check -->
- <ant:java dir="${maven.build.dest}"
- classname="org.jpox.SchemaTool"
- failonerror="true"
- fork="true">
- <classpath refid="jpoxClasspath"/>
+ ========================================================================
+ -->
+ <goal name="jpox:schema-delete"
+ prereqs="jpox:init">
+ <echo>Deleting tables for Persistence Capability</echo>
+
+ <!-- Run enhance check -->
+ <ant:java dir="${maven.build.dest}"
+ classname="org.jpox.SchemaTool"
+ failonerror="true"
+ fork="true">
+ <classpath refid="jpoxClasspath"/>
<sysproperty key="database.driver" value="${maven.jpox.database.driver}"/>
<sysproperty key="database.url" value="${maven.jpox.database.url}"/>
<sysproperty key="database.user" value="${maven.jpox.database.user}"/>
<sysproperty key="database.password" value="${maven.jpox.database.password}"/>
- <arg line="-delete"/>
- <arg line="${jpoxMetaDataFiles}"/>
- </ant:java>
- </goal>
+ <arg line="-delete"/>
+ <arg line="${jdoMetaDataFiles}"/>
+ </ant:java>
+ </goal>
- <!--
- ========================================================================
+ <!--
+ ========================================================================
Schematool : validate all JDO tables
- ========================================================================
- -->
- <goal name="jpox:schema-validate"
- prereqs="jpox:init">
- <echo>Validating tables for Persistence Capability</echo>
-
- <!-- Run enhance check -->
- <ant:java dir="${maven.build.dest}"
- classname="org.jpox.SchemaTool"
- failonerror="true"
- fork="true">
- <classpath refid="jpoxClasspath"/>
+ ========================================================================
+ -->
+ <goal name="jpox:schema-validate"
+ prereqs="jpox:init">
+ <echo>Validating tables for Persistence Capability</echo>
+
+ <!-- Run enhance check -->
+ <ant:java dir="${maven.build.dest}"
+ classname="org.jpox.SchemaTool"
+ failonerror="true"
+ fork="true">
+ <classpath refid="jpoxClasspath"/>
<sysproperty key="database.driver" value="${maven.jpox.database.driver}"/>
<sysproperty key="database.url" value="${maven.jpox.database.url}"/>
<sysproperty key="database.user" value="${maven.jpox.database.user}"/>
<sysproperty key="database.password" value="${maven.jpox.database.password}"/>
- <arg line="-validate"/>
- <arg line="${jpoxMetaDataFiles}"/>
- </ant:java>
- </goal>
+ <arg line="-validate"/>
+ <arg line="${jdoMetaDataFiles}"/>
+ </ant:java>
+ </goal>
</project>
1.4 +24 -23 maven-plugins/jpox/project.xml
Index: project.xml
===================================================================
RCS file: /cvsroot/maven-plugins/maven-plugins/jpox/project.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- project.xml 17 Nov 2003 07:19:48 -0000 1.3
+++ project.xml 30 Nov 2003 14:45:22 -0000 1.4
@@ -1,9 +1,9 @@
<project>
- <extend>${basedir}/../plugin-project.xml</extend>
- <id>maven-jpox-plugin</id>
- <name>JPOX JDO plugin</name>
- <currentVersion>1.0.0-beta-1</currentVersion>
- <inceptionYear>2003</inceptionYear>
+ <extend>${basedir}/../plugin-project.xml</extend>
+ <id>maven-jpox-plugin</id>
+ <name>JPOX JDO plugin</name>
+ <currentVersion>1.0.0-beta-2</currentVersion>
+ <inceptionYear>2003</inceptionYear>
<description>Maven plugin for Java Persistent Objects (JPOX) JDO implementation.</description>
<shortDescription>Maven plugin for Java Persistent Objects (JPOX) JDO implementation.</shortDescription>
<url>http://maven-plugins.sf.net/${pom.artifactId}/</url>
@@ -15,24 +15,25 @@
<url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/maven-plugins/maven-plugins/jpox/</url>
</repository>
- <developers>
- <developer>
- <name>Andy Jefferson</name>
- <id>andy_jefferson</id>
- <email>andy@...>
- <organization>AJSoft Limited</organization>
- <roles>
- <role>Developer</role>
- </roles>
- </developer>
- </developers>
+ <developers>
+ <developer>
+ <name>Andy Jefferson</name>
+ <id>andy_jefferson</id>
+ <email>andy@...>
+ <organization>AJSoft Limited</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ </developers>
- <dependencies>
- <dependency>
- <groupId>jpox</groupId>
- <artifactId>jpox</artifactId>
- <version>1.0.0-beta-1</version>
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>jpox</groupId>
+ <artifactId>jpox</artifactId>
+ <version>1.0.0-beta-2</version>
+ </dependency>
+ <!-- Should really have jdori 1.0.1 in here -->
+ </dependencies>
</project>
1.3 +5 -0 maven-plugins/jpox/xdocs/changes.xml
Index: changes.xml
===================================================================
RCS file: /cvsroot/maven-plugins/maven-plugins/jpox/xdocs/changes.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- changes.xml 17 Nov 2003 07:19:48 -0000 1.2
+++ changes.xml 30 Nov 2003 14:45:22 -0000 1.3
@@ -6,6 +6,11 @@
</properties>
<body>
+ <release version="1.0.0-beta-2" date="28-Nov-2003" description="Use of JPOX 1.0.0-beta-2">
+ <action dev="andy_jefferson" type="add">
+ Matching release for JPOX 1.0.0-beta-2, using JDO 1.0.1 enhancer
+ </action>
+ </release>
<release version="1.0.0-beta-1" date="15-Nov-2003" description="Initial release">
<action dev="andy_jefferson" type="add">
New plugin for JPOX beta-1 release, allowing "enhance", "enhance-check", "schema-create", and "schema-delete" goals.
1.3 +1 -1 maven-plugins/jpox/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /cvsroot/maven-plugins/maven-plugins/jpox/xdocs/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.xml 17 Nov 2003 07:19:48 -0000 1.2
+++ index.xml 30 Nov 2003 14:45:22 -0000 1.3
@@ -20,7 +20,7 @@
your JPOX installation directory).
<source>
${maven.repo.local}/jpox/jars/
-${maven.repo.local}/jpox/jars/jpox-1.0.0-beta-1.jar
+${maven.repo.local}/jpox/jars/jpox-1.0.0-beta-2.jar
</source>
</p>
</section>
1.3 +1 -1 maven-plugins/jpox/xdocs/navigation.xml
Index: navigation.xml
===================================================================
RCS file: /cvsroot/maven-plugins/maven-plugins/jpox/xdocs/navigation.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- navigation.xml 17 Nov 2003 07:19:48 -0000 1.2
+++ navigation.xml 30 Nov 2003 14:45:22 -0000 1.3
@@ -12,7 +12,7 @@
<item name="Goals" href="/goals.html" />
<item name="Properties" href="/properties.html" />
<item name="Changes" href="/changes-report.html" />
- <item name="Download" href="http://maven-plugins.sf.net/maven/plugins/maven-jpox-plugin-1.0.0-beta-1.jar" />
+ <item name="Download" href="http://maven-plugins.sf.net/maven/plugins/maven-jpox-plugin-1.0.0-beta-2.jar" />
</menu>
</body>
</project>
|