ISIS-928: updating the release_archetype_xxx.sh scripts

Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/2dd419a6
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/2dd419a6
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/2dd419a6

Branch: refs/heads/master
Commit: 2dd419a63e1d3358252d05668ac0a7e75cdef69d
Parents: d2e40e6
Author: Dan Haywood <[email protected]>
Authored: Fri Feb 20 20:32:10 2015 +0000
Committer: Dan Haywood <[email protected]>
Committed: Fri Feb 20 20:32:37 2015 +0000

----------------------------------------------------------------------
 .gitignore                     |  1 -
 recreate_archetype_RELEASE.sh  | 24 ++++++++++++++++++++++++
 recreate_archetype_SNAPSHOT.sh | 24 ++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/2dd419a6/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 4e9ce67..bb099fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -43,4 +43,3 @@ JArchitectOut/
 core/integtestsupport/fixture-data
 
 rebel.xml
-recreate_archetypes.sh

http://git-wip-us.apache.org/repos/asf/isis/blob/2dd419a6/recreate_archetype_RELEASE.sh
----------------------------------------------------------------------
diff --git a/recreate_archetype_RELEASE.sh b/recreate_archetype_RELEASE.sh
new file mode 100644
index 0000000..b14a7dd
--- /dev/null
+++ b/recreate_archetype_RELEASE.sh
@@ -0,0 +1,24 @@
+export ISISREL=1.8.0
+export ISISDEV=1.9.0-SNAPSHOT
+export JIRA=ISIS-1052
+
+export ISISTMP=/c/tmp   # or as required
+export ISISPAR=$ISISREL
+export ISISRC=RC1
+export ISISCPT=$(echo $ISISART | cut -d- -f2)
+export ISISCPN=$(echo $ISISART | cut -d- -f1)
+
+for a in simpleapp 
+do
+       pushd example/application/$a
+       export ISISART=$a-archetype
+
+       env | grep ISIS | sort
+       sh ../../../scripts/recreate-archetype.sh $JIRA
+       popd
+done
+
+
+
+
+

http://git-wip-us.apache.org/repos/asf/isis/blob/2dd419a6/recreate_archetype_SNAPSHOT.sh
----------------------------------------------------------------------
diff --git a/recreate_archetype_SNAPSHOT.sh b/recreate_archetype_SNAPSHOT.sh
new file mode 100644
index 0000000..d8db578
--- /dev/null
+++ b/recreate_archetype_SNAPSHOT.sh
@@ -0,0 +1,24 @@
+export ISISREL=1.9.0-SNAPSHOT
+export ISISDEV=1.9.0-SNAPSHOT
+export JIRA=ISIS-1052
+
+export ISISTMP=/c/tmp   # or as required
+export ISISPAR=$ISISREL
+export ISISRC=RC1
+export ISISCPT=$(echo $ISISART | cut -d- -f2)
+export ISISCPN=$(echo $ISISART | cut -d- -f1)
+
+for a in simpleapp 
+do
+       pushd example/application/$a
+       export ISISART=$a-archetype
+
+       env | grep ISIS | sort
+       sh ../../../scripts/recreate-archetype.sh $JIRA
+       popd
+done
+
+
+
+
+

Reply via email to