Skip to content

Commit 14ec0a1

Browse files
committed
J2S Jmol branch before removing legacy J2S
1 parent 76dbe4b commit 14ec0a1

24 files changed

+8523
-79
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
3-
Bundle-Name: Java2Script Core
4-
Bundle-SymbolicName: net.sf.j2s.core; singleton:=true
5-
Bundle-Version: 2.0.0
6-
Bundle-Activator: net.sf.j2s.core.CorePlugin
7-
Bundle-Vendor: j2s.sourceforge.net
3+
Bundle-Name: Java2Script Jmol
4+
Bundle-SymbolicName: j2s.jmol; singleton:=true
5+
Bundle-Version: 0.4.2
6+
Bundle-Activator: j2s.jmol.CorePlugin
7+
Bundle-Vendor: jmol.org
88
Bundle-Localization: plugin
99
Require-Bundle: org.eclipse.core.runtime,
1010
org.eclipse.jdt.core,
1111
org.eclipse.core.resources
1212
Eclipse-AutoStart: true
13-
Export-Package: net.sf.j2s.core.astvisitors,
14-
net.sf.j2s.core.compiler,
15-
net.sf.j2s.core.hotspot,
16-
net.sf.j2s.core
13+
Export-Package: j2s.jmol
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Java2Script Core
4+
Bundle-SymbolicName: net.sf.j2s.core; singleton:=true
5+
Bundle-Version: 2.0.0
6+
Bundle-Activator: net.sf.j2s.core.CorePlugin
7+
Bundle-Vendor: j2s.sourceforge.net
8+
Bundle-Localization: plugin
9+
Require-Bundle: org.eclipse.core.runtime,
10+
org.eclipse.jdt.core,
11+
org.eclipse.core.resources
12+
Eclipse-AutoStart: true
13+
Export-Package: j2s.common, j2s.jmol
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: Java2Script Core
4+
Bundle-SymbolicName: net.sf.j2s.core; singleton:=true
5+
Bundle-Version: 2.0.0
6+
Bundle-Activator: net.sf.j2s.core.CorePlugin
7+
Bundle-Vendor: j2s.sourceforge.net
8+
Bundle-Localization: plugin
9+
Require-Bundle: org.eclipse.core.runtime,
10+
org.eclipse.jdt.core,
11+
org.eclipse.core.resources
12+
Eclipse-AutoStart: true
13+
Export-Package: net.sf.j2s.core.astvisitors,
14+
net.sf.j2s.core.compiler,
15+
net.sf.j2s.core.hotspot,
16+
net.sf.j2s.core

sources/net.sf.j2s.core/plugin.xml

Lines changed: 9 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<?eclipse version="3.0"?>
33
<plugin>
4-
5-
<!-- =================================================================================== -->
6-
<!-- Extension Point: Extended Compiler -->
7-
<!-- =================================================================================== -->
8-
<extension-point name="Extended Compiler"
9-
id="extendedCompiler"
10-
schema="schema/extendedCompiler.exsd"/>
11-
12-
<!-- =================================================================================== -->
13-
<!-- Extension Point: Extended AST Script Visitor -->
14-
<!-- =================================================================================== -->
15-
<extension-point name="Extended AST Script Visitor"
16-
id="extendedASTScriptVisitor"
17-
schema="schema/extendedASTScriptVisitor.exsd"/>
18-
19-
<extension
20-
id="net.sf.j2s.core.j2scompiler"
21-
name="Java2Script Compiler"
22-
point="net.sf.j2s.core.extendedCompiler">
23-
<extendedCompiler
24-
class="net.sf.j2s.core.compiler.Java2ScriptCompiler"
25-
id="net.sf.j2s.j2scompiler"/>
26-
<!--
27-
<extendedCompiler
28-
class="net.sf.j2s.core.compiler.J2SDependencyCompiler"
29-
id="net.sf.j2s.dependencyCompiler"/>
30-
-->
4+
5+
<extension
6+
point="org.eclipse.jdt.core.compilationParticipant">
7+
<compilationParticipant
8+
class="j2s.jmol.Java2ScriptCompilationParticipant"
9+
createsProblems="false"
10+
id="Legacy Jmol Java2Script CompilationParticipant"
11+
modifiesEnvironment="false">
12+
</compilationParticipant>
3113
</extension>
3214

3315

