Skip to content

Commit

Permalink
Merge pull request #769 from dragos/unify-luna
Browse files Browse the repository at this point in the history
Unify kepler and luna branches as different profiles under the same build
  • Loading branch information
dragos committed Aug 25, 2014
2 parents 9f8f32f + 550cf10 commit ad1347a
Show file tree
Hide file tree
Showing 18 changed files with 605 additions and 13 deletions.
4 changes: 2 additions & 2 deletions build-all.sh
Expand Up @@ -9,8 +9,8 @@ ROOT_DIR=${PWD}

if [ -z "$*" ]
then
MVN_ARGS="-Pscala-2.11.x -Peclipse-kepler clean install"
MVN_P2_ARGS="-Dtycho.localArtifacts=ignore -Pscala-2.11.x -Peclipse-kepler clean verify"
MVN_ARGS="-Pscala-2.11.x -Peclipse-luna clean install"
MVN_P2_ARGS="-Dtycho.localArtifacts=ignore -Pscala-2.11.x -Peclipse-luna clean verify"
else
MVN_ARGS="$*"
MVN_P2_ARGS="-Dtycho.localArtifacts=ignore $*"
Expand Down
1 change: 1 addition & 0 deletions org.scala-ide.sdt.aspects/.classpath
Expand Up @@ -3,5 +3,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/"/>
<classpathentry kind="src" path="src-luna"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
18 changes: 18 additions & 0 deletions org.scala-ide.sdt.aspects/pom.xml
Expand Up @@ -54,6 +54,24 @@
</execution>
</executions>
</plugin>

<!-- added source folder containing the code specific to the Eclipse version -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals><goal>add-source</goal></goals>
<configuration>
<sources>
<source>src-${eclipse.codename}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit ad1347a

Please sign in to comment.