Skip to content

Commit 63a369e

Browse files
committed
Merge pull request #5 from pulse00/0.3
fixed build, refs #1
2 parents 890f163 + e7492c0 commit 63a369e

File tree

10 files changed

+79
-73
lines changed

10 files changed

+79
-73
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
src-gen/
2+
xtend-gen/
3+
bin/
4+
plugin.xml_gen
5+
.antlr-generator-3.2.0.jar

.hgignore

-14
This file was deleted.

.hgtags

-11
This file was deleted.

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,16 @@ You may be [given a warning](https://bitbucket.org/adamschmideg/coffeescript-ecl
106106
[xtext_download]: http://www.eclipse.org/Xtext/download.html
107107
[csep_bitbucket_download]: https://bitbucket.org/adamschmideg/coffeescript-eclipse/downloads
108108
[csep_github]: https://github.com/adamschmideg/coffeescript-eclipse
109+
110+
111+
# Building
112+
113+
If you want to contribute to the plugin, here's a quick overview how to setup and build it locally:
114+
115+
1. Install [http://www.eclipse.org/Xtext/download.html](Xtext) / Version 2.1.x
116+
2. Clone this repository
117+
3. Import all projects into your workspace
118+
4. Right click `csep/src/csep/CoffeeScript.xtext/CoffeeScript.xtext` -> Run as ... -> Generate Xtext language artifacts
119+
5. Right click `example/csep.example.cake/src/csep/example/cake/Cakefile.xtext` -> Run as .. -> Generate Xtext language artifacts
120+
121+
After these 5 steps, the project should build without errors and you can startup a new eclipse instance and open any .coffee file using the coffeescript editor.

csep.tests/META-INF/MANIFEST.MF

+28-21
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
1-
Manifest-Version: 1.0
2-
Bundle-ManifestVersion: 2
3-
Bundle-Name: %Bundle-Name
4-
Bundle-Vendor: %Bundle-Vendor
5-
Bundle-Version: 0.2.2
6-
Bundle-SymbolicName: csep.tests; singleton:=true
7-
Bundle-ActivationPolicy: lazy
8-
Require-Bundle: csep,
9-
csep.ui,
10-
org.eclipse.core.runtime,
11-
org.eclipse.xtext,
12-
org.eclipse.xtext.junit4,
13-
org.eclipse.xtext.ui.junit,
14-
org.junit4,
15-
org.eclipse.ui.workbench;bundle-version="3.5.2";resolution:=optional,
16-
org.eclipse.xtext.common.types;bundle-version="2.0.0",
17-
org.eclipse.xtext.xbase.junit;bundle-version="2.0.0",
18-
org.eclipse.xtext.xbase;bundle-version="2.0.0"
19-
Import-Package: org.apache.commons.logging,
20-
org.apache.log4j
21-
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: %Bundle-Name
4+
Bundle-Vendor: %Bundle-Vendor
5+
Bundle-Version: 0.2.2
6+
Bundle-SymbolicName: csep.tests; singleton:=true
7+
Bundle-ActivationPolicy: lazy
8+
Require-Bundle: csep,
9+
csep.ui,
10+
org.eclipse.core.runtime,
11+
org.eclipse.xtext,
12+
org.eclipse.xtext.junit4,
13+
org.eclipse.xtext.ui.junit,
14+
org.junit4,
15+
org.eclipse.ui.workbench;bundle-version="3.5.2";resolution:=optional,
16+
org.eclipse.xtext.common.types;bundle-version="2.0.0",
17+
org.eclipse.xtext.xbase.junit;bundle-version="2.0.0",
18+
org.eclipse.xtext.xbase;bundle-version="2.0.0"
19+
Import-Package: org.apache.commons.logging,
20+
org.apache.log4j,
21+
org.junit.runner;version="4.5.0",
22+
org.junit.runner.manipulation;version="4.5.0",
23+
org.junit.runner.notification;version="4.5.0",
24+
org.junit.runners;version="4.5.0",
25+
org.junit.runners.model;version="4.5.0",
26+
org.hamcrest.core
27+
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
28+
Export-Package: csep

csep/META-INF/MANIFEST.MF

+3-5
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ Require-Bundle: org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
1818
org.eclipse.xtext.xbase;bundle-version="2.0.0",
1919
org.eclipse.xtext.common.types,
2020
org.eclipse.xtext.xbase.lib;bundle-version="2.0.0";visibility:=reexport,
21-
org.eclipse.xtext.xtend2.lib;bundle-version="2.0.0";visibility:=reexport,
2221
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
2322
org.eclipse.xtext.ui.codetemplates;bundle-version="2.0.0"
24-
Import-Package: org.apache.log4j,
25-
org.apache.commons.logging,
26-
org.eclipse.xtext.xbase.lib,
27-
org.eclipse.xtext.xtend2.lib
23+
Import-Package: org.apache.commons.logging,
24+
org.apache.log4j,
25+
org.eclipse.xtext.xbase.lib
2826
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
2927
Export-Package: beaver,
3028
com.aptana.editor.coffee.parsing,
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
1-
Manifest-Version: 1.0
2-
Bundle-ManifestVersion: 2
3-
Bundle-Name: csep.example.cake.tests
4-
Bundle-Vendor: My Company
5-
Bundle-Version: 1.0.0
6-
Bundle-SymbolicName: csep.example.cake.tests; singleton:=true
7-
Bundle-ActivationPolicy: lazy
8-
Require-Bundle: csep.example.cake,
9-
csep.example.cake.ui,
10-
org.eclipse.core.runtime,
11-
org.eclipse.xtext,
12-
org.eclipse.xtext.junit4,
13-
org.eclipse.xtext.ui.junit,
14-
org.junit4,
15-
org.eclipse.ui.workbench;resolution:=optional
16-
Import-Package: org.apache.log4j,
17-
org.apache.commons.logging
18-
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: csep.example.cake.tests
4+
Bundle-Vendor: My Company
5+
Bundle-Version: 1.0.0
6+
Bundle-SymbolicName: csep.example.cake.tests; singleton:=true
7+
Bundle-ActivationPolicy: lazy
8+
Require-Bundle: csep.example.cake,
9+
csep.example.cake.ui,
10+
org.eclipse.core.runtime,
11+
org.eclipse.xtext,
12+
org.eclipse.xtext.junit4,
13+
org.eclipse.xtext.ui.junit,
14+
org.junit4,
15+
org.eclipse.ui.workbench;resolution:=optional
16+
Import-Package: org.apache.log4j,
17+
org.apache.commons.logging,
18+
org.junit.runner;version="4.5.0",
19+
org.junit.runner.manipulation;version="4.5.0",
20+
org.junit.runner.notification;version="4.5.0",
21+
org.junit.runners;version="4.5.0",
22+
org.junit.runners.model;version="4.5.0",
23+
org.hamcrest.core
24+
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
25+
Export-Package: csep.example.cake

example/csep.example.cake.ui/META-INF/MANIFEST.MF

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ Import-Package: org.apache.log4j,
2020
org.apache.commons.logging
2121
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
2222
Export-Package: csep.example.cake.ui.contentassist.antlr,
23-
csep.example.cake.ui.internal
23+
csep.example.cake.ui.internal,
24+
csep.example.cake.ui.quickfix,
25+
csep.example.cake.ui.contentassist
2426
Bundle-Activator: csep.example.cake.ui.internal.CakefileActivator

example/csep.example.cake/META-INF/MANIFEST.MF

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ Require-Bundle: org.eclipse.xtext;bundle-version="2.1.0";visibility:=reexport,
2424
csep.ui;bundle-version="0.2.1";visibility:=reexport
2525
Import-Package: org.apache.commons.logging,
2626
org.apache.log4j,
27-
org.eclipse.xtext.xbase.lib,
28-
org.eclipse.xtext.xtend2.lib
27+
org.eclipse.xtext.xbase.lib
2928
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
3029
Export-Package: csep.example.cake,
3130
csep.example.cake.services,

example/csep.example.cake/src/csep/example/cake/GenerateCakefile.mwe2

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Workflow {
1414
scanClassPath = true
1515
platformUri = "${runtimeProject}/.."
1616
//registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel"
17-
registerGenModelFile = "platform:/resource/csep/csep/CoffeeScript.genmodel"
17+
registerGenModelFile = "platform:/resource/csep/src-gen/csep/CoffeeScript.genmodel"
1818
}
1919

2020
component = DirectoryCleaner {

0 commit comments

Comments
 (0)