From 60c9752377486856949389cef63f11094a0e8980 Mon Sep 17 00:00:00 2001 From: konsoletyper Date: Fri, 19 Sep 2014 17:56:58 +0400 Subject: [PATCH] Attempt to build by tycho --- teavm-eclipse/.gitignore | 1 + teavm-eclipse/pom.xml | 5 ++ teavm-eclipse/teavm-eclipse-plugin/pom.xml | 96 +++++++++++++++------- 3 files changed, 71 insertions(+), 31 deletions(-) diff --git a/teavm-eclipse/.gitignore b/teavm-eclipse/.gitignore index 40a85ffb2..650751b26 100644 --- a/teavm-eclipse/.gitignore +++ b/teavm-eclipse/.gitignore @@ -1 +1,2 @@ /.settings +/.project diff --git a/teavm-eclipse/pom.xml b/teavm-eclipse/pom.xml index e95c50e8b..3e131d215 100644 --- a/teavm-eclipse/pom.xml +++ b/teavm-eclipse/pom.xml @@ -31,4 +31,9 @@ teavm-eclipse-repository + + + http://download.eclipse.org/releases/kepler + 0.21.0 + diff --git a/teavm-eclipse/teavm-eclipse-plugin/pom.xml b/teavm-eclipse/teavm-eclipse-plugin/pom.xml index e2b91d95e..673bdc93c 100644 --- a/teavm-eclipse/teavm-eclipse-plugin/pom.xml +++ b/teavm-eclipse/teavm-eclipse-plugin/pom.xml @@ -1,3 +1,4 @@ + - 4.0.0 org.teavm - teavm + teavm-eclipse 0.2-SNAPSHOT teavm-eclipse-plugin - pom + eclipse-plugin - - - org.teavm - teavm-core - ${project.version} - - - org.teavm - teavm-classlib - ${project.version} - - - org.teavm - teavm-chrome-rdp - ${project.version} - - - ch.qos.logback - logback-classic - 1.1.2 - - + + + eclipse + ${p2-repo.url} + p2 + + + teavm + http://localhost:8080/p2-site/ + p2 + + @@ -64,21 +54,65 @@ - org.apache.maven.plugins - maven-dependency-plugin - 2.8 + org.eclipse.jetty + jetty-maven-plugin + 9.2.2.v20140723 - prepare-package + serve-repository + initialize - copy-dependencies + run - ${basedir}/lib + + /p2-site + ../teavm-eclipse-repository/target/repository + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho.version} + true + + + org.eclipse.tycho + target-platform-configuration + ${tycho.version} + + + + linux + gtk + x86 + + + linux + gtk + x86_64 + + + win32 + win32 + x86 + + + win32 + win32 + x86_64 + + + macosx + cocoa + x86_64 + + + +