JavaAceEditor - Vaadin Add-on Directory
AceEditor for editing Java source codeA code editor for editing Java source code. In addition to Ace's Java syntax highlighting and indenting, JavaAceEditor contains Java error checking and automatic code suggestions.
This add-on contains a single-user JavaAceEditor and collaborative CollabJavaAceEditor. Additionally, VaadinAceEditor and CollabVaadinAceEditor contain a couple of Vaadin-specific code suggestions.
NOTE 1: Requires CollabAceEditor 0.3.x add-on and its dependencies. That is, all the following add-ons jars must be in WebContent/lib folder:
http://vaadin.com/addon/aceeditor
http://vaadin.com/addon/diffsync
http://vaadin.com/addon/collabaceeditor
http://vaadin.com/addon/javaaceeditor
Alternatively, let Maven handle the dependencies automatically (recommended).
NOTE 2: Requires tools.jar from Java Development Kit (JDK) to be in the classpath when ran on a server. The tools.jar is used for parsing and compiling the edited Java code.
NOTE 3: There are some issues with this add-on related to class loading and tools.jar that I haven't figured out. On Jetty for example, you may get ClassCastException when trying to run the app. Starting Jetty this way seemed to work for me:
java -Djava.ext.dirs="/dir/that/contains/tools.jar/" -jar start.jar
Hopefully I some day find a proper solution...
This is an experimental add-on. Interfaces etc. are subject to change.
Online DemoJavaAceEditor version 0.1.2
Initial release.
JavaAceEditor version 0.2.0
Changed package to org.vaadin.aceeditor.java
Renamed JavaDiffSyncAceEditor to CollabJavaAceEditor.
Renamed VaadinDiffSyncAceEditor to CollabVaadinAceEditor.
Some other changes and fixes.
JavaAceEditor version 0.2.1
Fixed gwt.xml file.
JavaAceEditor version 0.2.3
null
JavaAceEditor version 0.2.5
null
JavaAceEditor version 0.2.6
null
JavaAceEditor version 0.2.7
null
JavaAceEditor version 0.3.0
null
JavaAceEditor version 0.3.1
Fixed maven Vaadin version range.