Author: thomas.diesler(a)jboss.com
Date: 2008-04-24 15:36:09 -0400 (Thu, 24 Apr 2008)
New Revision: 6678
Added:
container/jboss50/branches/jbossws-jboss501/src/main/scripts/
container/jboss50/branches/jbossws-jboss501/src/main/scripts/antrun-install.xml
container/jboss50/branches/jbossws-jboss501/src/main/scripts/assembly-resources.xml
Modified:
container/jboss50/branches/jbossws-jboss501/
container/jboss50/branches/jbossws-jboss501/.classpath
container/jboss50/branches/jbossws-jboss501/.project
Log:
maven build (wip)
Property changes on: container/jboss50/branches/jbossws-jboss501
___________________________________________________________________
Name: svn:ignore
- output
thirdparty
ant.properties
+ .settings
pom.xml
Modified: container/jboss50/branches/jbossws-jboss501/.classpath
===================================================================
--- container/jboss50/branches/jbossws-jboss501/.classpath 2008-04-24 19:03:51 UTC (rev
6677)
+++ container/jboss50/branches/jbossws-jboss501/.classpath 2008-04-24 19:36:09 UTC (rev
6678)
@@ -11,5 +11,6 @@
<classpathentry kind="lib"
path="thirdparty/jbossws-spi.jar"/>
<classpathentry kind="lib"
path="thirdparty/servlet-api.jar"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="output/eclipse-classes"/>
+ <classpathentry kind="con"
path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/eclipse-classes"/>
</classpath>
Modified: container/jboss50/branches/jbossws-jboss501/.project
===================================================================
--- container/jboss50/branches/jbossws-jboss501/.project 2008-04-24 19:03:51 UTC (rev
6677)
+++ container/jboss50/branches/jbossws-jboss501/.project 2008-04-24 19:36:09 UTC (rev
6678)
@@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
Added: container/jboss50/branches/jbossws-jboss501/src/main/scripts/antrun-install.xml
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/scripts/antrun-install.xml
(rev 0)
+++
container/jboss50/branches/jbossws-jboss501/src/main/scripts/antrun-install.xml 2008-04-24
19:36:09 UTC (rev 6678)
@@ -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="jar.available"
file="${project.target.dir}/${artifact.id}-${version.id}.jar"/>
+ <fail message="Cannot find ${artifact.id}-${version.id}.jar. Did you run
'mvn package'?" unless="jar.available"/>
+
+ <!-- jboss/jbossws-project -->
+ <property name="jboss.repository.dir"
value="${jboss.local.repository}/jboss/${artifact.id}/${repository.id}"/>
+ <mkdir dir="${jboss.repository.dir}/lib"/>
+ <copy file="${project.target.dir}/${artifact.id}-${version.id}.jar"
tofile="${jboss.repository.dir}/lib/${artifact.id}.jar"
overwrite="true"/>
+ <copy
file="${project.target.dir}/${artifact.id}-${version.id}-sources.jar"
tofile="${jboss.repository.dir}/lib/${artifact.id}-src.jar"
overwrite="true"/>
+ <copy
file="${project.target.dir}/${artifact.id}-${version.id}-resources.zip"
tofile="${jboss.repository.dir}/lib/${artifact.id}-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/jboss50/branches/jbossws-jboss501/src/main/scripts/antrun-install.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added:
container/jboss50/branches/jbossws-jboss501/src/main/scripts/assembly-resources.xml
===================================================================
--- container/jboss50/branches/jbossws-jboss501/src/main/scripts/assembly-resources.xml
(rev 0)
+++
container/jboss50/branches/jbossws-jboss501/src/main/scripts/assembly-resources.xml 2008-04-24
19:36:09 UTC (rev 6678)
@@ -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/jboss50/branches/jbossws-jboss501/src/main/scripts/assembly-resources.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF