--- mark mark <[EMAIL PROTECTED]> wrote: >
>
> For anyone else having trouble here are the steps
> required to get going with the latest Avalon sources
> from svn (or at least what I did to get things
> working):
>
> Nb. this is for a Linux system with J2SDK 1.4.2 and
> Ant 1.6.1 already installed.
>
> 1. Checkout Avalon sources using svn
> $ mkdir $HOME/opt
> $ cd ~/opt
> $ svn co
> http://svn.apache.org/repos/asf/avalon/trunk
> avalon
>
> 2. Setup Avalon - this installs the ant libraries
> for
> magic etc.
> $ cd ~/opt/avalon
> $ ant setup
> This will have created $HOME/.ant/ and $HOME/.magic
> directories
>
> 3. Build Avalon
> $ ant
>
> 4. Install Merlin from the zip file just built.
> $ cd ~/opt
> $ unzip
>
avalon/runtime/merlin/cli/target/deliverables/dist/avalon-merlin-cli-SNAPSHOT.zip
>
> Set some environment variables:
> $ export MAGIC_HOME="$HOME/.magic"
> $ export AVALON_HOME="$MAGIC_HOME"
> $ export MERLIN_HOME="$HOME/opt/merlin"
> Nb. Ensure Ant 1.6.1 is already installed and
> $ANT_HOME set accordingly.
> $ export
>
PATH=/usr/bin:/bin:/usr/bin/X11:$ANT_HOME/bin:$MERLIN_HOME/bin
>
> Create the file $HOME/.magic/user.properties
> containing:
> magic.cache = ${magic.home}/repository
Ooops I forgot to mention one of the steps I did. If
you are following my moves, then you also need to
rename the ${magic.home}/main directory to
${magic.home}/repository
ie.
$ cd $HOME/.magic/
$ mv main repository
>
> Now go build and test the tutorials for Avalon
> $ cd ~/opt/avalon/planet/tutorials
> $ cd hello
> $ ant clean
> $ ant
> $ merlin target/classes -execute
>
> Or for the simple-web-server tutorial
> $ cd simple-web
> $ ant clean
> $ ant
> $ merlin target/classes
> Then press Ctrl-C when you want to stop the simple
> web
> server.
>
>
> Hope that helps others. Please correct me if this
> is
> still the wrong approach. My system does seem to be
> working now though.
>
Regards.
Mark.
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]