InstantJ is a library you can use to compile and execute Java code or evaluate expressions written in Java. This is done on the fly - there is no pre-compiling step necessary. This is ideal in cases where expressions are either assembled programmatically at runtime, are read from descriptors or received from user-input.
Click here to go to the Project InstantJ hosted @ Sourceforge.net.
Click here to read the project's readme.
To build InstantJ on your machine follow these steps (assuming there exist directory [ij-source] and [ij-build]):[ant] is either the enclosed build.cmd or ant started directly java org.apache.tools.ant.Main]
- cd [ij-source]
- cvs -d:pserver:anonymous@cvs.instantj.sourceforge.net:/cvsroot/instantj co dev
- cd dev
- [update build.property dir.out = [ij-build]]
- [ant] test
If you're developer (contact me to become one) then login once to shell.sourceforge.net:Your account is now initalized and you can get start working (assuming you want to change [somefile] in [somedirectory] with your favourite [editor]). That endeavour will roughly look like this (adopt accordingly for platform other than windows):
- ssh -l [your_user_id] shell.sourceforge.net
Be sure to consult the cvs documentation and let me know in case you have any questions.
- cd [ij-source]
- set cvs_rsh=ssh
- set cvsroot=:ext:[your_user_id]@cvs.instantj.sourceforge.net:/cvsroot/instantj
- cvs co -P dev
- cd ./dev/[somedirectory]
- [editor] [somefile]
- cvs ci [somefile]
Please follow these guidelines while working with cvs:
- use 'cvs checkout', 'cvs checkin', 'cvs update' as desired
- don't use 'cvs admin', 'cvs add', 'cvs remove' as it is difficult to cleanup the repository if something goes wrong here
- provide comments when checking in
- use an editor that leaves files alone aside from the changes you make manually (diff doesn't work as expected otherwise)
- behave well :)