You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2007/03/02 13:22:43 UTC
svn commit: r513729 -
/incubator/roller/branches/roller_4.0/apps/planet/build.xml
Author: snoopdave
Date: Fri Mar 2 04:22:42 2007
New Revision: 513729
URL: http://svn.apache.org/viewvc?view=rev&rev=513729
Log:
- OpenJPA jars and enhancement, commented out
Modified:
incubator/roller/branches/roller_4.0/apps/planet/build.xml
Modified: incubator/roller/branches/roller_4.0/apps/planet/build.xml
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_4.0/apps/planet/build.xml?view=diff&rev=513729&r1=513728&r2=513729
==============================================================================
--- incubator/roller/branches/roller_4.0/apps/planet/build.xml (original)
+++ incubator/roller/branches/roller_4.0/apps/planet/build.xml Fri Mar 2 04:22:42 2007
@@ -55,7 +55,7 @@
<!-- General dependencies -->
<include name="lib/log4j-1.2.11.jar"/>
<include name="lib/commons-codec-1.3.jar"/>
- <include name="lib/commons-collections-3.1.jar"/>
+ <include name="lib/commons-collections-3.2.jar"/>
<include name="lib/commons-digester-1.6.jar"/>
<include name="lib/commons-lang-2.1.jar"/>
<include name="lib/commons-logging-1.0.4.jar"/>
@@ -73,8 +73,14 @@
<include name="hibernate-3.1/lib/jdbc2_0-stdext.jar"/>
<!-- needed for JPA -->
+ <!--
+ <include name="openjpa-0.9.6/openjpa-all-0.9.6-incubating.jar"/>
+ <include name="openjpa-0.9.6/persistence-api-1.0.jar"/>
+ <include name="openjpa-0.9.6/serp-1.11.0.jar"/>
+ <include name="openjpa-0.9.6/geronimo-j2ee-connector_1.5_spec.jar"/>
<include name="toplink-essentials-9.1/toplink-essentials.jar"/>
-
+ -->
+
<!-- needed for ROME -->
<include name="lib/rome-0.9.jar"/>
<include name="lib/rome-fetcher-0.9.jar"/>
@@ -204,7 +210,18 @@
</fileset>
</copy>
<mkdir dir="${build.compile.business}/META-INF" />
- <copy todir="${build.compile.business}" file="testdata/META-INF/persistence.xml" />
+ <copy todir="${build.compile.business}/META-INF" file="testdata/META-INF/persistence.xml" />
+
+ <!-- OpenJPA bytecode enhancement
+ <taskdef name="openjpac" classname="org.apache.openjpa.ant.PCEnhancerTask" classpathref="planet.business.path" />
+ <openjpac>
+ <config propertiesFile="web/WEB-INF/classes/META-INF/persistence.xml" />
+ <classpath>
+ <path refid="planet.business.path"/>
+ <pathelement location="${build.compile.business}" />
+ <pathelement location="${build.compile.business}/org/apache/roller/pojos" />
+ </classpath>
+ </openjpac> -->
<!-- Jar up the business layer -->
<mkdir dir="${build.lib}"/>