[jboss-svn-commits] JBL Code SVN: r18499 - in labs/jbossrules/branches/4.0.x: documentation and 22 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Feb 18 18:23:46 EST 2008
Author: tirelli
Date: 2008-02-18 18:23:45 -0500 (Mon, 18 Feb 2008)
New Revision: 18499
Modified:
labs/jbossrules/branches/4.0.x/documentation/manual/en/master.xml
labs/jbossrules/branches/4.0.x/documentation/pom.xml
labs/jbossrules/branches/4.0.x/drools-analytics/pom.xml
labs/jbossrules/branches/4.0.x/drools-ant/pom.xml
labs/jbossrules/branches/4.0.x/drools-clips/pom.xml
labs/jbossrules/branches/4.0.x/drools-compiler/pom.xml
labs/jbossrules/branches/4.0.x/drools-core/pom.xml
labs/jbossrules/branches/4.0.x/drools-decisiontables/pom.xml
labs/jbossrules/branches/4.0.x/drools-eclipse3.2/build.properties
labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-feature/feature.xml
labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-plugin/META-INF/MANIFEST.MF
labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test-feature/feature.xml
labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test/META-INF/MANIFEST.MF
labs/jbossrules/branches/4.0.x/drools-eclipse3.2/pom.xml
labs/jbossrules/branches/4.0.x/drools-eclipse3.3/build.properties
labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-feature/feature.xml
labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-plugin/META-INF/MANIFEST.MF
labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test-feature/feature.xml
labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test/META-INF/MANIFEST.MF
labs/jbossrules/branches/4.0.x/drools-eclipse3.3/pom.xml
labs/jbossrules/branches/4.0.x/drools-jbrms/pom.xml
labs/jbossrules/branches/4.0.x/drools-jsr94/pom.xml
labs/jbossrules/branches/4.0.x/drools-repository/pom.xml
labs/jbossrules/branches/4.0.x/drools-server/pom.xml
labs/jbossrules/branches/4.0.x/drools-solver/pom.xml
labs/jbossrules/branches/4.0.x/pom.xml
labs/jbossrules/branches/4.0.x/update-version.xml
Log:
Updating artifact versions to 4.0.x.SNAPSHOT to avoid confusions when building them
Modified: labs/jbossrules/branches/4.0.x/documentation/manual/en/master.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/documentation/manual/en/master.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/documentation/manual/en/master.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<subtitle>Drools Documentation</subtitle>
- <releaseinfo>4.0.3.SNAPSHOT</releaseinfo>
+ <releaseinfo>4.0.x.SNAPSHOT</releaseinfo>
<author>
<firstname>Mark</firstname>
Modified: labs/jbossrules/branches/4.0.x/documentation/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/documentation/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/documentation/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-documentation</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-analytics/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-analytics/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-analytics/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-analytics</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-ant/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-ant/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-ant/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: labs/jbossrules/branches/4.0.x/drools-clips/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-clips/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-clips/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>${project.version}
<artifactId>drools-clips</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-compiler/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-compiler/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-compiler/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-compiler</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-core/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-core/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-core/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-core</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-decisiontables/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-decisiontables/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-decisiontables/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-decisiontables</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.2/build.properties
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.2/build.properties 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.2/build.properties 2008-02-18 23:23:45 UTC (rev 18499)
@@ -1,6 +1,6 @@
#product=/plugin or feature id/path/to/.product
runPackager=true
-droolsVersion=4.0.3.SNAPSHOT
+droolsVersion=4.0.x.SNAPSHOT
# The prefix that will be used in the generated archive.
archivePrefix=
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-feature/feature.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-feature/feature.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-feature/feature.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
<feature
id="org.drools.eclipse.feature"
label="JBossRules Feature"
- version="4.0.3.SNAPSHOT"
+ version="4.0.x.SNAPSHOT"
provider-name="JBoss, Inc.">
<description url="http://www.example.com/description">
@@ -43,7 +43,7 @@
id="org.drools.eclipse"
download-size="0"
install-size="0"
- version="4.0.3.SNAPSHOT"
+ version="4.0.x.SNAPSHOT"
unpack="false"/>
</feature>
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-plugin/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-plugin/META-INF/MANIFEST.MF 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-plugin/META-INF/MANIFEST.MF 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Drools Eclipse Plug-in
Bundle-SymbolicName: org.drools.eclipse;singleton:=true
-Bundle-Version: 4.0.3.SNAPSHOT
+Bundle-Version: 4.0.x.SNAPSHOT
Bundle-Activator: org.drools.eclipse.DroolsEclipsePlugin
Bundle-Vendor: krisv,mic
Bundle-Localization: plugin
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test/META-INF/MANIFEST.MF 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test/META-INF/MANIFEST.MF 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,9 +2,9 @@
Bundle-ManifestVersion: 2
Bundle-Name: JBoss Rules Eclipse Test fragment
Bundle-SymbolicName: org.drools.eclipse.test
-Bundle-Version: 4.0.3.SNAPSHOT
+Bundle-Version: 4.0.x.SNAPSHOT
Bundle-Vendor: krisv,mic
-Fragment-Host: org.drools.eclipse;bundle-version="4.0.3.SNAPSHOT"
+Fragment-Host: org.drools.eclipse;bundle-version="4.0.x.SNAPSHOT"
Bundle-Localization: plugin
Require-Bundle: org.junit
Bundle-ClassPath: .
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test-feature/feature.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test-feature/feature.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.2/drools-eclipse-test-feature/feature.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
<feature
id="org.drools.eclipse.test-feature"
label="JBossRules Feature"
- version="4.0.3.SNAPSHOT"
+ version="4.0.x.SNAPSHOT"
provider-name="JBoss, Inc.">
<description url="http://www.example.com/description">
@@ -21,6 +21,6 @@
id="org.drools.eclipse.test"
download-size="0"
install-size="0"
- version="4.0.3.SNAPSHOT"/>
+ version="4.0.x.SNAPSHOT"/>
</feature>
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.2/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.2/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.2/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -4,7 +4,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.3/build.properties
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.3/build.properties 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.3/build.properties 2008-02-18 23:23:45 UTC (rev 18499)
@@ -1,6 +1,6 @@
#product=/plugin or feature id/path/to/.product
runPackager=true
-droolsVersion=4.0.3.SNAPSHOT
+droolsVersion=4.0.x.SNAPSHOT
# The prefix that will be used in the generated archive.
archivePrefix=
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-feature/feature.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-feature/feature.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-feature/feature.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
<feature
id="org.drools.eclipse.feature"
label="JBossRules Feature"
- version="4.0.3.SNAPSHOT"
+ version="4.0.x.SNAPSHOT"
provider-name="JBoss, Inc.">
<description url="http://www.example.com/description">
@@ -43,7 +43,7 @@
id="org.drools.eclipse"
download-size="0"
install-size="0"
- version="4.0.3.SNAPSHOT"
+ version="4.0.x.SNAPSHOT"
unpack="false"/>
</feature>
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-plugin/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-plugin/META-INF/MANIFEST.MF 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-plugin/META-INF/MANIFEST.MF 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
Bundle-ManifestVersion: 2
Bundle-Name: Drools Eclipse Plug-in
Bundle-SymbolicName: org.drools.eclipse;singleton:=true
-Bundle-Version: 4.0.3.SNAPSHOT
+Bundle-Version: 4.0.x.SNAPSHOT
Bundle-Activator: org.drools.eclipse.DroolsEclipsePlugin
Bundle-Vendor: krisv,mic
Bundle-Localization: plugin
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test/META-INF/MANIFEST.MF
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test/META-INF/MANIFEST.MF 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test/META-INF/MANIFEST.MF 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,9 +2,9 @@
Bundle-ManifestVersion: 2
Bundle-Name: JBoss Rules Eclipse Test fragment
Bundle-SymbolicName: org.drools.eclipse.test
-Bundle-Version: 4.0.3.SNAPSHOT
+Bundle-Version: 4.0.x.SNAPSHOT
Bundle-Vendor: krisv,mic
-Fragment-Host: org.drools.eclipse;bundle-version="4.0.3.SNAPSHOT"
+Fragment-Host: org.drools.eclipse;bundle-version="4.0.x.SNAPSHOT"
Bundle-Localization: plugin
Require-Bundle: org.junit
Bundle-ClassPath: .
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test-feature/feature.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test-feature/feature.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.3/drools-eclipse-test-feature/feature.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -2,7 +2,7 @@
<feature
id="org.drools.eclipse.test-feature"
label="JBossRules Feature"
- version="4.0.3.SNAPSHOT"
+ version="4.0.x.SNAPSHOT"
provider-name="JBoss, Inc.">
<description url="http://www.example.com/description">
@@ -21,6 +21,6 @@
id="org.drools.eclipse.test"
download-size="0"
install-size="0"
- version="4.0.3.SNAPSHOT"/>
+ version="4.0.x.SNAPSHOT"/>
</feature>
Modified: labs/jbossrules/branches/4.0.x/drools-eclipse3.3/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-eclipse3.3/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-eclipse3.3/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -4,7 +4,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Modified: labs/jbossrules/branches/4.0.x/drools-jbrms/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-jbrms/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-jbrms/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -17,7 +17,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-jbrms</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-jsr94/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-jsr94/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-jsr94/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-jsr94</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-repository/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-repository/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-repository/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-repository</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-server/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-server/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-server/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -5,7 +5,7 @@
<parent>
<artifactId>drools</artifactId>
<groupId>org.drools</groupId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<artifactId>drools-server</artifactId>
Modified: labs/jbossrules/branches/4.0.x/drools-solver/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/drools-solver/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/drools-solver/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.drools</groupId>
<artifactId>drools</artifactId>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
</parent>
<groupId>org.drools.solver</groupId>
Modified: labs/jbossrules/branches/4.0.x/pom.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/pom.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/pom.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -7,7 +7,7 @@
<artifactId>drools</artifactId>
<packaging>pom</packaging>
<name>Drools</name>
- <version>4.0.3.SNAPSHOT</version>
+ <version>4.0.x.SNAPSHOT</version>
<description>A rule production system</description>
<url>http://www.jboss.com/products/rules</url>
Modified: labs/jbossrules/branches/4.0.x/update-version.xml
===================================================================
--- labs/jbossrules/branches/4.0.x/update-version.xml 2008-02-18 23:21:53 UTC (rev 18498)
+++ labs/jbossrules/branches/4.0.x/update-version.xml 2008-02-18 23:23:45 UTC (rev 18499)
@@ -1,63 +1,89 @@
-<?xml version="1.0"?>
-<project name="Drools" basedir="." default="usage">
-
- <target name="usage">
- <echo>ant -f update-version.xml -Dcurrent="3.1.0.M1" -Dnew="4.0.0.SNAPSHOT" updateVersion</echo>
- </target>
-
- <target name="updateVersion" depends="checkProps, error" unless="propsNotSet">
- <replaceregexp match="<version>${current}</version>"
- replace="<version>${new}</version>"
- byline="true">
- <fileset dir="." includes="*pom.xml, drools-*/pom.xml, documentation/pom.xml"/>
- </replaceregexp>
-
- <replaceregexp match="Bundle-Version: ${current}"
- replace="Bundle-Version: ${new}"
- byline="true">
- <fileset dir="drools-eclipse*" includes="drools-eclipse-plugin/META-INF/MANIFEST.MF, drools-eclipse-test/META-INF/MANIFEST.MF"/>
- </replaceregexp>
-
- <replaceregexp match="Fragment-Host: org.drools.eclipse;bundle-version="${current}""
- replace="Fragment-Host: org.drools.eclipse;bundle-version="${new}""
- byline="true">
- <fileset dir="drools-eclipse*" includes="drools-eclipse-plugin/META-INF/MANIFEST.MF, drools-eclipse-test/META-INF/MANIFEST.MF"/>
- </replaceregexp>
-
- <replaceregexp match="version="${current}""
- replace="version="${new}""
- byline="true">
- <fileset dir="drools-eclipse*" includes="drools-eclipse-feature/feature.xml, drools-eclipse-test-feature/feature.xml"/>
- </replaceregexp>
-
-
- <replaceregexp file="drools-eclipse*/build.properties"
- match="droolsVersion=${current}"
- replace="droolsVersion=${new}"
- byline="true" />
-
- <replaceregexp file="documentation/manual/en/master.xml"
- match="<releaseinfo>${current}</releaseinfo>"
- replace="<releaseinfo>${new}</releaseinfo>"
- byline="true" />
- </target>
-
- <target name="error" if="propsNotSet">
- <echo>current and new are not set</echo>
- </target>
-
- <target name="checkProps">
- <condition property="propsSet" value="true">
- <not>
- <isset property="current" />
- </not>
- </condition>
-
- <condition property="propsNotSet" value="true">
- <not>
- <isset property="new" />
- </not>
- </condition>
- </target>
-
-</project>
+<?xml version="1.0"?>
+<project name="Drools" basedir="." default="usage">
+
+ <target name="usage">
+ <echo>ant -f update-version.xml -Dcurrent="3.1.0.M1" -Dnew="4.0.0.SNAPSHOT" updateVersion</echo>
+ </target>
+
+ <target name="updateVersion" depends="checkProps, error" unless="propsNotSet">
+ <replaceregexp match="<version>${current}</version>"
+ replace="<version>${new}</version>"
+ byline="true">
+ <fileset dir="." includes="*pom.xml, drools-*/pom.xml, documentation/pom.xml"/>
+ </replaceregexp>
+
+ <replaceregexp match="Bundle-Version: ${current}"
+ replace="Bundle-Version: ${new}"
+ byline="true">
+ <fileset dir="drools-eclipse3.2" includes="drools-eclipse-plugin/META-INF/MANIFEST.MF, drools-eclipse-test/META-INF/MANIFEST.MF"/>
+ </replaceregexp>
+
+ <replaceregexp match="Bundle-Version: ${current}"
+ replace="Bundle-Version: ${new}"
+ byline="true">
+ <fileset dir="drools-eclipse3.3" includes="drools-eclipse-plugin/META-INF/MANIFEST.MF, drools-eclipse-test/META-INF/MANIFEST.MF"/>
+ </replaceregexp>
+
+ <replaceregexp match="Fragment-Host: org.drools.eclipse;bundle-version="${current}""
+ replace="Fragment-Host: org.drools.eclipse;bundle-version="${new}""
+ byline="true">
+ <fileset dir="drools-eclipse3.2" includes="drools-eclipse-plugin/META-INF/MANIFEST.MF, drools-eclipse-test/META-INF/MANIFEST.MF"/>
+ </replaceregexp>
+
+ <replaceregexp match="Fragment-Host: org.drools.eclipse;bundle-version="${current}""
+ replace="Fragment-Host: org.drools.eclipse;bundle-version="${new}""
+ byline="true">
+ <fileset dir="drools-eclipse3.3" includes="drools-eclipse-plugin/META-INF/MANIFEST.MF, drools-eclipse-test/META-INF/MANIFEST.MF"/>
+ </replaceregexp>
+
+ <replaceregexp match="version="${current}""
+ replace="version="${new}""
+ byline="true">
+ <fileset dir="drools-eclipse3.2" includes="drools-eclipse-feature/feature.xml, drools-eclipse-test-feature/feature.xml"/>
+ </replaceregexp>
+
+ <replaceregexp match="version="${current}""
+ replace="version="${new}""
+ byline="true">
+ <fileset dir="drools-eclipse3.3" includes="drools-eclipse-feature/feature.xml, drools-eclipse-test-feature/feature.xml"/>
+ </replaceregexp>
+
+
+
+ <replaceregexp file="drools-eclipse3.2/build.properties"
+ match="droolsVersion=${current}"
+ replace="droolsVersion=${new}"
+ byline="true" />
+
+ <replaceregexp file="drools-eclipse3.3/build.properties"
+ match="droolsVersion=${current}"
+ replace="droolsVersion=${new}"
+ byline="true" />
+
+
+ <replaceregexp file="documentation/manual/en/master.xml"
+ match="<releaseinfo>${current}</releaseinfo>"
+ replace="<releaseinfo>${new}</releaseinfo>"
+ byline="true" />
+ </target>
+
+ <target name="error" if="propsNotSet">
+ <echo>current and new are not set</echo>
+ </target>
+
+ <target name="checkProps">
+ <condition property="propsSet" value="true">
+ <not>
+ <isset property="current" />
+ </not>
+ </condition>
+
+ <condition property="propsNotSet" value="true">
+ <not>
+ <isset property="new" />
+ </not>
+ </condition>
+ </target>
+
+</project>
+
More information about the jboss-svn-commits
mailing list