Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

configured individual maven build, preparing for continuous integrati…

…on on travis-ci
  • Loading branch information...
commit dfdd13f8b270aa227de3f7dbfced88eb89b22c68 1 parent a35f133
@cderoove authored
View
8 .travis.yml
@@ -0,0 +1,8 @@
+language: java
+jdk:
+ - oraclejdk8
+script: build-individually
+before_script:
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
+after_failure: "cat /home/travis/build/cderoove/damp.ekeko.snippets/damp.ekeko.snippets.plugin.test/target/work/data/.metadata/.log"
View
1  build-individually
@@ -0,0 +1 @@
+mvn -Pbuild-individual-bundles clean verify
View
19 damp.ekeko.snippets.feature/feature.xml
@@ -22,27 +22,14 @@ and performing program transformations in an incremental manner.
</url>
<requires>
- <import plugin="damp.ekeko.plugin" version="1.0.3" match="greaterOrEqual"/>
- <import plugin="org.eclipse.osgi.services" version="3.3.100" match="greaterOrEqual"/>
- <import plugin="org.eclipse.osgi.util" version="3.2.300" match="greaterOrEqual"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.jdt.core" version="3.8.1" match="greaterOrEqual"/>
- <import plugin="org.eclipse.jface.text" version="3.8.1" match="greaterOrEqual"/>
- <import plugin="org.eclipse.ui.workbench.texteditor" version="3.8.0" match="greaterOrEqual"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.jdt.astview" match="greaterOrEqual"/>
- <import plugin="damp.libs" version="2.0.2" match="greaterOrEqual"/>
- <import feature="damp.ekeko.feature" version="2.0.0"/>
- <import feature="org.eclipse.jdt.astview.feature" match="greaterOrEqual"/>
- <import plugin="ccw.core"/>
+ <import feature="damp.ekeko.feature" version="2.0.9.qualifier"/>
</requires>
<plugin
- id="EkekoSnippets"
+ id="damp.ekeko.snippets.plugin"
download-size="0"
install-size="0"
- version="1.0.4"
+ version="0.0.0"
unpack="false"/>
</feature>
View
6 damp.ekeko.snippets.feature/pom.xml
@@ -4,9 +4,9 @@
<parent>
<relativePath>../pom.xml</relativePath>
- <groupId>damp.ekeko</groupId>
- <artifactId>parent</artifactId>
- <version>2.0.9-SNAPSHOT</version> <!-- bump this -->
+ <groupId>damp.ekeko.snippets</groupId>
+ <artifactId>damp.ekeko.snippets</artifactId>
+ <version>1.0.4-SNAPSHOT</version> <!-- bump this -->
</parent>
<artifactId>damp.ekeko.snippets.feature</artifactId>
View
80 damp.ekeko.snippets.plugin.test/pom.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <relativePath>../pom.xml</relativePath>
+ <groupId>damp.ekeko.snippets</groupId>
+ <artifactId>damp.ekeko.snippets</artifactId>
+ <version>1.0.4-SNAPSHOT</version> <!-- bump this -->
+ </parent>
+
+ <artifactId>damp.ekeko.snippets.plugin.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <version>1.0.4-SNAPSHOT</version>
+
+ <properties>
+ <os-jvm-flags/> <!-- for the default case -->
+ </properties>
+
+
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>0.20.0</version>
+
+ <configuration>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>false</useUIThread>
+ <argLine>-Xms128m -Xmx2048m ${os-jvm-flags}</argLine>
+ <showEclipseLog>true</showEclipseLog>
+ <product>org.eclipse.sdk.ide</product>
+ <application>org.eclipse.ui.ide.workbench</application>
+
+
+ <configuration>
+ <testRuntime>p2Installed</testRuntime>
+ </configuration>
+
+ <dependencies>
+ <dependency>
+ <type>p2-installable-unit</type>
+ <artifactId>org.eclipse.pde.feature.group</artifactId>
+ <version>${platform-version}</version>
+ </dependency>
+
+
+ <dependency>
+ <type>eclipse-feature</type>
+ <artifactId>org.eclipse.jdt</artifactId>
+ <version>${platform-version}</version>
+ </dependency>
+
+ </dependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>macosx-jvm-flags</id>
+ <activation>
+ <os>
+ <family>mac</family>
+ </os>
+ </activation>
+ <properties>
+ <os-jvm-flags>-XstartOnFirstThread</os-jvm-flags>
+ </properties>
+ </profile>
+ </profiles>
+
+
+
+</project>
View
2  damp.ekeko.snippets.plugin.test/src/test/damp/ekeko/snippets/EkekoSnippetsTest.java
@@ -21,7 +21,7 @@
@BeforeClass
public static void ensureTestCasesExist() throws Exception {
- EkekoTestHelper.ensureProjectImported(myBundle, "/resources/TestCases/", "Ekeko-JDT");
+ EkekoTestHelper.ensureProjectImported(myBundle, "/resources/TestCases/", "TestCase-Snippets-BasicMatching");
}
@Test
View
236 pom.xml
@@ -1,115 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
-
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>damp.ekeko.snippets</groupId>
- <artifactId>damp.ekeko.snippets</artifactId>
- <version>1.0.4-SNAPSHOT</version> <!-- bump this -->
-
-
- <packaging>pom</packaging>
- <modules>
- <module>./damp.ekeko.snippets.plugin</module>
- <module>./damp.ekeko.snippets.plugin.test</module>
- <module>./damp.ekeko.snippets.feature</module>
- </modules>
-
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <tycho.version>0.20.0</tycho.version>
- <kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url>
- </properties>
-
- <repositories>
- <repository>
- <id>kepler</id>
- <url>${kepler-repo.url}</url>
- <layout>p2</layout>
- </repository>
- <repository>
- <id>Counterclockwise stable versions Site</id>
- <url>http://updatesite.ccw-ide.org/stable</url>
- <layout>p2</layout>
- </repository>
-
-
- </repositories>
-
- <distributionManagement>
- <repository>
- <id>soft</id>
- <url>sftp://soft.vub.ac.be/~cderoove/public_html/eclipse/</url>
- </repository>
- </distributionManagement>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-maven-plugin</artifactId>
- <version>${tycho.version}</version>
- <extensions>true</extensions>
- </plugin>
-
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>target-platform-configuration</artifactId>
- <configuration>
- <environments>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>linux</os>
- <ws>gtk</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86</arch>
- </environment>
- <environment>
- <os>win32</os>
- <ws>win32</ws>
- <arch>x86_64</arch>
- </environment>
- <environment>
- <os>macosx</os>
- <ws>cocoa</ws>
- <arch>x86_64</arch>
- </environment>
- </environments>
- </configuration>
- <version>${tycho.version}</version>
- </plugin>
-
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-versions-plugin</artifactId>
- <version>${tycho.version}</version>
- </plugin>
-
-
- </plugins>
-
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-ssh-external</artifactId>
- <version>2.6</version>
- </extension>
- </extensions>
-
-
-
-
-
- </build>
-
+
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>damp.ekeko.snippets</groupId>
+ <artifactId>damp.ekeko.snippets</artifactId>
+ <version>1.0.4-SNAPSHOT</version> <!-- bump this -->
+
+
+ <packaging>pom</packaging>
+ <modules>
+ <module>./damp.ekeko.snippets.plugin</module>
+ <module>./damp.ekeko.snippets.plugin.test</module>
+ <module>./damp.ekeko.snippets.feature</module>
+ </modules>
+
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <tycho.version>0.20.0</tycho.version>
+ <kepler-repo.url>http://download.eclipse.org/releases/kepler</kepler-repo.url>
+ </properties>
+
+ <repositories>
+ <repository>
+ <id>kepler</id>
+ <url>${kepler-repo.url}</url>
+ <layout>p2</layout>
+ </repository>
+ <repository>
+ <id>Counterclockwise stable versions Site</id>
+ <url>http://updatesite.ccw-ide.org/stable</url>
+ <layout>p2</layout>
+ </repository>
+
+
+ </repositories>
+
+ <distributionManagement>
+ <repository>
+ <id>soft</id>
+ <url>scp://soft.vub.ac.be/~cderoove/public_html/eclipse/</url>
+ </repository>
+ </distributionManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <extensions>true</extensions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <environments>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ <version>${tycho.version}</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-versions-plugin</artifactId>
+ <version>${tycho.version}</version>
+ </plugin>
+
+
+ </plugins>
+
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh-external</artifactId>
+ <version>2.6</version>
+ </extension>
+ </extensions>
+
+ </build>
+
+ <profiles>
+ <!-- when built with this profile, pre-built dependencies will be fetched
+ from the public update-site -->
+ <profile>
+ <id>build-individual-bundles</id>
+ <repositories>
+ <repository>
+ <id>eclipse-repo</id>
+ <url>http://soft.vub.ac.be/~cderoove/eclipse/</url>
+ <layout>p2</layout>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
+
+
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.