On 3/21/07, vsp <[EMAIL PROTECTED]> wrote:

thx for fix :)
I have some other problems:
at tutorial:
[INFO] Parameter: artifactId, Value: hello-world-se-su
...
[INFO] ********************* End of debug info from resources from generated
POM ?***********************
[INFO] Archetype created in dir:
/Users/bsnyder/src/hello-world-smx/hello-world-se-su

and bellow:

>Compiling the Project
>Since we just created this project, we should first compile it just to make
sure nothing is wrong with
>what the archetype generated. To compile, package and test the project,
execute the following
>command from the command-line:

>$ cd ./hello-world-se-su
>$ mvn install

but at me:

>[INFO] Parameter: artifactId, Value: hello-world-se
...
>[INFO] ********************* End of debug info from resources from
generated POM ?>***********************
>[INFO] Archetype created in dir:
/Users/test/src/hello-world-smx/hello-world-se

and I can't do
 cd ./hello-world-se-su

because I have a dir  hello-world-se only

what I doing wrong?

You're not doing anything wrong. There were typos left over in the
tutorial from an earlier version. I've fixed them now.

At "Wrapping the Service Unit in a Service Assembly" I can't create
service-assembly too:

mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-service-assembly
-DarchetypeVersion=3.1-incubating-SNAPSHOT
-DgroupId=org.apache.servicemix.samples.helloworld
-DartifactId=hello-world-sa
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:create] (aggregator-style)
[INFO]
-------------------------------------------------------------------------
---
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.pr
operties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.
ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in
any
resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org
.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'V
M_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates

[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may
NOT
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be
glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID:
org.apache.servicemix.samples.helloworld
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-service-assembly
Version: 3.1-incubating-SNAPSHOT

Reason: Unable to download the artifact from any repository

I've also updated the version of ServiceMix that is being used in the
tutorial from 3.1-incubating-SNAPSHOT to just 3.1-incubating.

The changes I've just made should be reflected in the web page soon.

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to