Project
Hosting
The
project
is located at google project hosting.
It includes a
downloads
page for the binary downloads (webarchive or embedded server,
certificate file) and the
nodes application
sources
in subversion to check out.
The latest download is available here as well:
Maven build
To build the project using maven, you will need to set some properties
in the
settings.xml:
- keystore.location. The full path to the keystore used to sign the
client jars.
- keystore.user. Your local userid in the keystore.
- keystore.password. The password for the keystore.
- tomcat.home. The home of an external tomcat installation used for
testing (
deploy/test
module). Not required, you can
start the embedded server at
deploy/embedded/target/nodes-1.0-jar
as well.
- setup.home. An alternative external tomcat installation, used by the
profile setup of
deploy/test
.
- nodes.user. The user used by the
bundle
plugin to connect to the repository and build the application
bundles from the repository content, e.g.
admin
.
- nodes.password. The password of the latter user, e.g.
nodes
.
- manifest.permissions. The value of the
Permissions
manifest
entry of the signed client jars, e.g.
all-permissions
.
- manifest.applicationLibraryAllowableCodebase. The value of the
Application-Library-Allowable-Codebase
manifest entry of the signed client jars, e.g.
*
.
- manifest.callerAllowableCodebase. The value of the
Caller-Allowable-Codebase
manifest entry of the signed client jars, e.g.
*
.
- manifest.codebase. The value of the
Codebase manifest entry
of the signed client jars, e.g.
*
.
- manifest.applicationName. The value of the
Application-Name
manifest entry of the signed client jars, e.g.
nodes - network
of design
.
Security
The Java applets of the application are self-signed, that is, with a
self created certificate the default Java installation does not know
about.
To avoid security warnings when using the applets, you can add the
certificate to your Java installation's trusted certificates keystore:
- The certificate used to sign the applets is part of the the default
repository content created during the first server startup, the
location is
/jcr:system/nodes/resources/nodes.cer
.
- The Java installation trusted certificates keystore is located at
$JAVA_HOME/lib/security/cacerts
.
The following command should be used to import the certificate. It
assumes your current location is at
$JAVA_HOME
and you
are on a UNIX system (use backward slashes for Windows):
bin/keytool -importcert -keystore lib/security/cacerts -alias nodescert -file nodes.cer
Please compare as well
this
article, chapter
Import the certificate onto machines that
should trust you.