Author: heiko.braun(a)jboss.com
Date: 2008-02-07 15:29:39 -0500 (Thu, 07 Feb 2008)
New Revision: 5621
Modified:
stack/native/trunk/ant-import/build-bin-dist.xml
stack/native/trunk/build.xml
stack/native/trunk/version.properties
Log:
Build implementation version from specification version and build Id (i.e.
jbossws-3.0-netive.2.0.4.DEV)
Modified: stack/native/trunk/ant-import/build-bin-dist.xml
===================================================================
--- stack/native/trunk/ant-import/build-bin-dist.xml 2008-02-07 20:06:24 UTC (rev 5620)
+++ stack/native/trunk/ant-import/build-bin-dist.xml 2008-02-07 20:29:39 UTC (rev 5621)
@@ -19,7 +19,10 @@
<target name="build-bin-dist" depends="jars, javadoc"
description="Build the binary distribution">
- <property name="bindist.dir"
value="${core.output.dir}/jbossws-native-${version.id}"/>
+ <!-- FIXME: the framework version has to be included somehow. Maybe from
jbossws-framework.jar ? -->
+ <property name="dist.name"
value="${specification.version}-metro-${version.id}"/>
+
+ <property name="bindist.dir"
value="${core.output.dir}/jbossws-native-dist"/>
<property name="bindist.build.dir"
value="${bindist.dir}/build"/>
<property name="bindist.bin.dir"
value="${bindist.dir}/bin"/>
<property name="bindist.lib.dir"
value="${bindist.dir}/lib"/>
@@ -156,8 +159,8 @@
</copy>
<chmod file="${bindist.dir}/build.sh" perm="+x"/>
- <zip destfile="${core.output.dir}/jbossws-native-${version.id}.zip">
- <fileset dir="${core.output.dir}"
includes="jbossws-native-${version.id}/**"/>
+ <zip destfile="${core.output.dir}/${dist-name}.zip">
+ <fileset dir="${core.output.dir}"
includes="jbossws-native-dist/**"/>
</zip>
</target>
Modified: stack/native/trunk/build.xml
===================================================================
--- stack/native/trunk/build.xml 2008-02-07 20:06:24 UTC (rev 5620)
+++ stack/native/trunk/build.xml 2008-02-07 20:29:39 UTC (rev 5621)
@@ -164,7 +164,7 @@
<filter token="java.vm.version"
value="${java.vm.version}"/>
<filter token="java.vm.vendor"
value="${java.vm.vendor}"/>
<filter token="build.id" value="${build.id}"/>
- <filter token="implementation.version"
value="jbossws-native-${version.id}"/>
+ <filter token="implementation.version"
value="${specification.version}-native-${version.id}"/>
<filtersfile file="${core.dir}/version.properties"/>
</filterset>
</copy>
@@ -310,7 +310,7 @@
</fileset>
<filterset>
<filter token="build.id" value="${build.id}"/>
- <filter token="implementation.version"
value="jbossws-native-${version.id}"/>
+ <filter token="implementation.version"
value="${specification.version}-native-${version.id}"/>
<filtersfile file="${core.dir}/version.properties"/>
</filterset>
</copy>
Modified: stack/native/trunk/version.properties
===================================================================
--- stack/native/trunk/version.properties 2008-02-07 20:06:24 UTC (rev 5620)
+++ stack/native/trunk/version.properties 2008-02-07 20:29:39 UTC (rev 5621)
@@ -3,9 +3,9 @@
specification.title=JBossWS
specification.vendor=JBoss (
http://www.jboss.org)
-specification.version=jbossws-2.0
+specification.version=jbossws-3.0
-version.id=2.1.0.DEV
+version.id=2.0.4.DEV
repository.id=snapshot
implementation.title=JBoss Web Services - Native