This section will walk a developer through the steps of setting up Moves, on Windows or Linux. It does not cover OC4J installation, since that is covered elsewhere in this Wiki.
A machine running Windows or Linux. (This should work for Macs too... but the author does not use a mac).
OC4J should be running, and accessible on port 8888 (preferably).
In your oc4j/j2ee/home/config folder, there should be a file called default-web-site.xml, that looks something like this:
<?xml version="1.0"?> <web-site xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/web-site-10_0.xsd" port="8888" display-name="OC4J 10g (10.1.3) Default Web Site" schema-major-version="10" schema-minor-version="0" > <default-web-app application="default" name="defaultWebApp" /> <web-app application="system" name="dms0" root="/dmsoc4j" /> <web-app application="system" name="dms0" root="/dms0" /> <web-app application="system" name="JMXSoapAdapter-web" root="/JMXSoapAdapter" /> <web-app application="default" name="jmsrouter_web" load-on-startup="true" root="/jmsrouter" /> <web-app application="javasso" name="javasso-web" root="/jsso" /> <web-app application="ascontrol" name="ascontrol" load-on-startup="true" root="/em" ohs-routing="false" /> <access-log path="../log/default-web-access.log" split="day" /> </web-site> |
(Don't worry that we will not be developing over https, since in production, https is handled by the apache server).
Get as recent a version of the JDK as MIT IS&T support, and install the Java Cryptography Extension (JCE) Unlimited Strength FOR THAT JDK. Make sure you get the JDK, and not just the JRE. Also make sure that the JDK is the FIRST java found in your path, and that you have the System environment variable JAVA_HOME pointing to that JDK. To install the JCE, simply backup %JAVA_HOME%/jre/lib/security/local_policy.jar and %JAVA_HOME%/jre/lib/security/US_export_policy.jar with the copies in the JCE zip file. For my windows jdk, the location was C:/Program Files/Java/jdk1.6.0_29/jre/lib/security.
type sudo apt-get install subversion
Download PuTTY (e.g from here)
Make a note of the path (for example C:/Program Files (x86)/PuTTY
At this stage you must be able to type C:/Program Files (x86)/PuTTY/plink svn.mit.edu and get a connection. The connection will look something like the following, until you hit CTRL-C
|
\$ sudo apt-get install
Moves does a WHOLE LOT of subversion activity. Unless you set yourself up for password-less authentication, you're gonna spend most of your life typing in your kerb username and password over and over again. Since you probably won't get an ssh private key installed on svn.mit.edu, you're gonna have to set yourself up with Kerberos. When we have Kerberos hooked up with svn, you'll only have to type in your username once per session. (A session lasts for about 10 hours). Sharing a production ssh key is not advisable (though it's been done).
Type which kinit. If that doesn't return anything, type
\$ sudo su -
# apt-get install ssh-krb5 krb5-user krb4-config
try kinit, and type in your kerberos username and password. If that works, you're done.
If it doesn't, then add
# mv /etc/krb5.conf
Unless you have a private ssh key on