Author: manaRH
Date: 2010-06-29 03:48:31 -0400 (Tue, 29 Jun 2010)
New Revision: 13317
Modified:
branches/enterprise/JBPAPP_5_0/build/build.xml
branches/enterprise/JBPAPP_5_0/build/common.build.xml
branches/enterprise/JBPAPP_5_0/examples/jpa/build-jboss5.xml
Log:
allow to automatically deploy jpa example into maven repository
Modified: branches/enterprise/JBPAPP_5_0/build/build.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/build.xml 2010-06-28 22:17:51 UTC (rev 13316)
+++ branches/enterprise/JBPAPP_5_0/build/build.xml 2010-06-29 07:48:31 UTC (rev 13317)
@@ -52,7 +52,7 @@
<deployExample name="booking"
repositoryId="offline.repository.jboss.org"/>
<deployExampleNoDs name="numberguess"
repositoryId="offline.repository.jboss.org"/>
<deployExample name="dvdstore"
path="${seam.dir}/examples/dvdstore"
repositoryId="offline.repository.jboss.org"/>
-
+ <deployExampleNoDs name="jpa" path="${seam.dir}/examples/jpa"
type="war" repositoryId="offline.repository.jboss.org"/>
</target>
<target name="deployLocalPom">
Modified: branches/enterprise/JBPAPP_5_0/build/common.build.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/build/common.build.xml 2010-06-28 22:17:51 UTC (rev
13316)
+++ branches/enterprise/JBPAPP_5_0/build/common.build.xml 2010-06-29 07:48:31 UTC (rev
13317)
@@ -218,7 +218,7 @@
</propertyset>
</ant>
<pomfile name="example.pom" value="(a){path}/pom.xml" />
- <artifact:deploy file="@{path}/dist/jboss-seam-(a){name}.ear"
+ <artifact:deploy file="@{path}/dist/jboss-seam-@{name}.(a){type}"
uniqueVersion="false"
settingsFile="${maven.settings.xml}">
<pom file="${example.pom}"
settingsFile="${maven.settings.xml}" />
<attach file="@{path}/resources/jboss-seam-(a){name}-ds.xml"
Modified: branches/enterprise/JBPAPP_5_0/examples/jpa/build-jboss5.xml
===================================================================
--- branches/enterprise/JBPAPP_5_0/examples/jpa/build-jboss5.xml 2010-06-28 22:17:51 UTC
(rev 13316)
+++ branches/enterprise/JBPAPP_5_0/examples/jpa/build-jboss5.xml 2010-06-29 07:48:31 UTC
(rev 13317)
@@ -11,7 +11,6 @@
<!-- resources -->
<property name="resources.dir" value="resources-jboss" />
- <property name="dist.dir" value="dist-jboss" />
<property name="exploded-archives.dir"
value="exploded-archives-jboss" />
<!-- Libraries to include -->
Show replies by date