Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building the Aries Samples
Anchor
aries
aries

At this point in time Aries 0.1-incubating is in the process of being released. Once it is released you will be able to just build (or download) the sample applications.
However, in the interim you can do the following:

Download and unzip the source zip for the latest release of Aries Samples and build the project.

Code Block

cd samples
Code Block
bordersolid

svn co https://svn.apache.org/repos/asf/incubator/aries/tags aries-tags
cd aries-tags/parent-0.1-incubating/
mvn clean install
cd aries-tags/eba-maven-plugin-install

This procedure will pull in the binaries from the latest release and its dependencies.

What you are really interested in here are the sample EBAs for Blog and AriesTrader which can be found at:

  • Blog jdbc sample - samples-0.1-incubating

...

  • /blog/blog-jdbc-eba/target/org.apache.aries.

...

  • samples.blog.jdbc.eba-0.1-incubating

...

  • .eba
  • Blog jpa sample - samples-0.1-incubating

...

  • /blog/blog-jpa-eba/target/org.apache.aries.samples.blog.jpa.eba-0.1-incubating.eba
  • AriesTrader jdbc sample -

Once the Aries 0.1-incubating samples (and other artifacts) have been released you should be able to just do the following:

Code Block
bordersolid

svn co https://svn.apache.org/repos/asf/incubator/aries/tags/samples-0.1-incubating aries-samples
cd aries-samples
mvn clean install

What you are really interested in here are the sample EBAs for Blog and AriesTrader which can be found at:

  • Blog - aries-tags/ samples-0.1-incubating/blogariestrader/assemblies/blogariestrader-jpajdbc-eba/target/org.apache.aries.samples.blogariestrader.jpa.ebajdbc-0.1-incubating.eba
  • AriesTrader all sample - aries-tags/ samples-0.1-incubating/ariestrader/assemblies/ariestrader-all-eba/target/org.apache.aries.samples.ariestrader.all-0.1-incubating.eba

...

Deploy the Sample EBA

Deploy either the Blog , or AriesTrader , or both sample EBAs using the Geronimo web console or the following commands (NOTE: you should only deploy one version of each sample at a time - for example only the jdbc Blog or jpa Blog sample and not both concurrently):

Code Block
bordersolid

Blog jdbc
./bin/deploy -u system -p manager deploy org.apache.aries.samples.blog.jdbc.eba-0.1-incubating.eba
Blog jpa
./bin/deploy -u system -p manager deploy org.apache.aries.samples.blog.jpa.eba-0.1-incubating.eba
AND/ORAriesTrader jdbc
./bin/deploy -u system -p manager deploy org.apache.aries.samples.ariestrader.jdbc-0.1-incubating.eba
AriesTrader all
./bin/deploy -u system -p manager deploy org.apache.aries.samples.ariestrader.all-0.1-incubating.eba

...