Skip to content

fixed build, refs #1 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2013
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
src-gen/
xtend-gen/
bin/
plugin.xml_gen
.antlr-generator-3.2.0.jar
14 changes: 0 additions & 14 deletions .hgignore

This file was deleted.

11 changes: 0 additions & 11 deletions .hgtags

This file was deleted.

13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,16 @@ You may be [given a warning](https://bitbucket.org/adamschmideg/coffeescript-ecl
[xtext_download]: http://www.eclipse.org/Xtext/download.html
[csep_bitbucket_download]: https://bitbucket.org/adamschmideg/coffeescript-eclipse/downloads
[csep_github]: https://github.com/adamschmideg/coffeescript-eclipse


# Building

If you want to contribute to the plugin, here's a quick overview how to setup and build it locally:

1. Install [http://www.eclipse.org/Xtext/download.html](Xtext) / Version 2.1.x
2. Clone this repository
3. Import all projects into your workspace
4. Right click `csep/src/csep/CoffeeScript.xtext/CoffeeScript.xtext` -> Run as ... -> Generate Xtext language artifacts
5. Right click `example/csep.example.cake/src/csep/example/cake/Cakefile.xtext` -> Run as .. -> Generate Xtext language artifacts

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.
49 changes: 28 additions & 21 deletions csep.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-Vendor: %Bundle-Vendor
Bundle-Version: 0.2.2
Bundle-SymbolicName: csep.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: csep,
csep.ui,
org.eclipse.core.runtime,
org.eclipse.xtext,
org.eclipse.xtext.junit4,
org.eclipse.xtext.ui.junit,
org.junit4,
org.eclipse.ui.workbench;bundle-version="3.5.2";resolution:=optional,
org.eclipse.xtext.common.types;bundle-version="2.0.0",
org.eclipse.xtext.xbase.junit;bundle-version="2.0.0",
org.eclipse.xtext.xbase;bundle-version="2.0.0"
Import-Package: org.apache.commons.logging,
org.apache.log4j
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-Vendor: %Bundle-Vendor
Bundle-Version: 0.2.2
Bundle-SymbolicName: csep.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: csep,
csep.ui,
org.eclipse.core.runtime,
org.eclipse.xtext,
org.eclipse.xtext.junit4,
org.eclipse.xtext.ui.junit,
org.junit4,
org.eclipse.ui.workbench;bundle-version="3.5.2";resolution:=optional,
org.eclipse.xtext.common.types;bundle-version="2.0.0",
org.eclipse.xtext.xbase.junit;bundle-version="2.0.0",
org.eclipse.xtext.xbase;bundle-version="2.0.0"
Import-Package: org.apache.commons.logging,
org.apache.log4j,
org.junit.runner;version="4.5.0",
org.junit.runner.manipulation;version="4.5.0",
org.junit.runner.notification;version="4.5.0",
org.junit.runners;version="4.5.0",
org.junit.runners.model;version="4.5.0",
org.hamcrest.core
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: csep
8 changes: 3 additions & 5 deletions csep/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ Require-Bundle: org.apache.log4j;bundle-version="1.2.15";visibility:=reexport,
org.eclipse.xtext.xbase;bundle-version="2.0.0",
org.eclipse.xtext.common.types,
org.eclipse.xtext.xbase.lib;bundle-version="2.0.0";visibility:=reexport,
org.eclipse.xtext.xtend2.lib;bundle-version="2.0.0";visibility:=reexport,
org.apache.commons.logging;bundle-version="1.0.4";resolution:=optional;visibility:=reexport,
org.eclipse.xtext.ui.codetemplates;bundle-version="2.0.0"
Import-Package: org.apache.log4j,
org.apache.commons.logging,
org.eclipse.xtext.xbase.lib,
org.eclipse.xtext.xtend2.lib
Import-Package: org.apache.commons.logging,
org.apache.log4j,
org.eclipse.xtext.xbase.lib
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: beaver,
com.aptana.editor.coffee.parsing,
Expand Down
43 changes: 25 additions & 18 deletions example/csep.example.cake.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: csep.example.cake.tests
Bundle-Vendor: My Company
Bundle-Version: 1.0.0
Bundle-SymbolicName: csep.example.cake.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: csep.example.cake,
csep.example.cake.ui,
org.eclipse.core.runtime,
org.eclipse.xtext,
org.eclipse.xtext.junit4,
org.eclipse.xtext.ui.junit,
org.junit4,
org.eclipse.ui.workbench;resolution:=optional
Import-Package: org.apache.log4j,
org.apache.commons.logging
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: csep.example.cake.tests
Bundle-Vendor: My Company
Bundle-Version: 1.0.0
Bundle-SymbolicName: csep.example.cake.tests; singleton:=true
Bundle-ActivationPolicy: lazy
Require-Bundle: csep.example.cake,
csep.example.cake.ui,
org.eclipse.core.runtime,
org.eclipse.xtext,
org.eclipse.xtext.junit4,
org.eclipse.xtext.ui.junit,
org.junit4,
org.eclipse.ui.workbench;resolution:=optional
Import-Package: org.apache.log4j,
org.apache.commons.logging,
org.junit.runner;version="4.5.0",
org.junit.runner.manipulation;version="4.5.0",
org.junit.runner.notification;version="4.5.0",
org.junit.runners;version="4.5.0",
org.junit.runners.model;version="4.5.0",
org.hamcrest.core
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: csep.example.cake
4 changes: 3 additions & 1 deletion example/csep.example.cake.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ Import-Package: org.apache.log4j,
org.apache.commons.logging
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: csep.example.cake.ui.contentassist.antlr,
csep.example.cake.ui.internal
csep.example.cake.ui.internal,
csep.example.cake.ui.quickfix,
csep.example.cake.ui.contentassist
Bundle-Activator: csep.example.cake.ui.internal.CakefileActivator
3 changes: 1 addition & 2 deletions example/csep.example.cake/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ Require-Bundle: org.eclipse.xtext;bundle-version="2.1.0";visibility:=reexport,
csep.ui;bundle-version="0.2.1";visibility:=reexport
Import-Package: org.apache.commons.logging,
org.apache.log4j,
org.eclipse.xtext.xbase.lib,
org.eclipse.xtext.xtend2.lib
org.eclipse.xtext.xbase.lib
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: csep.example.cake,
csep.example.cake.services,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Workflow {
scanClassPath = true
platformUri = "${runtimeProject}/.."
//registerGenModelFile = "platform:/resource/org.eclipse.xtext.xbase/model/Xbase.genmodel"
registerGenModelFile = "platform:/resource/csep/csep/CoffeeScript.genmodel"
registerGenModelFile = "platform:/resource/csep/src-gen/csep/CoffeeScript.genmodel"
}

component = DirectoryCleaner {
Expand Down