Configure to build by tycho

This commit is contained in:
konsoletyper 2014-09-19 23:00:35 +04:00
parent 60c9752377
commit ae3095f0ff
15 changed files with 214 additions and 267 deletions

View File

@ -24,6 +24,8 @@
</parent> </parent>
<artifactId>teavm-classlib</artifactId> <artifactId>teavm-classlib</artifactId>
<packaging>bundle</packaging>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
@ -52,6 +54,17 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.teavm.classlib.*</Export-Package>
<Bundle-SymbolicName>teavm-classlib</Bundle-SymbolicName>
</instructions>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.teavm</groupId> <groupId>org.teavm</groupId>
<artifactId>teavm-maven-plugin</artifactId> <artifactId>teavm-maven-plugin</artifactId>

View File

@ -13,8 +13,7 @@
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
@ -28,12 +27,78 @@
<name>TeaVM Eclipse plugins</name> <name>TeaVM Eclipse plugins</name>
<description>TeaVM plugins for Eclipse</description> <description>TeaVM plugins for Eclipse</description>
<modules>
<module>teavm-eclipse-repository</module>
</modules>
<properties> <properties>
<p2-repo.url>http://download.eclipse.org/releases/kepler</p2-repo.url> <p2-repo.url>http://download.eclipse.org/releases/kepler</p2-repo.url>
<tycho.version>0.21.0</tycho.version> <tycho.version>0.21.0</tycho.version>
</properties> </properties>
<modules>
<module>teavm-eclipse-repository</module>
<module>teavm-eclipse-plugin</module>
<module>teavm-eclipse-feature</module>
<module>teavm-eclipse-updatesite</module>
</modules>
<repositories>
<repository>
<id>eclipse</id>
<url>${p2-repo.url}</url>
<layout>p2</layout>
</repository>
</repositories>
<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>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<strictVersions>false</strictVersions>
<forceContextQualifier>qualifier</forceContextQualifier>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<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>
</plugin>
</plugins>
</build>
</project> </project>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<feature <feature
id="teavm.eclipse.feature" id="teavm-eclipse-feature"
label="TeaVM Eclipse support" label="TeaVM Eclipse support"
version="0.2.0.qualifier" version="0.2.0.qualifier"
provider-name="Alexey Andreev &lt;konsoletyper@gmail.com&gt;" provider-name="Alexey Andreev &lt;konsoletyper@gmail.com&gt;"
@ -17,8 +17,7 @@
</copyright> </copyright>
<license url="http://www.apache.org/licenses/LICENSE-2.0.html"> <license url="http://www.apache.org/licenses/LICENSE-2.0.html">
Apache License
Apache License
Version 2.0, January 2004 Version 2.0, January 2004
http://www.apache.org/licenses/ http://www.apache.org/licenses/
@ -26,38 +25,38 @@
1. Definitions. 1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, &quot;License&quot; shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document. and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by &quot;Licensor&quot; shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License. the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all &quot;Legal Entity&quot; shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition, control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the &quot;control&quot; means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity. outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity &quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity
exercising permissions granted by this License. exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, &quot;Source&quot; form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation including but not limited to software source code, documentation
source, and configuration files. source, and configuration files.
"Object" form shall mean any form resulting from mechanical &quot;Object&quot; form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation, not limited to compiled object code, generated documentation,
and conversions to other media types. and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or &quot;Work&quot; shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work copyright notice that is included in or attached to the work
(an example is provided in the Appendix below). (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object &quot;Derivative Works&quot; shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes represent, as a whole, an original work of authorship. For the purposes
@ -65,21 +64,21 @@
separable from, or merely link (or bind by name) to the interfaces of, separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof. the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including &quot;Contribution&quot; shall mean any work of authorship, including
the original version of the Work and any modifications or additions the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted" the copyright owner. For the purposes of this definition, &quot;submitted&quot;
means any form of electronic, verbal, or written communication sent means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems, communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution." designated in writing by the copyright owner as &quot;Not a Contribution.&quot;
"Contributor" shall mean Licensor and any individual or Legal Entity &quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work. subsequently incorporated within the Work.
@ -123,7 +122,7 @@
excluding those notices that do not pertain to any part of excluding those notices that do not pertain to any part of
the Derivative Works; and the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its (d) If the Work includes a &quot;NOTICE&quot; text file as part of its
distribution, then any Derivative Works that You distribute must distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not within such NOTICE file, excluding those notices that do not
@ -162,7 +161,7 @@
7. Disclaimer of Warranty. Unless required by applicable law or 7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS, Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
@ -198,37 +197,37 @@
APPENDIX: How to apply the Apache License to your work. APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]" boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;
replaced with your own identifying information. (Don't include replaced with your own identifying information. (Don&apos;t include
the brackets!) The text should be enclosed in the appropriate the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier same &quot;printed page&quot; as the copyright notice for easier
identification within third-party archives. identification within third-party archives.
Copyright [yyyy] [name of copyright owner] Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
You may obtain a copy of the License at You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
</license> </license>
<plugin <plugin
id="org.teavm.eclipse" id="teavm-eclipse-plugin"
os="aix,hpux,linux,macosx,qnx,solaris,win32" os="aix,hpux,linux,macosx,qnx,solaris,win32"
ws="carbon,cocoa,gtk,motif,photon,win32,wpf" ws="carbon,cocoa,gtk,motif,photon,win32,wpf"
arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64" arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="0.0.0" version="0.2.0.qualifier"
unpack="false"/> unpack="false"/>
</feature> </feature>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2014 Alexey Andreev.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>0.2-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-feature</artifactId>
<version>0.2.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>

