Publishers Astrogrid Library

An Astrogrid datacenter published a collection of astronomical data on the Astrogrid.

PAL contains everything you need to install a data center, wrapped up in one big bundle.

Build

See parent project for fuller instructions

To build PAL by hand, you need to build all its prerequisites - the jars it depends on, plus the javadocs and dist bundles it grabs. Do the following:

cd datacenter

maven multiproject:clean ; maven multiproject:site ; maven jar:install-snapshot

then go and have a cup of coffee

The result is a pal-SNAPSHOT, which is left in your local repository. Usually ~/.maven/repository/org.astrogrid/wars/astrogrid-pal-SNAPSHOT.war

Hacking with PAL

The full build above takes a long time to finish - not good if you're tinkering with the packaging of PAL itself. However, once you've run the recipe once, the required resources are present. You can then rebuild PAL using the existing resources by:

cd datacenter/pal

maven pal

Note however, that the result of this build is put in a different place - datacenter/pal/target/pal.war

Other goals

pal-deploy / pal-undeploy

The pal project provides goals to deploy / undeploy datacenter/pal/target/pal.war to a tomcat webserver using tomcat's manager tool. This can be handy for testing.

You need to set some variables for this to work. Its probably best to put them in ~/build.properties.

tomcat.endpoint=http://localhost:8080/manager

tomcat.username=noel

tomcat.password=secret