Skip to content

Commit

Permalink
Create Eclipse maven profile for Juno
Browse files Browse the repository at this point in the history
  • Loading branch information
emolitor committed Aug 5, 2012
1 parent dc7d3f5 commit dcc504f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion org.scala-ide.sdt.build/pom.xml
Expand Up @@ -210,7 +210,7 @@
<frameworkExtension> <frameworkExtension>
<groupId>p2.osgi.bundle</groupId> <groupId>p2.osgi.bundle</groupId>
<artifactId>org.eclipse.equinox.weaving.hook</artifactId> <artifactId>org.eclipse.equinox.weaving.hook</artifactId>
<version>1.0.200.I20120427-0800</version> <version>${weaving.hook.plugin.version}</version>
</frameworkExtension> </frameworkExtension>
</frameworkExtensions> </frameworkExtensions>
<bundleStartLevel> <bundleStartLevel>
Expand Down
19 changes: 17 additions & 2 deletions pom.xml
Expand Up @@ -15,8 +15,9 @@
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
<!-- p2 repositories location --> <!-- p2 repositories location -->
<repo.eclipse.indigo>http://download.eclipse.org/releases/indigo/</repo.eclipse.indigo> <repo.eclipse.indigo>http://download.eclipse.org/releases/indigo/</repo.eclipse.indigo>
<repo.eclipse.juno>http://download.eclipse.org/eclipse/updates/4.2milestones</repo.eclipse.juno> <repo.eclipse.juno>http://download.eclipse.org/releases/juno</repo.eclipse.juno>
<repo.ajdt.indigo>http://download.eclipse.org/tools/ajdt/37/dev/update</repo.ajdt.indigo> <repo.ajdt.indigo>http://download.eclipse.org/tools/ajdt/37/dev/update</repo.ajdt.indigo>
<repo.ajdt.juno>http://download.eclipse.org/tools/ajdt/42/dev/update</repo.ajdt.juno>
<repo.equinox.launcher>http://www.chuusai.com/eclipse/equinox-weaving-launcher/</repo.equinox.launcher> <repo.equinox.launcher>http://www.chuusai.com/eclipse/equinox-weaving-launcher/</repo.equinox.launcher>
<repo.scala-ide.root>http://download.scala-ide.org</repo.scala-ide.root> <repo.scala-ide.root>http://download.scala-ide.org</repo.scala-ide.root>


Expand All @@ -40,13 +41,16 @@
<maven-source.plugin.version>2.1.2</maven-source.plugin.version> <maven-source.plugin.version>2.1.2</maven-source.plugin.version>
<maven-clean.plugin.version>2.5</maven-clean.plugin.version> <maven-clean.plugin.version>2.5</maven-clean.plugin.version>


<!-- Weaving plugin version, default for Indigo -->
<weaving.hook.plugin.version>1.0.200.I20120427-0800</weaving.hook.plugin.version>

<!-- tycho test related --> <!-- tycho test related -->
<tycho.test.OSspecific></tycho.test.OSspecific> <tycho.test.OSspecific></tycho.test.OSspecific>
<!-- Partial workaround against JDT Weaving deadlocks. See #1000317 and the original ticket on https://issuetracker.springsource.com/browse/STS-1445 --> <!-- Partial workaround against JDT Weaving deadlocks. See #1000317 and the original ticket on https://issuetracker.springsource.com/browse/STS-1445 -->
<tycho.test.weaving>-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dosgi.classloader.lock=classname</tycho.test.weaving> <tycho.test.weaving>-XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dosgi.classloader.lock=classname</tycho.test.weaving>
<tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -Dsdtcore.headless ${tycho.test.weaving} ${tycho.test.OSspecific}</tycho.test.jvmArgs> <tycho.test.jvmArgs>-Xmx800m -XX:MaxPermSize=256m -Dsdtcore.headless ${tycho.test.weaving} ${tycho.test.OSspecific}</tycho.test.jvmArgs>


<!-- dependencies repos --> <!-- dependencies repos, can be overwritten by profiles -->
<eclipse.codename>indigo</eclipse.codename> <eclipse.codename>indigo</eclipse.codename>
<repo.eclipse>${repo.eclipse.indigo}</repo.eclipse> <repo.eclipse>${repo.eclipse.indigo}</repo.eclipse>
<repo.ajdt>${repo.ajdt.indigo}</repo.ajdt> <repo.ajdt>${repo.ajdt.indigo}</repo.ajdt>
Expand Down Expand Up @@ -89,6 +93,17 @@
</properties> </properties>
</profile> </profile>


<profile>
<!-- Eclipse Juno -->
<id>eclipse-juno</id>
<properties>
<eclipse.codename>juno</eclipse.codename>
<repo.eclipse>${repo.eclipse.juno}</repo.eclipse>
<repo.ajdt>${repo.ajdt.juno}</repo.ajdt>
<weaving.hook.plugin.version>1.0.200.v20120524-1707</weaving.hook.plugin.version>
</properties>
</profile>

<profile> <profile>
<!-- some extra configuration for running tests with tycho on Mac OS --> <!-- some extra configuration for running tests with tycho on Mac OS -->
<id>macOs</id> <id>macOs</id>
Expand Down

0 comments on commit dcc504f

Please sign in to comment.