View File

@ -1,42 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <classpath>
<classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/main/java"/>
<classpathentry exported="true" kind="lib" path="lib/gson-2.2.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/teavm-classlib-0.2-SNAPSHOT.jar"/>
<classpathentry exported="true" kind="lib" path="lib/teavm-platform-0.2-SNAPSHOT.jar"/>
<classpathentry exported="true" kind="lib" path="lib/asm-5.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/asm-commons-5.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/asm-debug-all-4.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/asm-tree-5.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-io-2.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-core-asl-1.9.13.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jackson-mapper-asl-1.9.13.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javax-websocket-client-impl-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javax-websocket-server-impl-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javax.annotation-api-1.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javax.servlet-api-3.1.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/javax.websocket-api-1.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-annotations-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-http-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-io-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-jndi-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-plus-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-security-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-server-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-servlet-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-util-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-webapp-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jetty-xml-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/logback-classic-1.1.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/logback-core-1.1.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/slf4j-api-1.7.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/teavm-chrome-rdp-0.2-SNAPSHOT.jar" sourcepath="/teavm-chrome-rdp"/>
<classpathentry exported="true" kind="lib" path="lib/teavm-core-0.2-SNAPSHOT.jar" sourcepath="/teavm-core"/>
<classpathentry exported="true" kind="lib" path="lib/websocket-api-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/websocket-client-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/websocket-common-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/websocket-server-9.2.1.v20140609.jar"/>
<classpathentry exported="true" kind="lib" path="lib/websocket-servlet-9.2.1.v20140609.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="target"/> <classpathentry kind="output" path="target"/>

View File

@ -1,7 +1,7 @@
Manifest-Version: 1.0 Manifest-Version: 1.0
Bundle-ManifestVersion: 2 Bundle-ManifestVersion: 2
Bundle-Name: TeaVM plugin for Eclipse Bundle-Name: TeaVM plugin for Eclipse
Bundle-SymbolicName: org.teavm.eclipse;singleton:=true Bundle-SymbolicName: teavm-eclipse-plugin;singleton:=true
Bundle-Version: 0.2.0.qualifer Bundle-Version: 0.2.0.qualifer
Bundle-Vendor: Alexey Andreev <konsoletyper@gmail.com> Bundle-Vendor: Alexey Andreev <konsoletyper@gmail.com>
Bundle-RequiredExecutionEnvironment: JavaSE-1.7 Bundle-RequiredExecutionEnvironment: JavaSE-1.7
@ -21,43 +21,11 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.8.0,4.0)",
org.eclipse.core.filesystem;bundle-version="[1.3.200,2)", org.eclipse.core.filesystem;bundle-version="[1.3.200,2)",
org.eclipse.core.variables;bundle-version="[3.2.600,4)", org.eclipse.core.variables;bundle-version="[3.2.600,4)",
org.eclipse.core.databinding.observable;bundle-version="[1.4.1,2)", org.eclipse.core.databinding.observable;bundle-version="[1.4.1,2)",
org.eclipse.jface.databinding;bundle-version="[1.6.0,2)" org.eclipse.jface.databinding;bundle-version="[1.6.0,2)",
Bundle-ClassPath: ., teavm-core;bundle-version="[0.2.0,3)",
lib/asm-5.0.1.jar, teavm-classlib;bundle-version="[0.2.0,3)",
lib/asm-commons-5.0.1.jar, teavm-platform;bundle-version="[0.2.0,3)",
lib/asm-debug-all-4.2.jar, teavm-chrome-rdp;bundle-version="[0.2.0,3)"
lib/asm-tree-5.0.1.jar, Bundle-ClassPath: .
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,
lib/gson-2.2.4.jar,
lib/teavm-classlib-0.2-SNAPSHOT.jar,
lib/teavm-platform-0.2-SNAPSHOT.jar
Export-Package: org.teavm.eclipse.debugger,org.teavm.eclipse Export-Package: org.teavm.eclipse.debugger,org.teavm.eclipse
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy

View File

@ -3,79 +3,6 @@ output.. = target/
bin.includes = plugin.xml,\ bin.includes = plugin.xml,\
META-INF/,\ META-INF/,\
.,\ .,\
logback.xml,\ 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/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,\
lib/gson-2.2.4.jar,\
lib/teavm-classlib-0.2-SNAPSHOT.jar,\
lib/teavm-platform-0.2-SNAPSHOT.jar
jars.compile.order = . jars.compile.order = .
jars.extra.classpath = logback.xml,\ 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,\
lib/gson-2.2.4.jar,\
lib/teavm-classlib-0.2-SNAPSHOT.jar,\
lib/teavm-platform-0.2-SNAPSHOT.jar

View File

@ -18,46 +18,46 @@
<plugin> <plugin>
<extension point="org.eclipse.debug.core.launchConfigurationTypes"> <extension point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType <launchConfigurationType
sourceLocatorId="org.teavm.eclipse.debugger.sourceLookup" sourceLocatorId="teavm-eclipse-plugin.debugger.sourceLookup"
name="TeaVM remote" name="TeaVM remote"
sourcePathComputerId="org.teavm.eclipse.debugger.sourcePath" sourcePathComputerId="teavm-eclipse-plugin.debugger.sourcePath"
delegate="org.teavm.eclipse.debugger.TeaVMLaunchConfigurationDelegate" delegate="org.teavm.eclipse.debugger.TeaVMLaunchConfigurationDelegate"
modes="debug" modes="debug"
id="org.teavm.eclipse.debugger.launchConfig"> id="teavm-eclipse-plugin.debugger.launchConfig">
</launchConfigurationType> </launchConfigurationType>
</extension> </extension>
<extension point="org.eclipse.debug.core.sourceLocators"> <extension point="org.eclipse.debug.core.sourceLocators">
<sourceLocator <sourceLocator
name="TeaVM Source Lookup Director" name="TeaVM Source Lookup Director"
class="org.teavm.eclipse.debugger.TeaVMSourceLookupDirector" class="org.teavm.eclipse.debugger.TeaVMSourceLookupDirector"
id="org.teavm.eclipse.debugger.sourceLookup"> id="teavm-eclipse-plugin.debugger.sourceLookup">
</sourceLocator> </sourceLocator>
</extension> </extension>
<extension point="org.eclipse.debug.core.sourcePathComputers"> <extension point="org.eclipse.debug.core.sourcePathComputers">
<sourcePathComputer <sourcePathComputer
class="org.teavm.eclipse.debugger.TeaVMSourcePathComputerDelegate" class="org.teavm.eclipse.debugger.TeaVMSourcePathComputerDelegate"
id="org.teavm.eclipse.debugger.sourcePath"> id="teavm-eclipse-plugin.debugger.sourcePath">
</sourcePathComputer> </sourcePathComputer>
</extension> </extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups"> <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup <launchConfigurationTabGroup
type="org.teavm.eclipse.debugger.launchConfig" type="teavm-eclipse-plugin.debugger.launchConfig"
description="Debug TeaVM program" description="Debug TeaVM program"
class="org.teavm.eclipse.debugger.ui.TeaVMTabGroup" class="org.teavm.eclipse.debugger.ui.TeaVMTabGroup"
id="org.teavm.eclipse.debugger.ui.tabs"> id="teavm-eclipse-plugin.debugger.ui.tabs">
</launchConfigurationTabGroup> </launchConfigurationTabGroup>
</extension> </extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages"> <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage <launchConfigurationTypeImage
id="org.teavm.eclipse.debugger.ui.launchConfigIcon" id="teavm-eclipse-plugin.debugger.ui.launchConfigIcon"
configTypeID="org.teavm.eclipse.debugger.launchConfig" configTypeID="teavm-eclipse-plugin.debugger.launchConfig"
icon="teavm-16.png"> icon="teavm-16.png">
</launchConfigurationTypeImage> </launchConfigurationTypeImage>
</extension> </extension>
<extension point="org.eclipse.debug.ui.debugModelPresentations"> <extension point="org.eclipse.debug.ui.debugModelPresentations">
<debugModelPresentation <debugModelPresentation
class="org.teavm.eclipse.debugger.ui.TeaVMDebugModelPresentation" class="org.teavm.eclipse.debugger.ui.TeaVMDebugModelPresentation"
id="org.teavm.eclipse.debugger"> id="teavm-eclipse-plugin.debugger">
</debugModelPresentation> </debugModelPresentation>
</extension> </extension>
@ -65,10 +65,10 @@
<runtime> <runtime>
<run class="org.teavm.eclipse.TeaVMProjectNature"/> <run class="org.teavm.eclipse.TeaVMProjectNature"/>
</runtime> </runtime>
<builder id="org.teavm.eclipse.builder"/> <builder id="teavm-eclipse-plugin.builder"/>
</extension> </extension>
<extension point="org.eclipse.ui.propertyPages"> <extension point="org.eclipse.ui.propertyPages">
<page id="org.teavm.eclipse.projectProperties" name="TeaVM" class="org.teavm.eclipse.ui.TeaVMProjectPropertyPage"> <page id="teavm-eclipse-plugin.projectProperties" name="TeaVM" class="org.teavm.eclipse.ui.TeaVMProjectPropertyPage">
<enabledWhen> <enabledWhen>
<or> <or>
<instanceof value="org.eclipse.core.resources.IProject"/> <instanceof value="org.eclipse.core.resources.IProject"/>

View File

@ -27,14 +27,9 @@
<packaging>eclipse-plugin</packaging> <packaging>eclipse-plugin</packaging>
<repositories> <repositories>
<repository>
<id>eclipse</id>
<url>${p2-repo.url}</url>
<layout>p2</layout>
</repository>
<repository> <repository>
<id>teavm</id> <id>teavm</id>
<url>http://localhost:8080/p2-site/</url> <url>${project.baseUri}../teavm-eclipse-repository/target/repository</url>
<layout>p2</layout> <layout>p2</layout>
</repository> </repository>
</repositories> </repositories>
@ -52,68 +47,6 @@
</plugin> </plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.2.v20140723</version>
<executions>
<execution>
<id>serve-repository</id>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<webApp>
<contextPath>/p2-site</contextPath>
<webAppSourceDirectory>../teavm-eclipse-repository/target/repository</webAppSourceDirectory>
</webApp>
</configuration>
</execution>
</executions>
</plugin>
<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>
<version>${tycho.version}</version>
<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>
</plugin>
</plugins>
</build> </build>
</project> </project>

View File

@ -34,7 +34,7 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
* @author Alexey Andreev <konsoletyper@gmail.com> * @author Alexey Andreev <konsoletyper@gmail.com>
*/ */
public class TeaVMEclipsePlugin extends AbstractUIPlugin { public class TeaVMEclipsePlugin extends AbstractUIPlugin {
public static final String ID = "org.teavm.eclipse"; public static final String ID = "teavm-eclipse-plugin";
public static final String NATURE_ID = ID + ".nature"; public static final String NATURE_ID = ID + ".nature";
public static final String BUILDER_ID = ID + ".builder"; public static final String BUILDER_ID = ID + ".builder";
public static final String CLASS_DIALOG_ID = ID + ".dialogs.classSelection"; public static final String CLASS_DIALOG_ID = ID + ".dialogs.classSelection";

View File

@ -19,8 +19,9 @@
<parent> <parent>
<groupId>org.teavm</groupId> <groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId> <artifactId>teavm</artifactId>
<version>0.2-SNAPSHOT</version> <version>0.2-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent> </parent>
<artifactId>teavm-eclipse-repository</artifactId> <artifactId>teavm-eclipse-repository</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
@ -30,6 +31,8 @@
dependencies</description> dependencies</description>
<build> <build>
<pluginManagement>
</pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.reficio</groupId> <groupId>org.reficio</groupId>
@ -38,7 +41,7 @@
<executions> <executions>
<execution> <execution>
<id>default-cli</id> <id>default-cli</id>
<phase>package</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>site</goal> <goal>site</goal>
</goals> </goals>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/teavm-eclipse-feature_0.2.0.qualifier.jar" id="teavm-eclipse-feature" version="0.2.0.qualifier" os="aix,hpux,linux,macosx,qnx,solaris,win32" ws="carbon,cocoa,gtk,motif,photon,win32,wpf" arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64">
<category name="teavm-category"/>
</feature>
<category-def name="teavm-category" label="TeaVM"/>
</site>

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2014 Alexey Andreev.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse</artifactId>
<version>0.2-SNAPSHOT</version>
</parent>
<artifactId>teavm-eclipse-updatesite</artifactId>
<packaging>eclipse-repository</packaging>
<version>0.2.0-SNAPSHOT</version>
</project>

View File

@ -3,8 +3,4 @@
<description name="TeaVM update site"> <description name="TeaVM update site">
TeaVM update site TeaVM update site
</description> </description>
<feature url="features/teavm.eclipse.feature_0.2.0.201409170959.jar" id="teavm.eclipse.feature" version="0.2.0.201409170959" os="aix,hpux,linux,macosx,qnx,solaris,win32" ws="carbon,cocoa,gtk,motif,photon,win32,wpf" arch="ia64,ia64_32,PA_RISC,ppc,sparc,x86,x86_64">
<category name="teavm"/>
</feature>
<category-def name="teavm" label="TeaVM"/>
</site> </site>

View File

@ -24,6 +24,8 @@
</parent> </parent>
<artifactId>teavm-platform</artifactId> <artifactId>teavm-platform</artifactId>
<packaging>bundle</packaging>
<name>TeaVM platform</name> <name>TeaVM platform</name>
<description>A low-level classes that help to implement Java class library</description> <description>A low-level classes that help to implement Java class library</description>
@ -42,6 +44,17 @@
<build> <build>
<plugins> <plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>org.teavm.platform.*</Export-Package>
<Bundle-SymbolicName>teavm-platform</Bundle-SymbolicName>
</instructions>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>