Vault 3 Source Code Build Instructions
The following instructions will get you started building Vault 3 with Eclipse. These instructions apply to Eclipse 3.5 and the Java Mail API 1.4.2.
32-bit Windows
- Download and Install a 32-bit JRE from http://java.sun.com/javase/downloads/index.jsp.
- Download the "Windows" version of Eclipse from the "Eclipse SDK" section of http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy the eclipse folder to C:\Program Files\eclipse-SDK-3.5-win32\eclipse.
- Download the "Windows" version of "SWT Binary and Source" from http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy it to C:\Program Files\swt-3.5-win32-win32-x86.
- Download the Java Mail api from http://java.sun.com/products/javamail/. Unzip the file and copy the folder to C:\Program Files\javamail-1.4.2.
- Download the Vault 3 source code from http://www.personalmicrocosms.com/Vault3/Download.aspx. Unzip the file and copy the folder to c:\development\Vault.
- Copy C:\development\Vault\classpaths\win32\.classpath to C:\development\Vault.
- Create a shortcut to Eclipse (C:\Program Files\eclipse-SDK-3.5-win32\eclipse\eclipse.exe).
- Launch Eclipse. Specify a workspace of "c:\development". Go to the Eclipse Workbench.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select c:\development\Vault. Click Finish.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select C:\Program Files\swt-3.5-win32-win32-x86. Click Finish.
- Navigate to Vault/src/mainPackage in the Package Explorer. Type Ctrl+F11. Select Java Application. Vault 3 will launch.
64-bit Windows
- Download and Install a 32-bit JRE from http://java.sun.com/javase/downloads/index.jsp.
- Download the "Windows (x86_64)" version of Eclipse from the "Eclipse SDK" section of http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy the eclipse folder to C:\Program Files\eclipse-SDK-3.5-win32-x86_64\eclipse.
- Download the "Windows (x86_64)" version of "SWT Binary and Source" from http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy it to C:\Program Files\swt-3.5-win32-win32-x86_64.
- Download the Java Mail api from http://java.sun.com/products/javamail/. Unzip the file and copy the folder to C:\Program Files\javamail-1.4.2.
- Download the Vault 3 source code from http://www.personalmicrocosms.com/Vault3/Download.aspx. Unzip the file and copy the folder to c:\development\Vault.
- Create a shortcut to Eclipse (C:\Program Files\eclipse-SDK-3.5-win32-x86_64\eclipse\eclipse.exe).
- Launch Eclipse. Specify a workspace of "c:\development". Go to the Eclipse Workbench.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select c:\development\Vault. Click Finish.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select C:\Program Files\swt-3.5-win32-win32-x86_64. Click Finish.
- Navigate to Vault/src/mainPackage in the Package Explorer. Type Ctrl+F11. Select Java Application. Vault 3 will launch.
Ant Build Scripts
The official Vault 3 builds are generated by a set of Ant build scripts. You can find the Ant build scripts with the Package Explorer. To run a script, right-click it and select Run As / Ant Build. The Ant scripts only work on 64-bit Windows, but it would be easy to adapt them to run in other environments.
32-bit Linux (GTK) (Ubuntu)
- Install a 32-bit JRE: Select Applications / Add/Remove. Click the Show drop-down. Choose "All available applications". Search for Sun java. Choose Sun Java 6 Runtime by checking the checkbox on the left. Click Apply Changes. Click Apply.
- Download the "Linux (x86/GTK 2)" version of Eclipse from the "Eclipse SDK" section of http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy the eclipse folder to ~/eclipse-SDK-3.5-linux-gtk
- Download the "Linux (x86/GTK 2)" version of "SWT Binary and Source" from http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy it to ~/swt-3.5-gtk-linux-x86.
- Download the Java Mail api from http://java.sun.com/products/javamail/. Unzip the file and copy the folder to ~/javamail-1.4.2.
- Download the Vault 3 source code from http://www.personalmicrocosms.com/Vault3/Download.aspx. Unzip the file and copy the folder to ~/Vault.
- Copy ~/Vault/classpaths/linux_gtk_32/.classpath to ~/Vault. Note, to display .classpath files in the File Browser, select View and check the Show Hidden Files checkbox. Edit ~/Vault/.classpath and replace /home/eric with your home directory.
- Create a Launcher for Eclipse (/home/{username}/eclipse-SDK-3.5-linux-gtk/eclipse/eclipse).
- Launch Eclipse. Specify a workspace of "~/development". Go to the Eclipse Workbench.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select
~/Vault. Click Finish.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select ~/swt-3.5-gtk-linux-x86. Click Finish.
- Navigate to Vault/src/mainPackage in the Package Explorer. Type Ctrl+F11. Select Java Application. Vault 3 will launch.
- If you are developing on or for Ubuntu 9.10, read this page.
64-bit Linux (GTK) (Ubuntu)
- Install a 64-bit JRE: Select Applications / Add/Remove. Click the Show drop-down. Choose "All available applications". Search for Sun java. Choose Sun Java 6 Runtime by checking the checkbox on the left. Click Apply Changes. Click Apply.
- Download the "Linux (x86_64/GTK 2)" version of Eclipse from the "Eclipse SDK" section of http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy the eclipse folder to ~/eclipse-SDK-3.5-linux-gtk-x86_64.
- Download the "Linux (x86_64/GTK 2)" version of "SWT Binary and Source" from http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php. Unzip the file and copy it to ~/swt-3.5-gtk-linux-x86_64.
- Download the Java Mail api from http://java.sun.com/products/javamail/. Unzip the file and copy the folder to ~/javamail-1.4.2.
- Download the Vault 3 source code from http://www.personalmicrocosms.com/Vault3/Download.aspx. Unzip the file and copy the folder to ~/Vault.
- Copy ~/Vault/classpaths/linux_gtk_64/.classpath to ~/Vault. Note, to display .classpath files in the File Browser, select View and check the Show Hidden Files checkbox. Edit ~/Vault/.classpath and replace /home/eric with your home directory.
- Create a Launcher for Eclipse (/home/{username}/eclipse-SDK-3.5-linux-gtk-x86_64/eclipse).
- Launch Eclipse. Specify a workspace of "~/development". Go to the Eclipse Workbench.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select
~/Vault. Click Finish.
- Select File / Import. Expand the General section. Select Existing Projects into Workspace. Click Next. Click Browse and select ~/swt-3.5-gtk-linux-x86_64. Click Finish.
- Navigate to Vault/src/mainPackage in the Package Explorer. Type Ctrl+F11. Select Java Application. Vault 3 will launch.
- If you are developing on or for Ubuntu 9.10, read this page.