danlucraft / java-mateview forked from kungfoo/java-mateview
- Source
- Commits
- Network (3)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.classpath | Sat Sep 12 05:18:07 -0700 2009 | |
| |
.gitignore | Sun Oct 25 03:03:00 -0700 2009 | |
| |
.project | Sat Aug 08 11:31:21 -0700 2009 | |
| |
.settings/ | Wed Sep 09 23:54:52 -0700 2009 | |
| |
README | Sat Sep 12 03:45:44 -0700 2009 | |
| |
Rakefile | Mon Sep 07 02:29:26 -0700 2009 | |
| |
Run All Unit Tests Linux (java-mateview).launch | Sat Sep 05 11:33:04 -0700 2009 | |
| |
Run All Unit Tests OSX (java-mateview).launch | Sat Sep 05 11:33:04 -0700 2009 | |
| |
Run GrammarBenchmark (java-mateview).launch | Tue Aug 11 11:58:09 -0700 2009 | |
| |
bench/ | Sat Sep 05 09:03:32 -0700 2009 | |
| |
build.xml | Tue Dec 29 03:52:22 -0800 2009 | |
| |
input/ | Fri Jan 08 23:01:15 -0800 2010 | |
| |
lib/ | Sun Feb 07 22:27:38 -0800 2010 | |
| |
resources/ | Thu Sep 03 20:11:22 -0700 2009 | |
| |
spec/ | Sun Feb 07 00:30:44 -0800 2010 | |
| |
src/ | Tue Feb 09 09:16:46 -0800 2010 | |
| |
test/ | Sun Feb 07 00:30:44 -0800 2010 |
README
JavaMateView
============
Requirements
------------
* jruby-1.3.1 installed and set up on your path
* rspec gem installed via gem install rspec
* make sure that JAVA_HOME points to a 1.6 type JDK (this is especially true on OSX Leopard)
Running the Ant-based unit-tests
--------------------------------
ant
or
rake java:test
Running the RSpec parsing specs
-------------------------------
Compile the java code and run the specs:
rake jruby:test
If you want to run it manually, without compiling:
On OSX:
jruby -J-XstartOnFirstThread -S spec spec
On Linux:
jruby -S spec spec/
Contributing
------------
Just so you know: You're free to use whatever IDE or editor to code on java-mateview.
You can use the rake tasks to compile your code and run the tests easily.
If you do however use the Eclipse IDE you also get the Eclipse project settings right away
when checking out the repository.
Alas, there are platform dependent libraries this project relies on, you need to do one little
thing to be on the way to code in eclipse (The rake + ant files do this in their own way).
Eclipse Setup
-------------
* Clone the repository so you have your own version to work with.
* Import the project.
* Set up a variable to point to the lib/{your platform here}/swt.jar
- Go to: Window -> Preferences -> Java -> Build Path -> Classpath Variables
- Choose "new" -> File
- Name the variable SWT_JAR and point it to the lib/{platform}/swt.jar in the java-mateview folder.
