Hi!

I'm trying to realise a little example with poseidon and AndroMDA 3.0M3 with
maven. I generate a new andromedapp and then copy the XMI-file from the
poseidon-export to the mda/src/uml folder. The cpied file has the same name
as the one that was generated automatically in there. 
now I want to generate and get a BUILD FAILED massage:

Input model -->
'file:C:/devmntmaven/podeidonv/mda/src/uml/poseidonvModel.xmi'
2004-09-07 13:22:25,078 WARN  [org.andromda.core.common.Namespaces] WARNING!
Namespaces 'default' and 'ejb' have no property 'wrapperMappingsUri' defined
--> please define this property in AT LEAST ONE of these two namespaces.  If
you want to 'ignore' this message, add the property to the namespace with
ignore set to 'true'
2004-09-07 13:22:25,109 WARN  [org.andromda.core.common.Namespaces] WARNING!
Namespaces 'default' and 'ejb' have no property 'languageMappingsUri'
defined --> please define this property in AT LEAST ONE of these two
namespaces.  If you want to 'ignore' this message, add the property to the
namespace with ignore set to 'true'
2004-09-07 13:22:25,140 WARN  [org.andromda.core.common.Namespaces] WARNING!
Namespaces 'default' and 'ejb' have no property 'wrapperMappingsUri' defined
--> please define this property in AT LEAST ONE of these two namespaces.  If
you want to 'ignore' this message, add the property to the namespace with
ignore set to 'true'
2004-09-07 13:22:25,171 WARN  [org.andromda.core.common.Namespaces] WARNING!
Namespaces 'default' and 'ejb' have no property 'languageMappingsUri'
defined --> please define this property in AT LEAST ONE of these two
namespaces.  If you want to 'ignore' this message, add the property to the
namespace with ignore set to 'true'
...
and so on for 10 more pages...
...
ERROR [org.andromda.core.cartridge.Cartridge] Error performing
Cartridge.processWithTemplate with template 'templates/SessionBean.vsl',
template context
'{service=org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl[CostumerService],
[EMAIL PROTECTED],
[EMAIL PROTECTED]' and cartridge 'ejb'
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getJndiName' in  class
org.andromda.cartridges.ejb.metafacades.EJBSessionFacadeLogicImpl threw
exception class org.andromda.core.metafacade.MetafacadeFactoryException :
MetafacadeFactory.getRegisteredProperty - no property 'languageMappingsUri'
registered under namespace -->
'ejb:org.andromda.cartridges.ejb.metafacades.EJBSessionFacade'
        at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:193)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
...
and so on...
...
caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getJndiName' in  class
org.andromda.cartridges.ejb.metafacades.EJBSessionFacadeLogicImpl threw
exception class org.andromda.core.metafacade.MetafacadeFactoryException :
MetafacadeFactory.getRegisteredProperty - no property 'languageMappingsUri'
registered under namespace -->
'ejb:org.andromda.cartridges.ejb.metafacades.EJBSessionFacade'
...
...
ERROR [org.andromda.core.ModelProcessor] Error performing
ModelProcessor.process with model(s) -->
'file:C:/devmntmaven/podeidonv/mda/src/uml/poseidonvModel.xmi'
org.andromda.core.cartridge.CartridgeException: Error performing
Cartridge.processTemplateWithModelElements
...
...
Caused by: org.andromda.core.cartridge.CartridgeException: Error performing
Cartridge.processWithTemplate with template 'templates/SessionBean.vsl',
template context
'{service=org.andromda.metafacades.uml14.ModelElementFacadeLogicImpl[CostumerService],
[EMAIL PROTECTED],
[EMAIL PROTECTED]' and cartridge 'ejb'
...
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getJndiName' in  class
org.andromda.cartridges.ejb.metafacades.EJBSessionFacadeLogicImpl threw
exception class org.andromda.core.metafacade.MetafacadeFactoryException :
MetafacadeFactory.getRegisteredProperty - no property 'languageMappingsUri'
registered under namespace -->
'ejb:org.andromda.cartridges.ejb.metafacades.EJBSessionFacade'
...
BUILD FAILED
File...... C:\Documents and
Settings\Administrator.ATPC51CC\.maven\cache\maven-m
ultiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
Settin
gs\Administrator.ATPC51CC\.maven\cache\maven-andromda-plugin-3.0M3-SNAPSHOT\plugin.jelly:43:75:
<ant:andromda> Error performing ModelProcessor.process with model(s)
--file:C:/devmntmaven/podeidonv/mda/src/uml/poseidonvModel.xmi'


I get the same massage with hibernate and ejb cartridge. What can be the
problem? the same build failed massage was displayed with the rose model
that I tried before...

Thanks!
Stefan.

-- 
Superg�nstige DSL-Tarife + WLAN-Router f�r 0,- EUR*
Jetzt zu GMX wechseln und sparen http://www.gmx.net/de/go/dsl



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to