forked from danlucraft/java-mateview
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
58 lines (37 loc) · 1.48 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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.