You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/02/08 18:59:23 UTC

[royale-asjs] branch release/0.9.1 updated (b1ba6f6 -> df60266)

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a change to branch release/0.9.1
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.


    from b1ba6f6  [maven-release-plugin] prepare for next development iteration
     new 4e3a875  need to use 2.5 and do it in a specific order.  Otherwise if compiler is changed first later set-properties can't find the compiler artifact since it is asking for a newer version
     new df60266  no MDLBlogExample

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 releasecandidate.xml | 63 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 42 insertions(+), 21 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

[royale-asjs] 02/02: no MDLBlogExample

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch release/0.9.1
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit df60266012a40afccc8c7850f1389c7737e9ad7c
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Feb 8 10:58:59 2018 -0800

    no MDLBlogExample
---
 releasecandidate.xml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/releasecandidate.xml b/releasecandidate.xml
index 3a03b2d..14f068f 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -499,13 +499,9 @@
             <arg value="pom.xml" />
         </exec>
         <exec executable="${git}" dir="${asjs}" failonerror="true" >
-            <arg value="add" />
-            <arg value="examples/royale/MDLBlogExample/pom.xml" />
-        </exec>
-        <exec executable="${git}" dir="${asjs}" failonerror="true" >
             <arg value="commit" />
             <arg value="-m" />
-            <arg value="remove SNAPSHOT from compiler-build-tools versions" />
+            <arg value="remove SNAPSHOT from compiler and typedefs versions" />
         </exec>
     </target>
     

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

[royale-asjs] 01/02: need to use 2.5 and do it in a specific order. Otherwise if compiler is changed first later set-properties can't find the compiler artifact since it is asking for a newer version

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch release/0.9.1
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 4e3a87582db2a3509e8ec131164c64eb0534b815
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Feb 8 00:10:46 2018 -0800

    need to use 2.5 and do it in a specific order.  Otherwise if compiler is changed first later set-properties can't find the compiler artifact since it is asking for a newer version
---
 releasecandidate.xml | 57 +++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 41 insertions(+), 16 deletions(-)

diff --git a/releasecandidate.xml b/releasecandidate.xml
index 976be6e..3a03b2d 100644
--- a/releasecandidate.xml
+++ b/releasecandidate.xml
@@ -598,8 +598,35 @@
             <!--<arg value="-DpushChanges=false" />-->
             <arg value="-DbranchName=release/${release.version}" />
         </exec>
+        <antcall target="update_other_typedef_develop_poms" />
     </target>
-    
+
+    <target name="update_other_typedef_develop_poms" depends="check-royale-typedefs">
+        <exec executable="${git}" dir="${typedefs}" failonerror="false" >
+            <arg value="checkout" />
+            <arg value="develop" />
+        </exec>
+        <xmlproperty file="${typedefs}/pom.xml" prefix="pom"/>
+        <echo>next version is: ${pom.project.version}</echo>
+        <exec executable="${mvn}" dir="${typedefs}" failonerror="true" >
+            <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
+            <arg value="-DgenerateBackupPoms=false" />
+            <arg value="-DallowSnapshots=true" />
+            <arg value="-Dproperty=royale.compiler.version" />
+            <arg value="-DnewVersion=${pom.project.version}" />
+        </exec>
+        <exec executable="${git}" dir="${typedefs}" failonerror="true" >
+            <arg value="add" />
+            <arg value="." />
+        </exec>
+        <exec executable="${git}" dir="${typedefs}" failonerror="true" >
+            <arg value="commit" />
+            <arg value="-m" />
+            <arg value="update other poms to next version" />
+        </exec>
+        <echo>run git show in royale-asjs to double-check the last commit then run git-push</echo>
+    </target>
+
     <target name="maven.prepare.typedefs">
         <!-- http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html -->
         <exec executable="${mvn}" dir="${typedefs}" failonerror="true" >
@@ -649,8 +676,6 @@
         <antcall target="update_other_develop_poms" />
     </target>
     
-    <!-- The use-latest-version may require that the build has built the framework projects so
-         you may need to let a build run, then run this target separately -->
     <target name="update_other_develop_poms" depends="check-royale-asjs">
         <exec executable="${git}" dir="${asjs}" failonerror="false" >
             <arg value="checkout" />
@@ -658,46 +683,46 @@
         </exec>
         <xmlproperty file="${asjs}/pom.xml" prefix="pom"/>
         <echo>next version is: ${pom.project.version}</echo>
-        <exec executable="${mvn}" dir="${asjs}" failonerror="true" >
-            <arg value="versions:set-property" />
+        <exec executable="${mvn}" dir="${asjs}/examples" failonerror="true" >
+            <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
             <arg value="-DgenerateBackupPoms=false" />
             <arg value="-DallowSnapshots=true" />
             <arg value="-Dproperty=royale.framework.version" />
             <arg value="-DnewVersion=${pom.project.version}" />
         </exec>
-        <exec executable="${mvn}" dir="${asjs}" failonerror="true" >
-            <arg value="versions:set-property" />
+        <exec executable="${mvn}" dir="${asjs}/archetypes" failonerror="true" >
+            <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
             <arg value="-DgenerateBackupPoms=false" />
             <arg value="-DallowSnapshots=true" />
-            <arg value="-Dproperty=royale.compiler.version" />
+            <arg value="-Dproperty=royale.framework.version" />
             <arg value="-DnewVersion=${pom.project.version}" />
         </exec>
-        <exec executable="${mvn}" dir="${asjs}" failonerror="true" >
-            <arg value="versions:set-property" />
+        <exec executable="${mvn}" dir="${asjs}/manualtests" failonerror="true" >
+            <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
             <arg value="-DgenerateBackupPoms=false" />
             <arg value="-DallowSnapshots=true" />
-            <arg value="-Dproperty=royale.typedefs.version" />
+            <arg value="-Dproperty=royale.framework.version" />
             <arg value="-DnewVersion=${pom.project.version}" />
         </exec>
-        <exec executable="${mvn}" dir="${asjs}/examples" failonerror="true" >
+        <exec executable="${mvn}" dir="${asjs}" failonerror="true" >
             <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
             <arg value="-DgenerateBackupPoms=false" />
             <arg value="-DallowSnapshots=true" />
             <arg value="-Dproperty=royale.framework.version" />
             <arg value="-DnewVersion=${pom.project.version}" />
         </exec>
-        <exec executable="${mvn}" dir="${asjs}/archetypes" failonerror="true" >
+        <exec executable="${mvn}" dir="${asjs}" failonerror="true" >
             <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
             <arg value="-DgenerateBackupPoms=false" />
             <arg value="-DallowSnapshots=true" />
-            <arg value="-Dproperty=royale.framework.version" />
+            <arg value="-Dproperty=royale.typedefs.version" />
             <arg value="-DnewVersion=${pom.project.version}" />
         </exec>
-        <exec executable="${mvn}" dir="${asjs}/manualtests" failonerror="true" >
+        <exec executable="${mvn}" dir="${asjs}" failonerror="true" >
             <arg value="org.codehaus.mojo:versions-maven-plugin:2.5:set-property" />
             <arg value="-DgenerateBackupPoms=false" />
             <arg value="-DallowSnapshots=true" />
-            <arg value="-Dproperty=royale.framework.version" />
+            <arg value="-Dproperty=royale.compiler.version" />
             <arg value="-DnewVersion=${pom.project.version}" />
         </exec>
         <exec executable="${git}" dir="${asjs}" failonerror="true" >

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.