John F. O'Neill wrote:

I’m having a problem with bpm4Struts and referenced models. I have seen a few posts that look close and I have tried the recommendations with no luck. Here is the output and the supporting properties files.

INFO [AndroMDA]

INFO [AndroMDA] A n d r o M D A - 3.0M3

INFO [AndroMDA]

INFO [AndroMDA] Input model --> 'file:c:/aws/rr/mda/src/uml/rr.xml'

INFO [AndroMDA] -- discovering plugins --

INFO [AndroMDA] found translation-library --> 'validation'

INFO [AndroMDA] found translation-library --> 'query'

INFO [AndroMDA] found cartridge --> 'hibernate'

INFO [AndroMDA] found cartridge --> 'webservice'

INFO [AndroMDA] found cartridge --> 'java'

INFO [AndroMDA] found cartridge --> 'bpm4struts'

INFO [AndroMDA] -- discovering metafacades --

INFO [AndroMDA] found shared metafacades --> 'uml-1.4' - adding to 'default' namespace

INFO [AndroMDA] found metafacades --> 'hibernate'

INFO [AndroMDA] found metafacades --> 'webservice'

INFO [AndroMDA] found metafacades --> 'bpm4struts'

INFO [AndroMDA] Referenced model --> 'file:c:/aws/rr/mda/src/uml/andromda-profile-3.0M3.xml.z

ip'

org.netbeans.lib.jmi.util.DebugException: Content is not allowed in prolog.

at org.netbeans.lib.jmi.xmi.XmiContext.readExternalDocument(XmiContext.java:927)

at org.netbeans.lib.jmi.xmi.XmiContext.resolve(XmiContext.java:751)

at org.netbeans.lib.jmi.xmi.XmiContext.resolveExternalReferences(XmiContext.java:835)

project.properties in the mda directory showing the moduleSearchPath

maven.multiproject.type=pom

maven.andromda.model.uri=file:${maven.src.dir}/uml/rr.xml

maven.andromda.modelValidation=true

maven.andromda.repository.moduleSearchPath.location.0=${maven.src.dir}/uml

project.xml in the mda directory showing the dependency

<dependency>

<groupId>andromda</groupId>

<artifactId>andromda-profile</artifactId>

<version>${andromda}</version>

<type>xml.zip</type>

</dependency>

Is there anything we are missing here or any thoughts as to how to resolve it?

Don't put refrenced modules in the same directory as your model....try removing it and it should find it ok since you have it as a dependency.

Thanks,

John




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to