Guide on how to build, run, and debug IME locally -- for backend developers
How to build the IME using NetBeans
1. download and install jdk 1.6 (http://java.sun.com/javase/downloads/index.jsp)
set the JAVA_HOME variable to point to the local jdk directory
2. get maven http://maven.apache.org/download.html. Extract it to a local directory and add the bin directory to your path.
After this, you should be able to type "mvn -version" and get the mvn version info.
3. install a svn client (such as tortoisesvn from http://tortoisesvn.tigris.org/)
Wiki Markup |
---|
4. check out the thalia source from svn+ssh://\[username\]@svn.mit.edu/zest/thalia. Make sure you are a member of the zest-cvs moira goup. |
5. install netbeans 6 from http://www.netbeans.org/
6. install the maven plugin: tools->plugins->available plugins, select maven and click install.
...
12. Now you can run thalia locally via http. click debug and change the url to http://localhost:8084/libraries
You should see the public library and any library that is publicly readable.
...
2. since Thalia also require client side authentication, we need to create a trust keystore that will be used to keep
the mit client root CA, so all MIT client certs will be trusted by the server:
download the mit root CA from http://ca.mit.edu.ezproxyberklee.flo.org/mitClient.crt and save it to c:\mitClient.crt
import the root CA into the keystore generated in step 1:
"%JAVA_HOME%\bin\keytool" -import -v -file c:\mitClient.cer -keystore c:\temp\tomcat
...
4. You should be all set. Restart the tomcat server inside NetBeans: windows->services
Then inside services pane, click on servers, right click on the tomcat server and select restart
5. Now you can go to https://localhost:8443/libraries and you can see all the libraries you can see.