34-
<!-- =================================================================================== -->
35-
<!-- Extension: Java Nature -->
36-
<!-- =================================================================================== -->
37-
38-
<extension
39-
point="org.eclipse.core.resources.natures"
40-
id="java2scriptnature"
41-
name="Java2Script Nature">
42-
<runtime>
43-
<run class="net.sf.j2s.core.Java2ScriptProjectNature">
44-
</run>
45-
</runtime>
46-
<builder id="net.sf.j2s.core.java2scriptbuilder"/>
47-
</extension>
48-
49-
50-
<!-- =================================================================================== -->
51-
<!-- Extension: Java Builder -->
52-
<!-- =================================================================================== -->
53-
54-
<extension
55-
point="org.eclipse.core.resources.builders"
56-
id="java2scriptbuilder"
57-
name="Java2Script Builder">
58-
<builder>
59-
<run class="net.sf.j2s.core.builder.Java2ScriptBuilder">
60-
</run>
61-
</builder>
62-
</extension>
63-
64-
<extension
65-
id="InternalASTScriptVisitor"
66-
name="InternalASTScriptVisitor"
67-
point="net.sf.j2s.core.extendedASTScriptVisitor">
68-
<extendedASTScriptVisitor
69-
class="net.sf.j2s.core.compiler.ASTExtendedVisitor"
70-
id="BasicASTScriptVisitor"/>
71-
<extendedASTScriptVisitor
72-
class="net.sf.j2s.core.compiler.SWTExtendedVisitor"
73-
id="SWTASTScriptVisitor"/>
74-
</extension>
75-
7616
</plugin>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?eclipse version="3.0"?>
3+
<plugin>
4+
5+
<!-- =================================================================================== -->
6+
<!-- Extension Point: Extended Compiler -->
7+
<!-- =================================================================================== -->
8+
<extension-point name="Extended Compiler"
9+
id="extendedCompiler"
10+
schema="schema/extendedCompiler.exsd"/>
11+
12+
<!-- =================================================================================== -->
13+
<!-- Extension Point: Extended AST Script Visitor -->
14+
<!-- =================================================================================== -->
15+
<extension-point name="Extended AST Script Visitor"
16+
id="extendedASTScriptVisitor"
17+
schema="schema/extendedASTScriptVisitor.exsd"/>
18+
19+
<extension
20+
id="net.sf.j2s.core.j2scompiler"
21+
name="Java2Script Compiler"
22+
point="net.sf.j2s.core.extendedCompiler">
23+
<extendedCompiler
24+
class="net.sf.j2s.core.compiler.Java2ScriptCompiler"
25+
id="net.sf.j2s.j2scompiler"/>
26+
<!--
27+
<extendedCompiler
28+
class="net.sf.j2s.core.compiler.J2SDependencyCompiler"
29+
id="net.sf.j2s.dependencyCompiler"/>
30+
-->
31+
</extension>
32+
33+
34+
<!-- =================================================================================== -->
35+
<!-- Extension: Java Nature -->
36+
<!-- =================================================================================== -->
37+
38+
<extension
39+
point="org.eclipse.core.resources.natures"
40+
id="java2scriptnature"
41+
name="Java2Script Nature">
42+
<runtime>
43+
<run class="net.sf.j2s.core.Java2ScriptProjectNature">
44+
</run>
45+
</runtime>
46+
<builder id="net.sf.j2s.core.java2scriptbuilder"/>
47+
</extension>
48+
49+
50+
<!-- =================================================================================== -->
51+
<!-- Extension: Java Builder -->
52+
<!-- =================================================================================== -->
53+
54+
<extension
55+
point="org.eclipse.core.resources.builders"
56+
id="java2scriptbuilder"
57+
name="Java2Script Builder">
58+
<builder>
59+
<run class="net.sf.j2s.core.builder.Java2ScriptBuilder">
60+
</run>
61+
</builder>
62+
</extension>
63+
64+
<extension
65+
id="InternalASTScriptVisitor"
66+
name="InternalASTScriptVisitor"
67+
point="net.sf.j2s.core.extendedASTScriptVisitor">
68+
<extendedASTScriptVisitor
69+
class="net.sf.j2s.core.compiler.ASTExtendedVisitor"
70+
id="BasicASTScriptVisitor"/>
71+
<extendedASTScriptVisitor
72+
class="net.sf.j2s.core.compiler.SWTExtendedVisitor"
73+
id="SWTASTScriptVisitor"/>
74+
</extension>
75+
76+
</plugin>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?eclipse version="3.0"?>
3+
<plugin>
4+
5+
<extension
6+
point="org.eclipse.jdt.core.compilationParticipant">
7+
<compilationParticipant
8+
class="j2s.jmol.Java2ScriptCompilationParticipant"
9+
createsProblems="false"
10+
id="Legacy Jmol Java2Script CompilationParticipant"
11+
modifiesEnvironment="false">
12+
</compilationParticipant>
13+
</extension>
14+
15+
16+
</plugin>

0 commit comments

Comments
 (0)