Skip to content

Commit 2984822

Browse files
author
zhourenjian
committed
Upgrade trunk for Eclipse 3.5
1 parent dfd5275 commit 2984822

File tree

78 files changed

+18728
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+18728
-0
lines changed

sources/net.sf.j2s.core/.classpath

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

sources/net.sf.j2s.core/.project

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>net.sf.j2s.core</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.pde.PluginNature</nature>
26+
<nature>org.eclipse.jdt.core.javanature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#Wed Aug 29 20:57:27 CST 2007
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
5+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6+
org.eclipse.jdt.core.compiler.compliance=1.4
7+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
11+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
12+
org.eclipse.jdt.core.compiler.source=1.3
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
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.,\
5+
plugin.xml,\
6+
schema/
7+
src.includes = META-INF/,\
8+
plugin.xml
9+
javacSource = 1.3
10+
javacTarget = 1.2

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

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: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!-- Schema file written by PDE -->
3+
<schema targetNamespace="net.sf.j2s.core">
4+
<annotation>
5+
<appInfo>
6+
<meta.schema plugin="net.sf.j2s.core" id="j2sVisitor" name="Java2Script AST Script Visitor"/>
7+
</appInfo>
8+
<documentation>
9+
Extended AST Script Visitor for Java2Script Compiler
10+
</documentation>
11+
</annotation>
12+
13+
<element name="extension">
14+
<complexType>
15+
<sequence>
16+
<element ref="extendedASTScriptVisitor" minOccurs="0" maxOccurs="unbounded"/>
17+
</sequence>
18+
<attribute name="point" type="string" use="required">
19+
<annotation>
20+
<documentation>
21+
22+
</documentation>
23+
</annotation>
24+
</attribute>
25+
<attribute name="id" type="string">
26+
<annotation>
27+
<documentation>
28+
29+
</documentation>
30+
</annotation>
31+
</attribute>
32+
<attribute name="name" type="string">
33+
<annotation>
34+
<documentation>
35+
36+
</documentation>
37+
<appInfo>
38+
<meta.attribute translatable="true"/>
39+
</appInfo>
40+
</annotation>
41+
</attribute>
42+
</complexType>
43+
</element>
44+
45+
<element name="extendedASTScriptVisitor">
46+
<complexType>
47+
<attribute name="id" type="string" use="required">
48+
<annotation>
49+
<documentation>
50+
51+
</documentation>
52+
</annotation>
53+
</attribute>
54+
<attribute name="class" type="string" use="required">
55+
<annotation>
56+
<documentation>
57+
58+
</documentation>
59+
<appInfo>
60+
<meta.attribute kind="java"/>
61+
</appInfo>
62+
</annotation>
63+
</attribute>
64+
</complexType>
65+
</element>
66+
67+
<annotation>
68+
<appInfo>
69+
<meta.section type="since"/>
70+
</appInfo>
71+
<documentation>
72+
Java2Script 1.0.0 M4
73+
</documentation>
74+
</annotation>
75+
76+
<annotation>
77+
<appInfo>
78+
<meta.section type="examples"/>
79+
</appInfo>
80+
<documentation>
81+
82+
</documentation>
83+
</annotation>
84+
85+
<annotation>
86+
<appInfo>
87+
<meta.section type="apiInfo"/>
88+
</appInfo>
89+
<documentation>
90+
The class must inherit ASTScriptVisitor.
91+
</documentation>
92+
</annotation>
93+
94+
<annotation>
95+
<appInfo>
96+
<meta.section type="implementation"/>
97+
</appInfo>
98+
<documentation>
99+
When visiting AST tree, user can choose one of ASTScriptVisitors defined by this extension point.
100+
</documentation>
101+
</annotation>
102+
103+
<annotation>
104+
<appInfo>
105+
<meta.section type="copyright"/>
106+
</appInfo>
107+
<documentation>
108+
j2s.sourceforge.net
109+
</documentation>
110+
</annotation>
111+
112+
</schema>
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!-- Schema file written by PDE -->
3+
<schema targetNamespace="org.eclipse.jdt.core">
4+
<annotation>
5+
<appInfo>
6+
<meta.schema plugin="org.eclipse.jdt.core" id="j2sCompiler" name="Java2Script Compiler"/>
7+
</appInfo>
8+
<documentation>
9+
The JDT internal compiler is extended in order to make compiler do more things (Such as compiling Java codes into JavaScript codes) when it is running.
10+
</documentation>
11+
</annotation>
12+
13+
<element name="extension">
14+
<complexType>
15+
<sequence>
16+
<element ref="extendedCompiler" minOccurs="0" maxOccurs="unbounded"/>
17+
</sequence>
18+
<attribute name="point" type="string" use="required">
19+
<annotation>
20+
<documentation>
21+
22+
</documentation>
23+
</annotation>
24+
</attribute>
25+
<attribute name="id" type="string">
26+
<annotation>
27+
<documentation>
28+
29+
</documentation>
30+
</annotation>
31+
</attribute>
32+
<attribute name="name" type="string">
33+
<annotation>
34+
<documentation>
35+
36+
</documentation>
37+
<appInfo>
38+
<meta.attribute translatable="true"/>
39+
</appInfo>
40+
</annotation>
41+
</attribute>
42+
</complexType>
43+
</element>
44+
45+
<element name="extendedCompiler">
46+
<complexType>
47+
<attribute name="id" type="string" use="required">
48+
<annotation>
49+
<documentation>
50+
51+
</documentation>
52+
</annotation>
53+
</attribute>
54+
<attribute name="class" type="string" use="required">
55+
<annotation>
56+
<documentation>
57+
58+
</documentation>
59+
<appInfo>
60+
<meta.attribute kind="java"/>
61+
</appInfo>
62+
</annotation>
63+
</attribute>
64+
</complexType>
65+
</element>
66+
67+
<annotation>
68+
<appInfo>
69+
<meta.section type="since"/>
70+
</appInfo>
71+
<documentation>
72+
JDT 3.1, J2S 0.2.0
73+
</documentation>
74+
</annotation>
75+
76+
<annotation>
77+
<appInfo>
78+
<meta.section type="examples"/>
79+
</appInfo>
80+
<documentation>
81+
82+
</documentation>
83+
</annotation>
84+
85+
<annotation>
86+
<appInfo>
87+
<meta.section type="apiInfo"/>
88+
</appInfo>
89+
<documentation>
90+
91+
</documentation>
92+
</annotation>
93+
94+
<annotation>
95+
<appInfo>
96+
<meta.section type="implementation"/>
97+
</appInfo>
98+
<documentation>
99+
Enhance the JDT Core&apos;s jar and replace with a new Compiler class
100+
</documentation>
101+
</annotation>
102+
103+
<annotation>
104+
<appInfo>
105+
<meta.section type="copyright"/>
106+
</appInfo>
107+
<documentation>
108+
j2s.sourceforge.net(Contributor: ognize.com)
109+
</documentation>
110+
</annotation>
111+
112+
</schema>

0 commit comments

Comments
 (0)