Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A TextMate syntax compatible source editing widget. Current adapters are for SWT.
Java Ruby
tree: 7f7519d10d

merged by hand because git trumped over the end of the file. also upd…

…ated .classpath so it works with eclipse again
latest commit 7f7519d10d
Silvio Heuberger authored
Failed to load latest commit information.
.settings changed execution environment as per discussion with mschaffer. I hop…
bench cleared up the way grammars can be created. Now all we need is for so…
input Updated Java plist
lib Added Toggle Word Wrap command for testing
resources Set up cached copy of plist DTD to allow for testing/running without …
spec Scope#addChild should check if it's adding at the end first, because …
src merged by hand because git trumped over the end of the file. also upd…
test/com/redcareditor merged by hand because git trumped over the end of the file. also upd…
.classpath merged by hand because git trumped over the end of the file. also upd…
.gitignore merged by hand, hope it works
.project renamed to what it actually becomes now that i'm wading so deeply.
README updated readme
Rakefile made jruby spec run osx compatible...
Run All Unit Tests Linux (java-mateview).launch extracted interfaces, made new run config, because it kept changing b…
Run All Unit Tests OSX (java-mateview).launch extracted interfaces, made new run config, because it kept changing b…
Run GrammarBenchmark (java-mateview).launch added benchmarking classe. will now apply it to a real ruby file.
build.xml Add Linux 64-bit support to build and unit tests.
projection_attempt.diff Added test annotation

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.
  
Something went wrong with that request. Please try again.