mcconnell 2003/08/17 09:31:25
Modified: merlin/merlin-platform/tutorials/hello maven.xml project.xml
Added: merlin/merlin-platform/tutorials/hello README.txt
Log:
Update build and include a readme.
Revision Changes Path
1.3 +1 -1 avalon-sandbox/merlin/merlin-platform/tutorials/hello/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/merlin-platform/tutorials/hello/maven.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- maven.xml 17 Aug 2003 08:39:55 -0000 1.2
+++ maven.xml 17 Aug 2003 16:31:25 -0000 1.3
@@ -1,4 +1,4 @@
-<project default="java:jar" xmlns:maven="jelly:maven" xmlns:j="jelly:core"
xmlns:util="jelly:util">
+<project default="jar:jar" xmlns:maven="jelly:maven" xmlns:j="jelly:core"
xmlns:util="jelly:util">
<preGoal name="java:compile">
<attainGoal name="avalon:meta"/>
1.2 +4 -3
avalon-sandbox/merlin/merlin-platform/tutorials/hello/project.xml
Index: project.xml
===================================================================
RCS file:
/home/cvs/avalon-sandbox/merlin/merlin-platform/tutorials/hello/project.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- project.xml 24 Jun 2003 13:23:54 -0000 1.1
+++ project.xml 17 Aug 2003 16:31:25 -0000 1.2
@@ -7,9 +7,10 @@
<id>merlin-hello-tutorial</id>
<name>Merlin Hello Tutorials</name>
<package>tutorial</package>
+ <currentVersion>1.0</currentVersion>
<inceptionYear>2003</inceptionYear>
- <shortDescription>Merlin Hello Tutorial </shortDescription>
+ <shortDescription>Merlin Hello Tutorial</shortDescription>
<description>
'Hello' merlin tutorial
@@ -20,13 +21,13 @@
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework-api</artifactId>
- <version>4.1.5-dev</version>
+ <version>SNAPSHOT</version>
</dependency>
<dependency>
<groupId>avalon-framework</groupId>
<artifactId>avalon-framework-impl</artifactId>
- <version>4.1.5-dev</version>
+ <version>SNAPSHOT</version>
</dependency>
</dependencies>
1.1 avalon-sandbox/merlin/merlin-platform/tutorials/hello/README.txt
Index: README.txt
===================================================================
Build the project:
$ maven
The above command triggers the default goal jar:jar which will
create a jar file under the target directory named
merlin-hello-tutorial-1.0.jar. The jar file contains a single
component and a bundled block.xml deployment descriptor. To
see Merlin in action, execute Merlin and give it the jar file
as the deployment argument. Merlin will grab the block.xml
packaged in the jar file and use this to execute the demo.
$ merlin target\merlin-hello-tutorial-1.0.jar -execute
The -execute parameter in the above command line simply tells
Merlin to deploy and decomission the component. If we didn't
include the -execute option, then Merlin would stay running
until we forced termination using ^C.
To get an idea of what is happening behing the scenes you can
use the debug flag:
$ merlin target\merlin-hello-tutorial-1.0.jar -execute -debug
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]