Skip to content
Snippets Groups Projects
Commit 064d0662 authored by tcarver's avatar tcarver
Browse files

add documentation for creating signed jar and running tests

parent 20a4715b
No related branches found
No related tags found
No related merge requests found
Installation instructions for UNIX Installation instructions for UNIX
==================================
1. change to /some/directory 1. change to /some/directory
2. uncompress and untar the artemis_compiled.tar.gz file 2. uncompress and untar the artemis_compiled.tar.gz file
On UNIX the command is: gzip -d < artemis_compiled.tar.gz | tar xf - On UNIX the command is: tar xzvf artemis_compiled.tar.gz
This will create a "artemis" directory containing all the java classes. On This will create a "artemis" directory containing all the java classes. On
Unix the easiest way to run the program is to run the script called art in the Unix the easiest way to run the program is to run the script called art in the
...@@ -18,7 +17,8 @@ menus. From the File menu you can open a flat file containing an ...@@ -18,7 +17,8 @@ menus. From the File menu you can open a flat file containing an
entry. If it reads the entry successfully a new window will open, entry. If it reads the entry successfully a new window will open,
which shows the sequence and features for the entry. which shows the sequence and features for the entry.
==================================================================== Download and Install from GitHub
================================
Installation instructions for GitHub download Installation instructions for GitHub download
...@@ -30,4 +30,41 @@ Installation instructions for GitHub download ...@@ -30,4 +30,41 @@ Installation instructions for GitHub download
3. Run Artemis: 3. Run Artemis:
./art ./art
or ACT: or ACT:
./act ./act
\ No newline at end of file
Makefile targets
================
make - compile code
make jar - create an Artemis and ACT jar file in jar_build directory
make dist - create a tar ball of the Artemis/ACT distribution
Creating signed jar files for Artemis/ACT Java Web Start launch
===============================================================
Use 'make jar' to create jar_build/artemis.jar. See the following pages
for a description of deploying and signing jar files:
http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html
http://java.sun.com/docs/books/tutorial/deployment/jar/signing.html
Use the Java keytool to generate a keystore (artemisstore) file:
keytool -genkey -alias signFiles -dname "CN=$NAME, \
OU=$ORGU, O=$ORG, L=$LOC, S=$STATE, C=$CODE" \
-keypass $KEYPASS -storepass $STOREPASS -keystore artemisstore -validity $VALID
The following cab be used view the key store and list the details:
keytool -list -v -keystore artemisstore
Then use that to create the signed jar that you point your JNLP to :
jarsigner -keystore artemisstore -storepass $STOREPASS -keypass $KEYPASS \
-signedjar sartemis.jar artemis.jar signFiles
Running the test suite
======================
cd test
ant -f build-test.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment