Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

refactored script and pom for building { 2.9.x, 2.10.x } with Indigo

  • Loading branch information...
commit 40bc424b04658b0df1fbf02ba71e9cb287312e4f 1 parent aae0337
@kaptoxic authored
View
20 ch.epfl.insynth.build/ecosystem-build.sh
@@ -2,25 +2,24 @@
# combinations of flavors to build
ECLIPSE_FLAVORS=( "indigo" )
-SCALA_IDE_FLAVORS=( "dev-scala-ide-indigo-scala-2.9" )
-SCALA_FLAVORS=( "2.9.x" )
+SCALA_IDE_FLAVORS=( "scala-ide-indigo-scala-2.9" "scala-ide-indigo-scala-2.10" )
+SCALA_FLAVORS=( "2.9.x" "2.10.x" )
# root dir (containing this script)
-ROOT_DIR=$(dirname $0)
-cd ${ROOT_DIR}
+#ROOT_DIR=$(dirname $0)
ROOT_DIR=${PWD}
-#TARGET_DIR=/localhome/kuraj/temp/insynth-maven-build
-TARGET_DIR=/localhome/kuraj/Dropbox/Public/insynth
+TARGET_DIR=/localhome/kuraj/temp/insynth-maven-build
for eclipse_flavor in "${ECLIPSE_FLAVORS[@]}"
do
-for scala_ide_flavor in "${SCALA_IDE_FLAVORS[@]}"
-do
-for scala_flavor in "${SCALA_FLAVORS[@]}"
+for array_index in `seq 0 1`
do
+scala_ide_flavor=${SCALA_IDE_FLAVORS[$array_index]}
+scala_flavor=${SCALA_FLAVORS[$array_index]}
+
COMB="${eclipse_flavor}_${scala_ide_flavor}_${scala_flavor}"
-echo "Bulding InSynth for flavors ${eclipse_flavor} + ${scala_ide_flavor} + ${scala_flavor} into ${TARGET_DIR}/${COMB}"
+echo "Building InSynth for flavors ${eclipse_flavor} + ${scala_ide_flavor} + Scala ${scala_flavor} into ${TARGET_DIR}/${COMB}"
mvn -Pset-versions -P$eclipse_flavor -P$scala_ide_flavor -P$scala_flavor -Dtycho.style=maven --non-recursive exec:java
@@ -33,6 +32,5 @@ cp -r ${ROOT_DIR}/ch.epfl.insynth.update-site/target/site/ ${TARGET_DIR}/$COMB
done
done
-done
exit
View
43 ch.epfl.insynth.build/pom.xml
@@ -26,7 +26,7 @@
<!-- InSynth -->
<insynth.library.name>Specify a profile!</insynth.library.name>
- <insynth.library.version>1.0.0</insynth.library.version>
+ <insynth.library.version>1.1.5</insynth.library.version>
<!-- dependencies repos -->
<eclipse.codename>Specify a profile!</eclipse.codename>
@@ -164,52 +164,27 @@
</profile>
<profile>
- <id>next-dev-scala-ide-indigo-scala-2.9</id>
+ <id>scala-ide-indigo-scala-2.9</id>
<properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/next/e37/scala29/dev/base/</repo.scala-ide>
+ <repo.scala-ide>${repo.scala-ide.root}/ecosystem/next/e37/scala29/dev/base/</repo.scala-ide>
</properties>
</profile>
<profile>
- <id>next-dev-scala-ide-indigo-scala-2.10</id>
+ <id>scala-ide-indigo-scala-2.10</id>
<properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/next/e37/scala210/dev/base/</repo.scala-ide>
+ <repo.scala-ide>${repo.scala-ide.root}/ecosystem/next/e37/scala210/dev/base/</repo.scala-ide>
</properties>
</profile>
<profile>
- <id>next-dev-scala-ide-juno-scala-2.9</id>
+ <id>scala-ide-juno-scala-2.9</id>
<properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/next/e38/scala29/dev/base/</repo.scala-ide>
+ <repo.scala-ide>${repo.scala-ide.root}/ecosystem/next/e38/scala29/dev/base/</repo.scala-ide>
</properties>
</profile>
<profile>
- <id>next-dev-scala-ide-juno-scala-2.10</id>
+ <id>scala-ide-juno-scala-2.10</id>
<properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/next/e38/scala210/dev/base/</repo.scala-ide>
- </properties>
- </profile>
-
- <profile>
- <id>dev-scala-ide-indigo-scala-2.9</id>
- <properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/e37/scala29/dev/site/</repo.scala-ide>
- </properties>
- </profile>
- <profile>
- <id>dev-scala-ide-indigo-scala-2.10</id>
- <properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/e37/scala210/dev/site/</repo.scala-ide>
- </properties>
- </profile>
- <profile>
- <id>dev-scala-ide-juno-scala-2.9</id>
- <properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/e38/scala29/dev/site/</repo.scala-ide>
- </properties>
- </profile>
- <profile>
- <id>dev-scala-ide-juno-scala-2.10</id>
- <properties>
- <repo.scala-ide>${repo.scala-ide.root}/sdk/e38/scala210/dev/site/</repo.scala-ide>
+ <repo.scala-ide>${repo.scala-ide.root}/ecosystem/next/e38/scala210/dev/base/</repo.scala-ide>
</properties>
</profile>
Please sign in to comment.
Something went wrong with that request. Please try again.