[ http://jira.andromda.org/browse/CORE-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241#action_16241 ]
Bob Fields commented on CORE-149: --------------------------------- We need to update the timetracker project generated configuration with all of the changes that have been made over the last year or so. This particular problem is fixed in andromdapp, the modelSearchLocations actually looks like: <location patterns="**/${andromda.version}/*.xml.zip">${settings.localRepository}/org/andromda/profiles/uml14</location> this should be a minor, not a major bug, since there is an easy workaround. This prevents confusion with other andromda versions and other repositories. There are other things that need to be updated too, like dependency and plugin versions, and the updated references to web.generated.[web | java.]dir. > Timetracker building error > -------------------------- > > Key: CORE-149 > URL: http://jira.andromda.org/browse/CORE-149 > Project: AndroMDA Core > Issue Type: Bug > Affects Versions: 3.4-SNAPSHOT > Environment: Ubuntu 10.04 Lucid Lynx > Reporter: Roque Pinel > Assignee: Chad Brandon > > The following error occurs when building. > -------------------------------------- -------------------------------------- > -------------------------------------- -------------------------------------- > INFO [AndroMDA] + registering component 'translation-library' > INFO [AndroMDA] - core initialization complete: 1.094[s] - > INFO [AndroMDA] loading model --> > 'file:/home/roque/workspace/andromda-src-3.4_1/andromda-documentation/samples/timetracker/mda/src/main/uml/timetracker.xmi' > INFO [AndroMDA] referenced model --> > 'jar:file:/home/roque/.m2/repository/org/andromda/profiles/uml2/andromda-profile/3.4-SNAPSHOT/andromda-profile-3.4-SNAPSHOT.xml.zip!/andromda-profile-3.4-SNAPSHOT.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) > -------------------------------------- -------------------------------------- > -------------------------------------- -------------------------------------- > The uml14 model should be referenced but instead of the uml2 was found. I > don't know how to explain, but I have already noticed that this version of > Ubuntu has a different index for files. > I think that the best ideia would be to replace the following line: > <location > patterns="**/*.xml.zip">${settings.localRepository}/org/andromda/profiles</location> > By > <location > patterns="**/*.xml.zip">${settings.localRepository}/org/andromda/profiles/uml14</location> -- 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 ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev