diff --git a/teavm-eclipse/teavm-eclipse-repository/.gitignore b/teavm-eclipse/teavm-eclipse-core-plugin/.gitignore similarity index 100% rename from teavm-eclipse/teavm-eclipse-repository/.gitignore rename to teavm-eclipse/teavm-eclipse-core-plugin/.gitignore diff --git a/teavm-eclipse/teavm-eclipse-core-plugin/dep-pom.xml b/teavm-eclipse/teavm-eclipse-core-plugin/dep-pom.xml new file mode 100644 index 000000000..6d11246a2 --- /dev/null +++ b/teavm-eclipse/teavm-eclipse-core-plugin/dep-pom.xml @@ -0,0 +1,100 @@ + + + 4.0.0 + + + org.teavm + teavm + 0.2-SNAPSHOT + ../.. + + teavm-eclipse-core-deps + pom + + TeaVM dependencies for Eclipse plugin + + + + javax.interceptor + javax.interceptor-api + 1.2 + + + javax.enterprise + cdi-api + 1.2 + + + javax.transaction + javax.transaction-api + 1.2 + + + org.apache.aries.spifly + org.apache.aries.spifly.dynamic.bundle + 1.0.1 + + + org.eclipse.jetty.websocket + javax-websocket-server-impl + ${jetty.version} + + + ch.qos.logback + logback-classic + 1.1.2 + + + org.teavm + teavm-core + ${project.version} + + + org.teavm + teavm-classlib + ${project.version} + + + org.teavm + teavm-chrome-rdp + ${project.version} + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.9 + + + copy-dependencies + prepare-package + + copy-dependencies + + + ${project.basedir}/lib + + + + + + + \ No newline at end of file diff --git a/teavm-eclipse/teavm-eclipse-core-plugin/pom.xml b/teavm-eclipse/teavm-eclipse-core-plugin/pom.xml new file mode 100644 index 000000000..d0be2a3c5 --- /dev/null +++ b/teavm-eclipse/teavm-eclipse-core-plugin/pom.xml @@ -0,0 +1,70 @@ + + + 4.0.0 + + + org.teavm + teavm + 0.2-SNAPSHOT + ../.. + + teavm-eclipse-repository + 0.2.0-SNAPSHOT + eclipse-plugin + + TeaVM core packages for Eclipse + A core plugin for Eclipse that contains TeaVM itself + + + + + + org.eclipse.tycho + tycho-packaging-plugin + ${tycho.version} + + false + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.3.2 + + + copy-dependencies + process-sources + + exec + + + mvn + + -f + dep-pom.xml + + + + + + + + \ No newline at end of file diff --git a/teavm-eclipse/teavm-eclipse-feature/.project b/teavm-eclipse/teavm-eclipse-feature/.project deleted file mode 100644 index 2de74d794..000000000 --- a/teavm-eclipse/teavm-eclipse-feature/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - teavm-eclipse-feature - - - - - - org.eclipse.pde.FeatureBuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - org.eclipse.pde.FeatureNature - - diff --git a/teavm-eclipse/teavm-eclipse-feature/teavm.target b/teavm-eclipse/teavm-eclipse-feature/teavm.target deleted file mode 100644 index 41702f571..000000000 --- a/teavm-eclipse/teavm-eclipse-feature/teavm.target +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/teavm-eclipse/teavm-eclipse-m2e-plugin/.classpath b/teavm-eclipse/teavm-eclipse-m2e-plugin/.classpath deleted file mode 100644 index e493a86d4..000000000 --- a/teavm-eclipse/teavm-eclipse-m2e-plugin/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/teavm-eclipse/teavm-eclipse-m2e-plugin/.project b/teavm-eclipse/teavm-eclipse-m2e-plugin/.project deleted file mode 100644 index 778192415..000000000 --- a/teavm-eclipse/teavm-eclipse-m2e-plugin/.project +++ /dev/null @@ -1,28 +0,0 @@ - - - teavm-eclipse-m2e-plugin - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/teavm-eclipse/teavm-eclipse-m2e-plugin/.settings/org.eclipse.jdt.core.prefs b/teavm-eclipse/teavm-eclipse-m2e-plugin/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363a..000000000 --- a/teavm-eclipse/teavm-eclipse-m2e-plugin/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/teavm-eclipse/teavm-eclipse-m2e-plugin/pom.xml b/teavm-eclipse/teavm-eclipse-m2e-plugin/pom.xml new file mode 100644 index 000000000..b455b84a1 --- /dev/null +++ b/teavm-eclipse/teavm-eclipse-m2e-plugin/pom.xml @@ -0,0 +1,45 @@ + + + + 4.0.0 + + + org.teavm + teavm-eclipse + 0.2-SNAPSHOT + + teavm-eclipse-m2e-plugin + eclipse-plugin + 0.2.0-SNAPSHOT + + + + + + org.eclipse.tycho + tycho-packaging-plugin + ${tycho.version} + + false + + + + + + + \ No newline at end of file diff --git a/teavm-eclipse/teavm-eclipse-plugin/.classpath b/teavm-eclipse/teavm-eclipse-plugin/.classpath deleted file mode 100644 index 98ddc48ed..000000000 --- a/teavm-eclipse/teavm-eclipse-plugin/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/teavm-eclipse/teavm-eclipse-plugin/.project b/teavm-eclipse/teavm-eclipse-plugin/.project deleted file mode 100644 index 71be2fe7a..000000000 --- a/teavm-eclipse/teavm-eclipse-plugin/.project +++ /dev/null @@ -1,34 +0,0 @@ - - - teavm-eclipse-plugin - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - - diff --git a/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs b/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index f42de363a..000000000 --- a/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.ui.prefs b/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 6592633f4..000000000 --- a/teavm-eclipse/teavm-eclipse-plugin/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,5 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.ondemandthreshold=90 -org.eclipse.jdt.ui.staticondemandthreshold=3 diff --git a/teavm-eclipse/teavm-eclipse-plugin/pom.xml b/teavm-eclipse/teavm-eclipse-plugin/pom.xml index bf7ed72df..1dba381ba 100644 --- a/teavm-eclipse/teavm-eclipse-plugin/pom.xml +++ b/teavm-eclipse/teavm-eclipse-plugin/pom.xml @@ -24,16 +24,8 @@ 0.2-SNAPSHOT teavm-eclipse-plugin - eclipse-plugin 0.2.0-SNAPSHOT - - - - teavm - ${project.baseUri}../teavm-eclipse-repository/target/repository - p2 - - + eclipse-plugin diff --git a/teavm-eclipse/teavm-eclipse-repository/pom.xml b/teavm-eclipse/teavm-eclipse-repository/pom.xml deleted file mode 100644 index 99035e5f8..000000000 --- a/teavm-eclipse/teavm-eclipse-repository/pom.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - 4.0.0 - - - org.teavm - teavm - 0.2-SNAPSHOT - ../.. - - teavm-eclipse-repository - pom - - TeaVM thirdparty repository for Eclipse - A p2 repository for Eclipse that contains TeaVM core together with all required - dependencies - - - - - - - org.reficio - p2-maven-plugin - 1.1.0 - - - make-p2 - prepare-package - - site - - - - - javax.interceptor:javax.interceptor-api:1.2 - - - javax.enterprise:cdi-api:1.2 - - - javax.transaction:javax.transaction-api:1.2 - - - org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle:1.0.1 - - - org.teavm:teavm-core:${project.version} - - - org.teavm:teavm-classlib:${project.version} - - - org.teavm:teavm-chrome-rdp:${project.version} - - - org.eclipse.jetty.websocket:javax-websocket-server-impl:${jetty.version} - - - ch.qos.logback:logback-classic:1.1.2 - - - - - - - - - \ No newline at end of file diff --git a/teavm-eclipse/teavm-eclipse-updatesite/.project b/teavm-eclipse/teavm-eclipse-updatesite/.project deleted file mode 100644 index a6fb38251..000000000 --- a/teavm-eclipse/teavm-eclipse-updatesite/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - teavm-eclipse-updatesite - - - - - - org.eclipse.pde.UpdateSiteBuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.m2e.core.maven2Nature - org.eclipse.pde.UpdateSiteNature - -