[
http://jira.andromda.org/browse/CORE-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bob Fields closed CORE-149.
---------------------------
Resolution: Fixed
Fix Version/s: 3.4-SNAPSHOT
Updated the andromdapp templates and the timetracker sample project to find and
load profile modules correctly.
> 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: Bob Fields
> Priority: Minor
> Fix For: 3.4-SNAPSHOT
>
>
> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl