mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Configure to build by tycho
This commit is contained in:
parent
60c9752377
commit
ae3095f0ff
|
@ -24,6 +24,8 @@
|
|||
</parent>
|
||||
<artifactId>teavm-classlib</artifactId>
|
||||
|
||||
<packaging>bundle</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
@ -52,6 +54,17 @@
|
|||
|
||||
<build>
|
||||
<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>
|
||||
<groupId>org.teavm</groupId>
|
||||
<artifactId>teavm-maven-plugin</artifactId>
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
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"
|
||||
<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>
|
||||
|
||||
|
@ -28,12 +27,78 @@
|
|||
|
||||
<name>TeaVM Eclipse plugins</name>
|
||||
<description>TeaVM plugins for Eclipse</description>
|
||||
<modules>
|
||||
<module>teavm-eclipse-repository</module>
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<p2-repo.url>http://download.eclipse.org/releases/kepler</p2-repo.url>
|
||||
<tycho.version>0.21.0</tycho.version>
|
||||
</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>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feature
|
||||
id="teavm.eclipse.feature"
|
||||
id="teavm-eclipse-feature"
|
||||
label="TeaVM Eclipse support"
|
||||
version="0.2.0.qualifier"
|
||||
provider-name="Alexey Andreev <konsoletyper@gmail.com>"
|
||||
|
@ -17,8 +17,7 @@
|
|||
</copyright>
|
||||
|
||||
<license url="http://www.apache.org/licenses/LICENSE-2.0.html">
|
||||
|
||||
Apache License
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
|
@ -26,38 +25,38 @@
|
|||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
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,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
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
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
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 "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
|
@ -123,7 +122,7 @@
|
|||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
|
@ -162,7 +161,7 @@
|
|||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
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 "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
|
@ -198,37 +197,37 @@
|
|||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
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 "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,
|
||||
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.
|
||||
</license>
|
||||
|
||||
<plugin
|
||||
id="org.teavm.eclipse"
|
||||
id="teavm-eclipse-plugin"
|
||||
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"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="0.0.0"
|
||||
version="0.2.0.qualifier"
|
||||
unpack="false"/>
|
||||
|
||||
</feature>
|
||||
|
|
30
teavm-eclipse/teavm-eclipse-feature/pom.xml
Normal file
30
teavm-eclipse/teavm-eclipse-feature/pom.xml
Normal 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>
|
|
@ -1,42 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<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.pde.core.requiredPlugins"/>
|
||||
<classpathentry kind="output" path="target"/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
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-Vendor: Alexey Andreev <konsoletyper@gmail.com>
|
||||
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.variables;bundle-version="[3.2.600,4)",
|
||||
org.eclipse.core.databinding.observable;bundle-version="[1.4.1,2)",
|
||||
org.eclipse.jface.databinding;bundle-version="[1.6.0,2)"
|
||||
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,
|
||||
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
|
||||
org.eclipse.jface.databinding;bundle-version="[1.6.0,2)",
|
||||
teavm-core;bundle-version="[0.2.0,3)",
|
||||
teavm-classlib;bundle-version="[0.2.0,3)",
|
||||
teavm-platform;bundle-version="[0.2.0,3)",
|
||||
teavm-chrome-rdp;bundle-version="[0.2.0,3)"
|
||||
Bundle-ClassPath: .
|
||||
Export-Package: org.teavm.eclipse.debugger,org.teavm.eclipse
|
||||
Bundle-ActivationPolicy: lazy
|
||||
|
|
|
@ -3,79 +3,6 @@ output.. = target/
|
|||
bin.includes = plugin.xml,\
|
||||
META-INF/,\
|
||||
.,\
|
||||
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
|
||||
logback.xml
|
||||
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,\
|
||||
lib/gson-2.2.4.jar,\
|
||||
lib/teavm-classlib-0.2-SNAPSHOT.jar,\
|
||||
lib/teavm-platform-0.2-SNAPSHOT.jar
|
||||
jars.extra.classpath = logback.xml
|
|
@ -18,46 +18,46 @@
|
|||
<plugin>
|
||||
<extension point="org.eclipse.debug.core.launchConfigurationTypes">
|
||||
<launchConfigurationType
|
||||
sourceLocatorId="org.teavm.eclipse.debugger.sourceLookup"
|
||||
sourceLocatorId="teavm-eclipse-plugin.debugger.sourceLookup"
|
||||
name="TeaVM remote"
|
||||
sourcePathComputerId="org.teavm.eclipse.debugger.sourcePath"
|
||||
sourcePathComputerId="teavm-eclipse-plugin.debugger.sourcePath"
|
||||
delegate="org.teavm.eclipse.debugger.TeaVMLaunchConfigurationDelegate"
|
||||
modes="debug"
|
||||
id="org.teavm.eclipse.debugger.launchConfig">
|
||||
id="teavm-eclipse-plugin.debugger.launchConfig">
|
||||
</launchConfigurationType>
|
||||
</extension>
|
||||
<extension point="org.eclipse.debug.core.sourceLocators">
|
||||
<sourceLocator
|
||||
name="TeaVM Source Lookup Director"
|
||||
class="org.teavm.eclipse.debugger.TeaVMSourceLookupDirector"
|
||||
id="org.teavm.eclipse.debugger.sourceLookup">
|
||||
id="teavm-eclipse-plugin.debugger.sourceLookup">
|
||||
</sourceLocator>
|
||||
</extension>
|
||||
<extension point="org.eclipse.debug.core.sourcePathComputers">
|
||||
<sourcePathComputer
|
||||
class="org.teavm.eclipse.debugger.TeaVMSourcePathComputerDelegate"
|
||||
id="org.teavm.eclipse.debugger.sourcePath">
|
||||
id="teavm-eclipse-plugin.debugger.sourcePath">
|
||||
</sourcePathComputer>
|
||||
</extension>
|
||||
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
||||
<launchConfigurationTabGroup
|
||||
type="org.teavm.eclipse.debugger.launchConfig"
|
||||
type="teavm-eclipse-plugin.debugger.launchConfig"
|
||||
description="Debug TeaVM program"
|
||||
class="org.teavm.eclipse.debugger.ui.TeaVMTabGroup"
|
||||
id="org.teavm.eclipse.debugger.ui.tabs">
|
||||
id="teavm-eclipse-plugin.debugger.ui.tabs">
|
||||
</launchConfigurationTabGroup>
|
||||
</extension>
|
||||
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
|
||||
<launchConfigurationTypeImage
|
||||
id="org.teavm.eclipse.debugger.ui.launchConfigIcon"
|
||||
configTypeID="org.teavm.eclipse.debugger.launchConfig"
|
||||
id="teavm-eclipse-plugin.debugger.ui.launchConfigIcon"
|
||||
configTypeID="teavm-eclipse-plugin.debugger.launchConfig"
|
||||
icon="teavm-16.png">
|
||||
</launchConfigurationTypeImage>
|
||||
</extension>
|
||||
<extension point="org.eclipse.debug.ui.debugModelPresentations">
|
||||
<debugModelPresentation
|
||||
class="org.teavm.eclipse.debugger.ui.TeaVMDebugModelPresentation"
|
||||
id="org.teavm.eclipse.debugger">
|
||||
id="teavm-eclipse-plugin.debugger">
|
||||
</debugModelPresentation>
|
||||
</extension>
|
||||
|
||||
|
@ -65,10 +65,10 @@
|
|||
<runtime>
|
||||
<run class="org.teavm.eclipse.TeaVMProjectNature"/>
|
||||
</runtime>
|
||||
<builder id="org.teavm.eclipse.builder"/>
|
||||
<builder id="teavm-eclipse-plugin.builder"/>
|
||||
</extension>
|
||||
<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>
|
||||
<or>
|
||||
<instanceof value="org.eclipse.core.resources.IProject"/>
|
||||
|
|
|
@ -27,14 +27,9 @@
|
|||
<packaging>eclipse-plugin</packaging>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>eclipse</id>
|
||||
<url>${p2-repo.url}</url>
|
||||
<layout>p2</layout>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>teavm</id>
|
||||
<url>http://localhost:8080/p2-site/</url>
|
||||
<url>${project.baseUri}../teavm-eclipse-repository/target/repository</url>
|
||||
<layout>p2</layout>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
@ -52,68 +47,6 @@
|
|||
</plugin>
|
||||
</plugins>
|
||||
</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>
|
||||
|
||||
</project>
|
|
@ -34,7 +34,7 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
|
|||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
*/
|
||||
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 BUILDER_ID = ID + ".builder";
|
||||
public static final String CLASS_DIALOG_ID = ID + ".dialogs.classSelection";
|
||||
|
|
|
@ -19,8 +19,9 @@
|
|||
|
||||
<parent>
|
||||
<groupId>org.teavm</groupId>
|
||||
<artifactId>teavm-eclipse</artifactId>
|
||||
<artifactId>teavm</artifactId>
|
||||
<version>0.2-SNAPSHOT</version>
|
||||
<relativePath>../..</relativePath>
|
||||
</parent>
|
||||
<artifactId>teavm-eclipse-repository</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
@ -30,6 +31,8 @@
|
|||
dependencies</description>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.reficio</groupId>
|
||||
|
@ -38,7 +41,7 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<id>default-cli</id>
|
||||
<phase>package</phase>
|
||||
<phase>prepare-package</phase>
|
||||
<goals>
|
||||
<goal>site</goal>
|
||||
</goals>
|
||||
|
|
7
teavm-eclipse/teavm-eclipse-updatesite/category.xml
Normal file
7
teavm-eclipse/teavm-eclipse-updatesite/category.xml
Normal 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>
|
29
teavm-eclipse/teavm-eclipse-updatesite/pom.xml
Normal file
29
teavm-eclipse/teavm-eclipse-updatesite/pom.xml
Normal 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>
|
|
@ -3,8 +3,4 @@
|
|||
<description name="TeaVM update site">
|
||||
TeaVM update site
|
||||
</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>
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
</parent>
|
||||
<artifactId>teavm-platform</artifactId>
|
||||
|
||||
<packaging>bundle</packaging>
|
||||
|
||||
<name>TeaVM platform</name>
|
||||
<description>A low-level classes that help to implement Java class library</description>
|
||||
|
||||
|
@ -42,6 +44,17 @@
|
|||
|
||||
<build>
|
||||
<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>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
|
|
Loading…
Reference in New Issue
Block a user