X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=README;h=e8c44a99d89d1464bb56163c4cc565ac51feb064;hp=817206698ca9393100e589e08fc7fe1e240b8645;hb=fab0afc9e1e7a5ca460f0cbd48545536f989a435;hpb=d30a1e3993c5538efdecd3149dc8e5a1e4e42936 diff --git a/README b/README index 8172066..e8c44a9 100755 --- a/README +++ b/README @@ -16,6 +16,31 @@ You may also be able to use Borland JBuilder to build Jalview. A JBuilder projec but the library dependencies are almost certainly out of date. See the build.xml for current dependencies. +## + +Jalview-JS + +To enable transpilation of Jalview's code: + +1. Locate the 'dropins' directory in your eclipse installation and copy swingjs/net.sf.j2s.core.jar to it. + - typically it is at the top of the Eclipse installation, or on OSX under Eclipse.app/Contents/Eclipse + +2. Restart Eclipse + +3. If all is well you should see the 'Java2Script' builder is listed as the primary builder for the Jalview project. + if not, this is because your properties file needs to have the standard java builder replaced with the following: + net.sf.j2s.core.java2scriptbuilder + +- otherwise Javascript files will now be generated in the site/swingjs/j2s directory whenever a build occurs + +4. Execute the 'unzip-to-site' task (if it isn't automatically run) to update the site directory with the latest versions of SwingJS, varna-js, JSmol and other dependencies required by Jalview. + + + + + +## + For more help, read the file doc/building.html