Stephen McConnell wrote:


J�rg:

I'm right in the middle of cleaning this up. Unfortunately the documentation concerning Merlin bootstrap is out of date. I've just committed some new content addressing this (seperation of bootstrap from Merlin core - see avalon-sandbox/merlin-bootstrap). I've also updated Merlin core (but not committed yet) to remove content dealing with URL management that was causing conflicts with embedded deployment in Tomcat.

I should have the updates committed in a few hours. This will include elimination of dependence on framework, logkit and excalibur CVS builds.

Interim updates are in place.
To build Merlin and run the demo you should be able to do the following:

// checkout avalon-sandbox

$ cd <your-merlin-dir>
$ ant deploy
$ ant jar-playground
$ java -jar ..\lib\merlin-bootstrap-1.0.jar -profile config\demo.xml

This should run the demo and validate that everything is working properly.
In the meantime .... I've already starting on changes to the CLI bootstrap that should impove things considerably but will probably invole changes to the structure related to kernel defintions and block config customization. I don't think this will be in place tonight - probably something looking committable by tommorow.

Cheers, Steve.

Cheers, Steve.


Schaible, J�rg wrote:

Hello Avalon users,

looking at the archives I got the impression that for our project I should give Merlin a try, since we will have a lot of dynamic services.

Unfortunately I got nothing running and I wonder, whart I am doing wrong. Steps already taken:

Built avalon, avalon-excalibur, avalon-sandbox and avalon-logkit from CVS (although instrumental-client in excalibur fails, but this seems not essential, I removed the target from the build.xml). I also synced avalon-site (but the build fails here, too).

Now I have a lot of new jars, but none of the documented methods to start Merlin works:

- http://jakarta.apache.org/avalon/excalibur/merlin/index.html sais that I have to run "kernel" after ant; unfortunately there is no "kernel"
- http://jakarta.apache.org/avalon/excalibur/merlin/api/org/apache/excalibur/merlin/Main.html has a line to run the samples, but the line corresponds to directories that are not available. Anyway I tried to run:

$ java -Djava.extension.dirs=./lib -jar build/lib/avalon-merlin-2.1.jar src/etc/kernel.xml Failed to load Main-Class manifest attribute from
build/lib/avalon-merlin-2.1.jar

$ java -Djava.extension.dirs=./lib -jar build/lib/merlin-bootstrap-2.1.jar src/etc/kernel.xml
Deployment profile does not exist
file: C:\Work\CVS\avalon-sandbox\merlin\profile.xml

$ java -Djava.extension.dirs=./lib -jar build/lib/avalon-merlin-demo-1.0.jar src/etc/kernel.xml Failed to load Main-Class manifest attribute from
build/lib/avalon-merlin-demo-1.0.jar

$ java -Djava.extension.dirs=./lib -jar build/lib/avalon-merlin-2.1.jar build/conf/kernel.xml Failed to load Main-Class manifest attribute from
build/lib/avalon-merlin-2.1.jar

$ java -Djava.extension.dirs=./lib -jar build/lib/merlin-bootstrap-2.1.jar build/conf/kernel.xml
Deployment profile does not exist
file: C:\Work\CVS\avalon-sandbox\merlin\profile.xml

$ java -Djava.extension.dirs=./lib -jar build/lib/avalon-merlin-demo-1.0.jar build/conf/kernel.xml Failed to load Main-Class manifest attribute from
build/lib/avalon-merlin-demo-1.0.jar

I also wonder about the content in merlin-bootstrap-2.1.jar, because any Merlin code is included as Java source, but not as class file.

Any hints?

Regards,
J�rg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to