a) Download and install Java EE 5 SDK Update 2 (with JDK) java_ee_sdk-5_02-windows.exe
b) Create JAVA_HOME environment var that points to the sdk\jdk directory under the java directory installed.
c) Add %JAVA_HOME%\bin to the beginning of the PATH environment var
a) Download and install apache-ant-1.7.0-bin.zip
b) Add the path to apache-ant-1.7.0\bin to the PATH environment var
a) Download and install apache-tomcat-5.5.23.zip
b) Create CATALINA_HOME environment var that points to the tomcat install dir
c) Edit %CATALINA_HOME%\conf\tomcat-users.xml to add a 'manager' role and a new user with that role:
d) Launch Tomcat :
e) Open a web browser at http://localhost:8080/manager/html
a) Download and install MySQL Community Server 5.0.41
b) Mysql should be started, and should start at every Windows startup. If not :
c) Enter Mysql:
d) Create new DB and secure Mysql: (replace ROOT_PSSWD, USER_PSSWD and USER by your choice, and IP_ADDRESS by the IP address of the user who wants to connect remotely -other than localhost- if any)
e) Test:
a) Download and install TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi
b) Anywhere you want on the filesystem, create a directory called InterfaceA_UM. Right click on the newly created dir and select SVN Checkout in the context menu ...
In the URL of repository field, enter https://semi1588.svn.sourceforge.net/svnroot/semi1588, then click on OK.
This should download the current sources in the InterfaceA_UM directory, called the Working Directory. Every changes made on the files in the working directory can then be Commited back on the SourceForge SVN Repository using the right click context menu.
a) Download, install and launch Eclipse 3.3.0
b) File->Import...
c) Edit build.properties and change:
d) Edit war/WEB-INF/properties/log4j.properties and modify the value of the attribute log4j.appender.logfile.File to reflect your Tomcat installation dir.
e) In Eclipse, call ant with targets clean, gensrc, jspc and build in that order (right click on build.xml)
f) (This part is done already: Paste gen-src/*.cfg.xml content into war/WEB-INF/xml/hibernate/hibernate_with_db_param.cfg.xml).
g) Edit war/WEB-INF/classes/hibernate.cfg.xml,
then under Database connection settings find connection.username and connection.password
and change it with the value of USER and USER_PSSWD
that where defined in step 4.d)
h) In eclipse, call ant with target schemaexport
i) Call ant with targets deploy, start
a) Go back to the Tomcat Application Manager page and click on the List Applications link to refresh the page. A new application called InterfaceA should appear. Click on it to launch it. You should now see the Simulation Controller web page.
That's it!