[ http://jira.andromda.org/browse/BPM-303?page=all ]
Leandro Hermida updated BPM-303: -------------------------------- Attachment: andromda.xml.patch > Bpm4Struts cartridge testing always fails during build because of ambiguous > profile search location configuration > ----------------------------------------------------------------------------------------------------------------- > > Key: BPM-303 > URL: http://jira.andromda.org/browse/BPM-303 > Project: Bpm4Struts Cartridge > Type: Bug > Versions: 3.2, 3.3 > Reporter: Leandro Hermida > Assignee: Wouter Zoons > Attachments: andromda.xml.patch > > When building the Bpm4Struts cartridge, during the testing phase, I always > get the following error: > INFO [AndroMDA] referenced model --> > 'jar:file:/home/devel/andromda/cartridges/andromda-bpm4struts/../../profiles/uml-2.0/common/src/main/uml/andromda-profile.xml.zip!/andromda-profile.xml' > org.netbeans.lib.jmi.util.DebugException: XMI version attribute is missing. > at org.netbeans.lib.jmi.xmi.XmiContext.setVersion(XmiContext.java:210) > at > org.netbeans.lib.jmi.xmi.XmiElement$Document.<init>(XmiElement.java:94) > at > org.netbeans.lib.jmi.xmi.XmiSAXReader.startElement(XmiSAXReader.java:169) > at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) > at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown > Source) > ... > You can see that this is due to the fact the the test suite is trying to get > the uml-2.0 version of the andromda profiles which is incorrect, it should be > uml-1.4. The conf/test/andromda.xml file needs to be corrected to make sure > it chooses the uml-1.4 directory profiles, not anything else. > I have attached the patch. > -Leandro -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace