Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
release v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed Mar 20, 2014
1 parent 1be8926 commit 510d3d6
Show file tree
Hide file tree
Showing 21 changed files with 56 additions and 31 deletions.
2 changes: 1 addition & 1 deletion antlr4ide.app/META-INF/MANIFEST.MF
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ANTLRv4 IDE
Bundle-SymbolicName: antlr4ide.app;singleton:=true
Bundle-Version: 0.1.1.qualifier
Bundle-Version: 0.2.0
Bundle-Vendor: Edgar Espina
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.core.runtime,
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.app/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.core/META-INF/MANIFEST.MF
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ANTLR 4 Core
Bundle-Vendor: Edgar Espina
Bundle-Version: 0.1.1.qualifier
Bundle-Version: 0.2.0
Bundle-SymbolicName: antlr4ide.core;singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: org.eclipse.xtext;bundle-version="2.5.0";visibility:=reexport,
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.core/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.product/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.sdk/feature.xml
Expand Up @@ -2,7 +2,7 @@
<feature
id="antlr4ide.sdk"
label="ANTLR 4 SDK"
version="0.1.1.qualifier"
version="0.2.0"
provider-name="Edgar Espina">

<plugin
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.sdk/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.tests/META-INF/MANIFEST.MF
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ANTLR 4 IDE Tests
Bundle-Vendor: Edgar Espina
Bundle-Version: 0.1.1.qualifier
Bundle-Version: 0.2.0
Bundle-SymbolicName: antlr4ide.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: antlr4ide.core,
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.tests/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.ui/META-INF/MANIFEST.MF
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ANTLR 4 UI
Bundle-Vendor: Edgar Espina
Bundle-Version: 0.1.1.qualifier
Bundle-Version: 0.2.0
Bundle-SymbolicName: antlr4ide.ui; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: antlr4ide.core;visibility:=reexport,
Expand Down
2 changes: 1 addition & 1 deletion antlr4ide.ui/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
57 changes: 41 additions & 16 deletions build.xml
@@ -1,25 +1,44 @@
<project>
<!-- Make a new release -->
<target name="make-release">
<!-- build before everything
<exec command="mvn">
<arg value="clean"/>
<arg value="package"/>
</exec> -->

<!-- Ask for version numbers -->
<input message="current version: " addproperty="version" />
<input message="release version: " addproperty="release.version" />
<input message="next version: " addproperty="n.version" />

<property name="current.version.osgi" value="${version}.qualifier" />
<property name="current.version" value="${version}-SNAPSHOT" />
<property name="next.version.osgi" value="${n.version}.qualifier" />
<property name="next.version" value="${n.version}-SNAPSHOT" />

<echo message="preparing release for: ${release.version}" />
<echo message="setting version to ${release.version}" />

<!-- update pom.xml with release version -->
<replace dir="${basedir}">
<include name="**/pom.xml"/>
<replacefilter token="${current.version}" value="${release.version}" />
</replace>
<replace dir="${basedir}">
<include name="**/MANIFEST.MF"/>
<replacefilter token="Bundle-Version: ${current.version.osgi}" value="Bundle-Version: ${release.version}" />
</replace>
<replace dir="${basedir}">
<include name="**/feature.xml"/>
<include name="**/category.xml"/>
<replacefilter token="${current.version.osgi}" value="${release.version}" />
</replace>

<echo message="building: ${release.version}..." />
<!-- recompile -->
<exec executable="mvn">
<arg value="clean"/>
<arg value="package"/>
</exec>

<echo message="prepare for release ${release.version} " />
<!-- create p2 repository -->
<echo message="prepare for release ${release.version} " />
<property name="releaseDir" value="updates/release/4.3" />
<property name="standaloneDir" value="updates/release/standalone" />

<echo message="creating p2 repository under: ${releaseDir}" />
<delete dir="${releaseDir}" failonerror="false"/>
Expand All @@ -29,16 +48,10 @@
<fileset dir="updates/target/repository" />
</copy>

<echo message="releasing: ${release.version}" />
<!-- update pom.xml with release version -->
<replace dir="${basedir}">
<include name="**/pom.xml"/>
<replacefilter token="${current.version}" value="${release.version}" />
</replace>

<exec executable="git">
<arg value="status"/>
</exec>

<exec executable="git">
<arg value="add"/>
<arg value="."/>
Expand All @@ -64,19 +77,31 @@
<echo message="release done: ${release.version}" />

<echo message="preparing next development cycle for ${next.version}" />

<!-- update pom.xml with next version -->
<replace dir="${basedir}">
<include name="**/pom.xml"/>
<replacefilter token="${current.version}" value="${next.version}" />
<replacefilter token="${release.version}" value="${next.version}" />
</replace>
<replace dir="${basedir}">
<include name="**/MANIFEST.MF"/>
<replacefilter token="Bundle-Version: ${release.version}.qualifier" value="Bundle-Version: ${next.version.osgi}" />
</replace>
<replace dir="${basedir}">
<include name="**/feature.xml"/>
<include name="**/category.xml"/>
<replacefilter token="${release.version}" value="${next.version.osgi}" />
</replace>

<exec executable="git">
<arg value="status"/>
</exec>

<exec executable="git">
<arg value="add"/>
<arg value="."/>
</exec>

<exec executable="git">
<arg value="commit"/>
<arg value="-m"/>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
<packaging>pom</packaging>

<modules>
Expand Down
2 changes: 1 addition & 1 deletion updates/category.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/antlr4ide.sdk_0.1.1.qualifier.jar" id="antlr4ide.sdk" version="0.1.1.qualifier">
<feature url="features/antlr4ide.sdk_0.2.0.jar" id="antlr4ide.sdk" version="0.2.0">
<category name="antlr4ide"/>
</feature>
<category-def name="antlr4ide" label="ANTLR 4 IDE"/>
Expand Down
2 changes: 1 addition & 1 deletion updates/pom.xml
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.github.jknack</groupId>
<artifactId>antlr4ide</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.2.0</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Binary file modified updates/release/4.3/artifacts.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion updates/release/4.3/category.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/antlr4ide.sdk_0.1.1.qualifier.jar" id="antlr4ide.sdk" version="0.1.1.qualifier">
<feature url="features/antlr4ide.sdk_0.2.0.jar" id="antlr4ide.sdk" version="0.2.0">
<category name="antlr4ide"/>
</feature>
<category-def name="antlr4ide" label="ANTLR 4 IDE"/>
Expand Down
Binary file modified updates/release/4.3/content.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 510d3d6

Please sign in to comment.