Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions sources/net.sf.j2s.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.jdt.core,
org.eclipse.core.resources
Eclipse-AutoStart: true
Export-Package: net.sf.j2s.core.astvisitors,
net.sf.j2s.core.compiler,
net.sf.j2s.core
Export-Package: net.sf.j2s.core
13 changes: 13 additions & 0 deletions sources/net.sf.j2s.core/dist/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@ SwingJS distribution

https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.core/dist/dropins/README.txt

8/6/2018 Bob Hanson hansonr@stolaf.edu

Java2Script 3.2.2.03 introduces and checks more Java 8 capabilities.
Use

eclipsec -clean

to update to new versions of the transpiler. Otherwise although the transpiler is updated, it will
report out an incorrect version number. This can be checked on the last line of every JS file created:

Clazz.setTVer('3.2.2.03');//Created 2018-08-06 17:25:47 Java2ScriptVisitor version 3.2.2.03 net.sf.j2s.core.jar version 3.2.2.03


7/20/2018 Bob Hanson hansonr@stolaf.edu

The base Java version is Java 6. However, many of the functionalities of Java 7 and Java 8 are included.
Expand Down
Binary file modified sources/net.sf.j2s.core/dist/SwingJS-site.zip
Binary file not shown.
Binary file modified sources/net.sf.j2s.core/dist/dropins/net.sf.j2s.core.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion sources/net.sf.j2s.core/dist/dropins/timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20180805231348
20180806180213
Binary file modified sources/net.sf.j2s.core/dist/dropins/ver/3.2.2/SwingJS-site.zip
Binary file not shown.
Binary file modified sources/net.sf.j2s.core/dist/dropins/ver/3.2.2/net.sf.j2s.core.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion sources/net.sf.j2s.core/dist/dropins/ver/3.2.2/timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20180805231348
20180806180213
3 changes: 1 addition & 2 deletions sources/net.sf.j2s.core/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
<extension
point="org.eclipse.jdt.core.compilationParticipant">
<compilationParticipant
class="net.sf.j2s.core.compiler.Java2ScriptCompilationParticipant"
class="net.sf.j2s.core.Java2ScriptCompilationParticipant"
createsProblems="false"
id="Java2Script CompilationParticipant"
modifiesEnvironment="false"
requiredSourceLevel="1.6">
</compilationParticipant>
</extension>

<!-- 3.2.1 now does not use a special builder. This is just for legacy code -->

</plugin>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class CorePlugin extends Plugin {
* register the bundle version properly. So we use VERSION here instead.
*
*/
public static String VERSION = "3.2.2.02";
public static String VERSION = "3.2.2.03";

/**
* The constructor.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sf.j2s.core.compiler;
package net.sf.j2s.core;

import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.compiler.BuildContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.sf.j2s.core.compiler;
package net.sf.j2s.core;

import java.io.BufferedReader;
import java.io.File;
Expand Down Expand Up @@ -26,9 +26,6 @@
import org.eclipse.jdt.core.dom.ASTParser;
import org.eclipse.jdt.core.dom.CompilationUnit;

import net.sf.j2s.core.CorePlugin;
import net.sf.j2s.core.astvisitors.Java2ScriptVisitor;

/**
* The main (and currently only operational) Java2Script compiler.
*
Expand Down
Loading