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
1 change: 1 addition & 0 deletions sources/net.sf.j2s.core/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/bin
/site/
24 changes: 0 additions & 24 deletions sources/net.sf.j2s.core/.j2s

This file was deleted.

14 changes: 10 additions & 4 deletions sources/net.sf.j2s.core/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.APILeak=warning
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=warning
Expand All @@ -39,7 +40,7 @@ org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning
org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=warning
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
Expand Down Expand Up @@ -77,12 +78,16 @@ org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning
org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=warning
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
Expand All @@ -103,4 +108,5 @@ org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=warning
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.source=1.7
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
3 changes: 1 addition & 2 deletions sources/net.sf.j2s.core/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Java2Script Core
Bundle-SymbolicName: net.sf.j2s.core;singleton:=true
Bundle-Version: 3.1.1
Bundle-Version: 3.2.1
Bundle-Activator: net.sf.j2s.core.CorePlugin
Bundle-Vendor: j2s.sourceforge.net
Require-Bundle: org.eclipse.core.runtime,
Expand All @@ -11,5 +11,4 @@ Require-Bundle: org.eclipse.core.runtime,
Eclipse-AutoStart: true
Export-Package: net.sf.j2s.core.astvisitors,
net.sf.j2s.core.compiler,
net.sf.j2s.core.hotspot,
net.sf.j2s.core
1 change: 1 addition & 0 deletions sources/net.sf.j2s.core/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The seed Eclipse project site/ directory for all SwingJS projects can be found a

https://github.com/BobHanson/java2script/blob/master/sources/net.sf.j2s.java.core/SwingJS-site.zip?raw=true

this file is old. See dist/dropins/README.txt

Known issues: 2/2018

Expand Down
49 changes: 49 additions & 0 deletions sources/net.sf.j2s.core/dist/.j2s
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#j2s configuration file

#enable the Java2Script transpiler -- comment out to disable
j2s.compiler.status=enable


# destination directory for all JavaScript
j2s.site.directory=site

# uncomment j2s.* lines to process:

# a semicolon-separated list of package-level file paths to be excluded
#j2s.excluded.paths=test;testng

# output file name for logging methods declared - delete the file to regenerate a listing
#j2s.log.methods.declared=methodsDeclared.csv

#output file name for logging methods called - delete the file to regenerate a listing
#j2s.log.methods.called=methodsCalled.csv

#if set, every instance of methods called will be logged
#otherwise, only the first call to a method will be logged
#output will be comma-separated: called method,caller class
#j2s.log.all.calls=true

# a semicolon-separated list of packages that contain classes for which the method names
# in their classes should not be "qualified" to indicate their parameter types.
# This option is useful if you have an API interface in Java that refers to JavaScript
# methods such as calling window or jQuery functions or the methods in Clazz or J2S.
# The classes must not have any methods that are overloaded - with the
# same name but different paramater type, as JavaScript will only see the last one.
#j2s.compiler.nonqualified.packages=org.jmol.api.js;jspecview.api.js

# uncomment to add debugging output. Start eclipse with the -consoleLog option to see output.
#j2s.compiler.mode=debug

# a semicolon-separated list of from->to listings of package (foo.) or class (foo.bar)
# replacements to be made. This option allows for having one class or package used in Java
# and another used in JavaScript. Take care with this. All methods in both packages must
# have exactly the same parameter signature. We use it in Jalview to provide a minimal
# JavaScript implementation of a large third-party library while still using that library's
# jar file in Java.
#j2s.class.replacements=org.apache.log4j.->jalview.javascript.log4j.

# uncomment and change if you do not want to use a template.html file that is created for you
# in your project directory. A default template file will be created by the transpiler
# directory if there is none there already.
#j2s.template.html=template.html

Loading