github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

danlucraft / java-mateview forked from kungfoo/java-mateview

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 14
    • 3
  • Source
  • Commits
  • Network (3)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • master ✓
    • pre-modify-parsing
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A TextMate syntax compatible source editing widget. Current adapters are for SWT. — Read more

  cancel

http://redcareditor.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Add isSingleLine method to MateText 
danlucraft (author)
Tue Feb 09 09:16:46 -0800 2010
commit  2cdb84d03384d6eb838b6b30ad8612eacb4bf44c
tree    ea8b725b8f413c14d0038c1d487aa0ee9561cb43
parent  14daf86416d8372b6579fb48bfd0f9498deea7c2
java-mateview /
name age
history
message
file .classpath Sat Sep 12 05:18:07 -0700 2009 cleaned up .classpath and re-added resources fo... [Silvio Heuberger]
file .gitignore Sun Oct 25 03:03:00 -0700 2009 merged by hand, hope it works [Silvio Heuberger]
file .project Sat Aug 08 11:31:21 -0700 2009 renamed to what it actually becomes now that i'... [Silvio Heuberger]
directory .settings/ Wed Sep 09 23:54:52 -0700 2009 changed execution environment as per discussion... [kungfoo]
file README Sat Sep 12 03:45:44 -0700 2009 made README reflect the steps needed to get thi... [Silvio Heuberger]
file Rakefile Mon Sep 07 02:29:26 -0700 2009 made jruby spec run osx compatible... [kungfoo]
file Run All Unit Tests Linux (java-mateview).launch Sat Sep 05 11:33:04 -0700 2009 extracted interfaces, made new run config, beca... [Silvio Heuberger]
file Run All Unit Tests OSX (java-mateview).launch Sat Sep 05 11:33:04 -0700 2009 extracted interfaces, made new run config, beca... [Silvio Heuberger]
file Run GrammarBenchmark (java-mateview).launch Tue Aug 11 11:58:09 -0700 2009 added benchmarking classe. will now apply it to... [kungfoo]
directory bench/ Sat Sep 05 09:03:32 -0700 2009 cleared up the way grammars can be created. Now... [Silvio Heuberger]
file build.xml Tue Dec 29 03:52:22 -0800 2009 Target the 1.5 JVM [danlucraft]
directory input/ Fri Jan 08 23:01:15 -0800 2010 Updated Java plist [danlucraft]
directory lib/ Sun Feb 07 22:27:38 -0800 2010 Added MateText.set_root_scope_by_content_name [danlucraft]
directory resources/ Thu Sep 03 20:11:22 -0700 2009 Set up cached copy of plist DTD to allow for te... [matschaffer]
directory spec/ Sun Feb 07 00:30:44 -0800 2010 MateText takes a boolean argument for creating ... [danlucraft]
directory src/ Tue Feb 09 09:16:46 -0800 2010 Add isSingleLine method to MateText [danlucraft]
directory test/ Sun Feb 07 00:30:44 -0800 2010 MateText takes a boolean argument for creating ... [danlucraft]
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.
  
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server