diff --git a/teavm-eclipse-feature/build.properties b/teavm-eclipse-feature/build.properties
new file mode 100644
index 000000000..64f93a9f0
--- /dev/null
+++ b/teavm-eclipse-feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml
diff --git a/teavm-eclipse-feature/feature.xml b/teavm-eclipse-feature/feature.xml
new file mode 100644
index 000000000..5e6015dfd
--- /dev/null
+++ b/teavm-eclipse-feature/feature.xml
@@ -0,0 +1,33 @@
+
+
+
+
+ [Enter Feature Description here.]
+
+
+
+ [Enter Copyright Description here.]
+
+
+
+ [Enter License Description here.]
+
+
+
+
+
diff --git a/teavm-eclipse-plugin/.classpath b/teavm-eclipse-plugin/.classpath
new file mode 100644
index 000000000..4a2005457
--- /dev/null
+++ b/teavm-eclipse-plugin/.classpath
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/teavm-eclipse-plugin/.gitignore b/teavm-eclipse-plugin/.gitignore
index d3f7a8a94..61b2b4207 100644
--- a/teavm-eclipse-plugin/.gitignore
+++ b/teavm-eclipse-plugin/.gitignore
@@ -1,5 +1,2 @@
-/.settings
/lib
-/target
-/.classpath
-/.project
+/target
\ No newline at end of file
diff --git a/teavm-eclipse-plugin/.project b/teavm-eclipse-plugin/.project
new file mode 100644
index 000000000..f240a85f5
--- /dev/null
+++ b/teavm-eclipse-plugin/.project
@@ -0,0 +1,28 @@
+
+
+ teavm-eclipse-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-plugin/.settings/org.eclipse.jdt.core.prefs b/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..f42de363a
--- /dev/null
+++ b/teavm-eclipse-plugin/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+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-plugin/META-INF/MANIFEST.MF b/teavm-eclipse-plugin/META-INF/MANIFEST.MF
index 11ce4a80d..319289525 100644
--- a/teavm-eclipse-plugin/META-INF/MANIFEST.MF
+++ b/teavm-eclipse-plugin/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: TeaVM plugin for Eclipse
Bundle-SymbolicName: teavm-eclipse-plugin;singleton:=true
-Bundle-Version: 0.2.0.SNAPSHOT
+Bundle-Version: 0.2.0.qualifer
Bundle-Vendor: Alexey Andreev
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.9.0",
@@ -17,7 +17,8 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.9.0",
org.eclipse.ui.editors;bundle-version="3.8.100",
org.eclipse.ui.ide;bundle-version="3.9.0",
org.eclipse.jdt.ui;bundle-version="3.9.2"
-Bundle-ClassPath: lib/asm-5.0.1.jar,
+Bundle-ClassPath: .,
+ lib/asm-5.0.1.jar,
lib/asm-commons-5.0.1.jar,
lib/asm-debug-all-4.2.jar,
lib/asm-tree-5.0.1.jar,
@@ -40,6 +41,8 @@ Bundle-ClassPath: lib/asm-5.0.1.jar,
lib/jetty-util-9.2.1.v20140609.jar,
lib/jetty-webapp-9.2.1.v20140609.jar,
lib/jetty-xml-9.2.1.v20140609.jar,
+ lib/logback-classic-1.1.2.jar,
+ lib/logback-core-1.1.2.jar,
lib/slf4j-api-1.7.7.jar,
lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar,
lib/teavm-core-0.2-SNAPSHOT.jar,
@@ -47,9 +50,8 @@ Bundle-ClassPath: lib/asm-5.0.1.jar,
lib/websocket-client-9.2.1.v20140609.jar,
lib/websocket-common-9.2.1.v20140609.jar,
lib/websocket-server-9.2.1.v20140609.jar,
- lib/websocket-servlet-9.2.1.v20140609.jar,
- .,
- lib/logback-classic-1.1.2.jar,
- lib/logback-core-1.1.2.jar
+ lib/websocket-servlet-9.2.1.v20140609.jar
Export-Package: org.teavm.eclipse.debugger,
org.teavm.eclipse.debugger.ui
+Import-Package: org.teavm.chromerdp;version="0.2.0",
+ org.teavm.debugging;version="0.2.0"
diff --git a/teavm-eclipse-plugin/build.properties b/teavm-eclipse-plugin/build.properties
index b7c5afb9c..c73e6cfde 100644
--- a/teavm-eclipse-plugin/build.properties
+++ b/teavm-eclipse-plugin/build.properties
@@ -3,42 +3,73 @@ output.. = target/
bin.includes = plugin.xml,\
META-INF/,\
.,\
- lib/asm-5.0.1.jar,\
- lib/websocket-servlet-9.2.1.v20140609.jar,\
- lib/websocket-server-9.2.1.v20140609.jar,\
- lib/websocket-common-9.2.1.v20140609.jar,\
- lib/websocket-client-9.2.1.v20140609.jar,\
- lib/websocket-api-9.2.1.v20140609.jar,\
- lib/teavm-core-0.2-SNAPSHOT.jar,\
- lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar,\
- lib/slf4j-api-1.7.7.jar,\
- lib/jetty-xml-9.2.1.v20140609.jar,\
- lib/jetty-webapp-9.2.1.v20140609.jar,\
- lib/jetty-util-9.2.1.v20140609.jar,\
- lib/jetty-servlet-9.2.1.v20140609.jar,\
- lib/jetty-server-9.2.1.v20140609.jar,\
- lib/jetty-security-9.2.1.v20140609.jar,\
- lib/jetty-plus-9.2.1.v20140609.jar,\
- lib/jetty-jndi-9.2.1.v20140609.jar,\
- lib/jetty-io-9.2.1.v20140609.jar,\
- lib/jetty-http-9.2.1.v20140609.jar,\
- lib/jetty-annotations-9.2.1.v20140609.jar,\
- lib/javax.websocket-api-1.0.jar,\
- lib/javax.servlet-api-3.1.0.jar,\
- lib/javax.annotation-api-1.2.jar,\
- lib/javax-websocket-server-impl-9.2.1.v20140609.jar,\
- lib/javax-websocket-client-impl-9.2.1.v20140609.jar,\
- lib/jackson-mapper-asl-1.9.13.jar,\
- lib/jackson-core-asl-1.9.13.jar,\
- lib/commons-io-2.4.jar,\
- lib/asm-tree-5.0.1.jar,\
- lib/asm-debug-all-4.2.jar,\
- lib/asm-commons-5.0.1.jar,\
logback.xml,\
+ lib/,\
+ lib/asm-5.0.1.jar,\
+ lib/asm-commons-5.0.1.jar,\
+ lib/asm-debug-all-4.2.jar,\
+ lib/asm-tree-5.0.1.jar,\
+ lib/commons-io-2.4.jar,\
+ lib/jackson-core-asl-1.9.13.jar,\
+ lib/jackson-mapper-asl-1.9.13.jar,\
+ lib/javax-websocket-client-impl-9.2.1.v20140609.jar,\
+ lib/javax-websocket-server-impl-9.2.1.v20140609.jar,\
+ lib/javax.annotation-api-1.2.jar,\
+ lib/javax.servlet-api-3.1.0.jar,\
+ lib/javax.websocket-api-1.0.jar,\
+ lib/jetty-annotations-9.2.1.v20140609.jar,\
+ lib/jetty-http-9.2.1.v20140609.jar,\
+ lib/jetty-io-9.2.1.v20140609.jar,\
+ lib/jetty-jndi-9.2.1.v20140609.jar,\
+ lib/jetty-plus-9.2.1.v20140609.jar,\
+ lib/jetty-security-9.2.1.v20140609.jar,\
+ lib/jetty-server-9.2.1.v20140609.jar,\
+ lib/jetty-servlet-9.2.1.v20140609.jar,\
+ lib/jetty-util-9.2.1.v20140609.jar,\
+ lib/jetty-webapp-9.2.1.v20140609.jar,\
+ lib/jetty-xml-9.2.1.v20140609.jar,\
+ lib/logback-classic-1.1.2.jar,\
lib/logback-core-1.1.2.jar,\
- lib/logback-classic-1.1.2.jar
-source.lib/teavm-core-0.2-SNAPSHOT.jar =
-jars.compile.order = .,\
- lib/teavm-core-0.2-SNAPSHOT.jar,\
- lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar
-source.lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar =
+ lib/slf4j-api-1.7.7.jar,\
+ lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar,\
+ lib/teavm-core-0.2-SNAPSHOT.jar,\
+ lib/websocket-api-9.2.1.v20140609.jar,\
+ lib/websocket-client-9.2.1.v20140609.jar,\
+ lib/websocket-common-9.2.1.v20140609.jar,\
+ lib/websocket-server-9.2.1.v20140609.jar,\
+ lib/websocket-servlet-9.2.1.v20140609.jar
+jars.compile.order = .
+jars.extra.classpath = logback.xml,\
+ lib/asm-5.0.1.jar,\
+ lib/asm-commons-5.0.1.jar,\
+ lib/asm-debug-all-4.2.jar,\
+ lib/asm-tree-5.0.1.jar,\
+ lib/commons-io-2.4.jar,\
+ lib/jackson-core-asl-1.9.13.jar,\
+ lib/jackson-mapper-asl-1.9.13.jar,\
+ lib/javax-websocket-client-impl-9.2.1.v20140609.jar,\
+ lib/javax-websocket-server-impl-9.2.1.v20140609.jar,\
+ lib/javax.annotation-api-1.2.jar,\
+ lib/javax.servlet-api-3.1.0.jar,\
+ lib/javax.websocket-api-1.0.jar,\
+ lib/jetty-annotations-9.2.1.v20140609.jar,\
+ lib/jetty-http-9.2.1.v20140609.jar,\
+ lib/jetty-io-9.2.1.v20140609.jar,\
+ lib/jetty-jndi-9.2.1.v20140609.jar,\
+ lib/jetty-plus-9.2.1.v20140609.jar,\
+ lib/jetty-security-9.2.1.v20140609.jar,\
+ lib/jetty-server-9.2.1.v20140609.jar,\
+ lib/jetty-servlet-9.2.1.v20140609.jar,\
+ lib/jetty-util-9.2.1.v20140609.jar,\
+ lib/jetty-webapp-9.2.1.v20140609.jar,\
+ lib/jetty-xml-9.2.1.v20140609.jar,\
+ lib/logback-classic-1.1.2.jar,\
+ lib/logback-core-1.1.2.jar,\
+ lib/slf4j-api-1.7.7.jar,\
+ lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar,\
+ lib/teavm-core-0.2-SNAPSHOT.jar,\
+ lib/websocket-api-9.2.1.v20140609.jar,\
+ lib/websocket-client-9.2.1.v20140609.jar,\
+ lib/websocket-common-9.2.1.v20140609.jar,\
+ lib/websocket-server-9.2.1.v20140609.jar,\
+ lib/websocket-servlet-9.2.1.v20140609.jar
diff --git a/teavm-eclipse-plugin/pom.xml b/teavm-eclipse-plugin/pom.xml
index 303b0399b..693d3687f 100644
--- a/teavm-eclipse-plugin/pom.xml
+++ b/teavm-eclipse-plugin/pom.xml
@@ -8,8 +8,8 @@
teavm
0.2-SNAPSHOT
- teavm-eclipse
- bundle
+ teavm-eclipse-plugin
+ pom
@@ -30,28 +30,34 @@
+
+
+
+ org.eclipse.tycho
+ tycho-packaging-plugin
+ ${tycho.version}
+
+ false
+
+
+
+
-
- org.apache.felix
- maven-bundle-plugin
- true
-
-
- org.teavm.eclipse.*
- teavm-eclipse
-
-
-
org.apache.maven.plugins
maven-dependency-plugin
2.8
-
- dependency:copy-dependencies
-
-
- ${basedir}/lib
-
+
+
+ prepare-package
+
+ copy-dependencies
+
+
+ ${basedir}/lib
+
+
+
diff --git a/teavm-eclipse-updatesite/.project b/teavm-eclipse-updatesite/.project
new file mode 100644
index 000000000..dfe9370ed
--- /dev/null
+++ b/teavm-eclipse-updatesite/.project
@@ -0,0 +1,17 @@
+
+
+ teavm-eclipse-updatesite
+
+
+
+
+
+ org.eclipse.pde.UpdateSiteBuilder
+
+
+
+
+
+ org.eclipse.pde.UpdateSiteNature
+
+
diff --git a/teavm-eclipse-updatesite/site.xml b/teavm-eclipse-updatesite/site.xml
new file mode 100644
index 000000000..f0df67aac
--- /dev/null
+++ b/teavm-eclipse-updatesite/site.xml
@@ -0,0 +1,10 @@
+
+
+
+ TeaVM update site
+
+
+
+
+
+