Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: - updated with OODT-705

...

The archetype is available at maven central. Here is the set of commands you would typically run.

Code Block
prompt> mvn archetype:generate -DarchetypeGroupId=orgsource <(curl -s http://svn.apache.oodt -DarchetypeArtifactId=radix-archetype -DarchetypeVersion=0.6 -Doodt=0.6 -DgroupId=com.mycompany -DartifactId=dms -Dversion=0.1-SNAPSHOTorg/repos/asf/oodt/trunk/mvn/archetypes/radix/src/main/resources/bin/radix)
prompt> cd dms; mvn package
prompt> mkdir ../oodt-deploy; tar -xvf distribution/target/dms-distribution-0.1-SNAPSHOT-bin.tar.gz -C ../oodt-deploy
prompt> cd ../oodt-deploy; ./bin/oodt start
  • The first command is the running of a maven archetype to make an oodt project. Inside of the RADIX script downloaded in the curl command is an mvn archetype generation command. That command has a number of parameters that the 1 liner radix script encapsulates. (parameters marked in italics below)
    • The groupId is a place to specify your company's namespace. 
    • The artifactId is a place to specify a short name of your project. 
    • The version indicates the initial version label for your project. 
    • The oodt flag indicates the version of OODT that you want your project to be built on.
  • The second command simply moves into the created oodt project directory where your source and configuration can be maintained and later can be placed into version control. Then creates the distribution of your OODT project using "mvn package"
  • The third command merely untars the distribution into the created deployment directory
  • The fourth command moves into the deployment directory and starts the OODT system.

...

titleRADIX 1 liner script

Now you can replace the first command with:

...

  • .

...

You can now check the installation by opening a browser to http://localhost:8080/opsui or running the various command line programs for the various components.

...