Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • MIT Kerberos for Windows (3.2.x). Version 4 may work but I didn’t test it.
  • Java JDK 6 (oracle.com). I used 1.6.0_38
  • MyEclipse 10 http://www.myeclipseide.com (custom/online installer). More on the MyEclipse config below.
  • svn 1.7.8 client from http://www.sliksvn.com/en/download . IMPORTANT: if you already have a development environment set up (MyEclipse etc), check make sure the version of SVN client you install from sliksvn matches the version you are using in MyEclipse. If you mix svn client versions, project svn metadata could get messed up. Here's a rough guide:
    • If you are currently using a 1.6 client in MyEclipse (i.e. Subversive Connector SVNKit 1.3.8), then download the 1.6 client from sliksvn.
    • If you
    mix 1.6 & 1.7 clients, project svn metadata could get messed up
    • are currently using a 1.7 client in MyEclipse (i.e. Subversive Connector SVNKit 1.7.5), then download the 1.7 client from sliksvn.
    • If you do not have MyEclipse or SVN installed previously, I'd recommend downloading 1.7 from sliksvn.
  • maven 3.0.4 binaries from http://maven.apache.org/download.cgi
  • SSH client that is capable of using Kerberos authentication. I used the Putty distribution from (http://www.chiark.greenend.org.uk/~sgtatham/putty/ - download the zip file for Windows that contains all the related binaries including putty and plink) , and reconfigure Putty to use Kerberos authentication (through GSSAPI). See below for details.
  • Oracle OC4J server - see CSF wiki for instructions on download & installation.
  • GNU Win Coreutils from http://gnuwin32.sourceforge.net/packages.html (provides “echo” utility, needed by Moves at runtime).

...

  1. Install and set up MyEclipse as per CSF Wiki instructions.
  2. Set MyEclipse to use the external maven install (the 3.0.4 version)
  3. From Config Center, install Subversive plugin (SVN kit & SVN team provider). Choose the version that matches your SVN client installation (for svn client 1.7.x, use SVNKit 1.7.5 - for svn client 1.6.x, use SVNKit 1.3.8).
  4. From Config Center, install Maven SCM Handler for Subversive (update site URL is http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-subversive/0.13.0/N/0.13.0.201208191312 ). This add-on provides the “checkout as Maven proj” option in the SVN perspective.
  5. Add sais-sis-common as svn repo in MyEclipse SVN perspective (svn+ssh://svn.mit.edu/sais-sis-common)

...

No Format
SVN_SSH=C:/bin/plink.exe

Then from the command line, try this in a temp directory:

...

8. Other Windows Configuration

Moves requires a c:\tmp directory (/tmp on Unix/Linux) directory. IIf If it doesn’t already exist, create a c:\tmp folder.

...

Now we’re ready to check out the Moves app from Subversion! In MyEclipse, go to SVN perspective, find the sais-moves-web project under sais-sis-common and for the trunk: right-click and Check Out As Maven Project. This should create a working copy of the Moves app, correctly configured for MyEclipse/Maven.

...

  1. Maven Command: mvn
  2. Build Home: a location of your choice, preferably outside of the MyEclipse Moves project location. Use forward slashes (/) not backslashes () in the directory path. I used C:/Users/dev/temp/moves-build
  3. Max Maven Build Time (in seconds): 3600
  4. MIT Maven Repository (containing releases): https://maven.mit.edu/nexus/content/groups/saisGroupRepo/
  5. mit-release-plugin version: 2.0.19 (this version was correct at the time of writing)
  6. Maven System Properties:
    1. javax.net.ssl.trustStore: your location for serverTrustStore.jks. Again, use forward slashes for the path.
    2. javax.net.ssl.trustStorePassword: password for the trust store.
  7. Maven Environment Variables:
    1. JAVA_HOME: path to your JDK. (e.g. C:/Program Files/Java/jdk1.6.0_38)
    2. MAVEN_OPTS: -Xmx768m -Xms768m -XX:MaxPermSize=768m -Djavax.net.ssl.trustStore=/path/toyour/servertruststore/file -Djavax.net.ssl.trustStorePassword=XXXXXX
    3. PATH: this is a semi-colon delimited path (using forward slashes) for binaries needed by Maven when Moves does builds, releases etc. It should contain the locations of:
      1. MIT Kerberos binaries (klist, kinit etc)
      2. JDK binaries
      3. Maven itself (mvn.exe)
      4. Windows system binaries (e.g. C:/Windows/system32)
      5. SVN binary (svn.exe)
    4. As an example, my maven PATH is set to: C:/Program Files/Kerberos;C:/Program Files/Java/jdk1.6.0_38/bin;C:/apache-maven-3.0.4/bin;C:/Windows/system32;c:/svn/bin

...