Skip to content

Commit 1f8decd

Browse files
authored
Merge pull request #682 from processing/processing4
Bringing in Processing 4-changes
2 parents 62070db + a94927f commit 1f8decd

37 files changed

+169
-367
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,12 @@ task dist {
115115
FileUtils.copyDirectory(file("mode/icons"), file("${root}/icons"))
116116
FileUtils.copyDirectory(file("mode/theme"), file("${root}/theme"))
117117
FileUtils.copyDirectory(file("mode/mode"), file("${root}/mode"))
118+
delete "${root}/mode/core.jar"
119+
delete "${root}/mode/pde.jar"
120+
delete "${root}/mode/JavaMode.jar"
118121
delete "${root}/mode/jdi.jar"
119122
delete "${root}/mode/jdimodel.jar"
120-
123+
121124
Files.copy(file("mode/processing-core.zip").toPath(),
122125
file("${root}/processing-core.zip").toPath(), REPLACE_EXISTING)
123126

mode/.classpath

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
33
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry combineaccessrules="false" kind="src" path="/processing-app"/>
6-
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
7-
<classpathentry combineaccessrules="false" kind="src" path="/processing-java"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
5+
<attributes>
6+
<attribute name="module" value="true"/>
7+
</attributes>
8+
</classpathentry>
89
<classpathentry kind="lib" path="mode/jdi.jar"/>
9-
<classpathentry kind="lib" path="mode/gradle-tooling-api-6.7.1.jar"/>
1010
<classpathentry kind="lib" path="mode/jdimodel.jar"/>
11+
<classpathentry combineaccessrules="false" kind="src" path="/processing4-app"/>
12+
<classpathentry combineaccessrules="false" kind="src" path="/processing4-core"/>
13+
<classpathentry combineaccessrules="false" kind="src" path="/processing4-java"/>
14+
<classpathentry kind="lib" path="mode/istack-commons-runtime.jar"/>
15+
<classpathentry kind="lib" path="mode/javax.activation-api.jar"/>
16+
<classpathentry kind="lib" path="mode/jaxb-api.jar"/>
17+
<classpathentry kind="lib" path="mode/jaxb-jxc.jar"/>
18+
<classpathentry kind="lib" path="mode/jaxb-runtime.jar"/>
19+
<classpathentry kind="lib" path="mode/jaxb-xjc.jar"/>
20+
<classpathentry kind="lib" path="mode/gradle-tooling-api-6.8.3.jar"/>
21+
<classpathentry kind="var" path="ANDROID_JAR"/>
22+
<classpathentry kind="var" path="ANDROID_SDK"/>
1123
<classpathentry kind="output" path="core/bin"/>
1224
</classpath>

mode/build.gradle

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ configurations {
1212
}
1313

1414
dependencies {
15-
implementation group: "org.processing", name: "core", version: "${processingVersion}"
16-
implementation group: "org.processing", name: "pde", version: "${processingVersion}"
17-
implementation group: "org.processing", name: "java-mode", version: "${processingVersion}"
15+
// implementation group: "org.processing", name: "core", version: "${processingVersion}"
16+
// implementation group: "org.processing", name: "pde", version: "${processingVersion}"
17+
// implementation group: "org.processing", name: "java-mode", version: "${processingVersion}"
1818

1919
implementationExtract "org.eclipse.jdt:org.eclipse.jdt.debug:${jdtVersion}"
2020

2121
implementationCopy "org.gradle:gradle-tooling-api:${toolingVersion}"
2222
implementationCopy "org.slf4j:slf4j-api:${slf4jVersion}"
2323
implementationCopy "org.slf4j:slf4j-simple:${slf4jVersion}"
2424

25-
implementation fileTree(include: ["jdi.jar", "jdimodel.jar"], dir: 'mode')
25+
implementation fileTree(include: ["jdi.jar", "jdimodel.jar", "core.jar", "pde.jar", "JavaMode.jar"], dir: 'mode')
2626
}
2727

2828
// This task copies the gradle tooling jar into the mode folder
@@ -85,6 +85,18 @@ clean.doFirst {
8585
exclude "jaxb-jxc.jar"
8686
exclude "jaxb-runtime.jar"
8787
exclude "jaxb-xjc.jar"
88+
exclude "core.jar"
89+
exclude "pde.jar"
90+
exclude "JavaMode.jar"
91+
exclude "org.eclipse.core.contenttype.jar"
92+
exclude "org.eclipse.core.jobs.jar"
93+
exclude "org.eclipse.core.resources.jar"
94+
exclude "org.eclipse.core.runtime.jar"
95+
exclude "org.eclipse.equinox.common.jar"
96+
exclude "org.eclipse.equinox.preferences.jar"
97+
exclude "org.eclipse.jdt.core.jar"
98+
exclude "org.eclipse.osgi.jar"
99+
exclude "org.eclipse.text.jar"
88100
}
89101
}
90102

mode/mode.properties

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name = Android Mode for Processing 3
1+
name = Android Mode for Processing 4
22
authorList = [The Processing Foundation](https://processingfoundation.org/)
33
url = http://android.processing.org
44
sentence = This mode lets you use Processing to create Android apps
55
paragraph =
66
imports=processing.mode.java.JavaMode
7-
version = 280
8-
prettyVersion = 4.3.0
9-
minRevision = 249
10-
maxRevision = 270
7+
version = 402
8+
prettyVersion = 4.5.0b1
9+
minRevision = 1276
10+
maxRevision = 0
11+

mode/mode/JavaMode.jar

572 KB
Binary file not shown.

mode/mode/core.jar

971 KB
Binary file not shown.

mode/mode/istack-commons-runtime.jar

25.8 KB
Binary file not shown.

mode/mode/javax.activation-api.jar

55.3 KB
Binary file not shown.

mode/mode/jaxb-api.jar

125 KB
Binary file not shown.

mode/mode/jaxb-jxc.jar

129 KB
Binary file not shown.

0 commit comments

Comments
 (0)