Author: thomas.diesler(a)jboss.com
Date: 2008-04-24 07:36:27 -0400 (Thu, 24 Apr 2008)
New Revision: 6653
Added:
container/jboss42/branches/jbossws-jboss422/src/main/scripts/
container/jboss42/branches/jbossws-jboss422/src/main/scripts/antrun-install.xml
container/jboss42/branches/jbossws-jboss422/src/main/scripts/assembly-resources.xml
Removed:
container/jboss42/branches/jbossws-jboss422/src/main/ant/
container/jboss42/branches/jbossws-jboss422/src/main/assembly/
Modified:
container/jboss42/branches/jbossws-jboss422/pom.xml
Log:
artifactid=jbossws-jboss
Modified: container/jboss42/branches/jbossws-jboss422/pom.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss422/pom.xml 2008-04-24 11:28:10 UTC (rev
6652)
+++ container/jboss42/branches/jbossws-jboss422/pom.xml 2008-04-24 11:36:27 UTC (rev
6653)
@@ -191,7 +191,7 @@
<tasks>
<property name="version.id"
value="${project.version}"/>
<property name="jboss.local.repository"
value="${jboss.local.repository}"/>
- <ant antfile="src/main/ant/build-install.xml"
target="install"/>
+ <ant antfile="src/main/scripts/antrun-install.xml"
target="install"/>
</tasks>
</configuration>
</execution>
@@ -207,7 +207,7 @@
</goals>
<configuration>
<descriptors>
- <descriptor>src/main/assembly/src.xml</descriptor>
+
<descriptor>src/main/scripts/assembly-resources.xml</descriptor>
</descriptors>
</configuration>
</execution>
Added: container/jboss42/branches/jbossws-jboss422/src/main/scripts/antrun-install.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss422/src/main/scripts/antrun-install.xml
(rev 0)
+++
container/jboss42/branches/jbossws-jboss422/src/main/scripts/antrun-install.xml 2008-04-24
11:36:27 UTC (rev 6653)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at
http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project>
+
+ <!-- ================================================================== -->
+ <!-- Setup -->
+ <!-- ================================================================== -->
+
+ <property name="project.dir" value="${basedir}"/>
+ <property name="project.etc.dir"
value="${project.dir}/src/main/etc"/>
+ <property name="project.target.dir"
value="${project.dir}/target"/>
+
+ <!-- ================================================================== -->
+ <!-- Initialization -->
+ <!-- ================================================================== -->
+
+ <target name="init">
+ <property name="repository.id" value="${version.id}"/>
+ <echo message="version.id=${version.id}"/>
+ <echo message="repository.id=${repository.id}"/>
+ <echo message="jboss.local.repository=${jboss.local.repository}"/>
+ </target>
+
+ <target name="check-properties" depends="init">
+ <available property="jboss.local.repository.available"
type="dir" file="${jboss.local.repository}"/>
+ <fail message="Cannot find directory ${jboss.local.repository}. Did you copy
profiles-example.xml?" unless="jboss.local.repository.available"/>
+ </target>
+
+
+ <!-- ================================================================== -->
+ <!-- Installation -->
+ <!-- ================================================================== -->
+
+ <!-- Install to jboss.local.repository -->
+ <target name="install" depends="check-properties"
description="Install to jboss.local.repository">
+
+ <!-- Check if the target jar is available -->
+ <available property="jbossws.jboss.jar.available"
file="${project.target.dir}/jbossws-jboss-${version.id}.jar"/>
+ <fail message="Cannot find jbossws-jboss-${version.id}.jar. Did you run
'mvn package'?" unless="jbossws.jboss.jar.available"/>
+
+ <!-- jboss/jbossws-project -->
+ <property name="jboss.repository.dir"
value="${jboss.local.repository}/jboss/jbossws-jboss42/${repository.id}"/>
+ <mkdir dir="${jboss.repository.dir}/lib"/>
+ <copy file="${project.target.dir}/jbossws-jboss-${version.id}.jar"
tofile="${jboss.repository.dir}/lib/jbossws-jboss42.jar"
overwrite="true"/>
+ <copy
file="${project.target.dir}/jbossws-jboss-${version.id}-sources.jar"
tofile="${jboss.repository.dir}/lib/jbossws-jboss42-src.jar"
overwrite="true"/>
+ <copy
file="${project.target.dir}/jbossws-jboss-${version.id}-resources.zip"
tofile="${jboss.repository.dir}/lib/jbossws-jboss42-resources.zip"
overwrite="true"/>
+ <copy file="${project.target.dir}/etc/component-info.xml"
tofile="${jboss.repository.dir}/component-info.xml"
overwrite="true"/>
+ </target>
+
+</project>
Property changes on:
container/jboss42/branches/jbossws-jboss422/src/main/scripts/antrun-install.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
container/jboss42/branches/jbossws-jboss422/src/main/scripts/assembly-resources.xml
===================================================================
--- container/jboss42/branches/jbossws-jboss422/src/main/scripts/assembly-resources.xml
(rev 0)
+++
container/jboss42/branches/jbossws-jboss422/src/main/scripts/assembly-resources.xml 2008-04-24
11:36:27 UTC (rev 6653)
@@ -0,0 +1,18 @@
+<assembly
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+ <id>resources</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>jbossws-jboss42.sar/**</include>
+ <include>jbossws-jboss42-config.xml</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file
Property changes on:
container/jboss42/branches/jbossws-jboss422/src/main/scripts/assembly-resources.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF