compile error with Enumeration (TimeTracker tutorial)
-----------------------------------------------------
Key: JAVA-36
URL: http://jira.andromda.org/browse/JAVA-36
Project: Java Cartridge
Type: Bug
Environment: WinXPJDK 1.5 AndroMDA 3.2
Reporter: Damien Huriet
Assigned to: Matthias Bohlen
Hi,
I am trying to finish the TimeTracker tutorial with AdnroMDA 3.2.
I can't compile the java sources generated for the class "TimecardStatus".
- Without enabling the "enableTemplating" property (which is false by default),
the code generated doesn't compile :
[code]
D:\workspace\timetracker\common\target\src\org\andromda\timetracker\domain\TimecardStatus.java:[164,16]
cannot find symbol
symbol : method add(java.lang.String)
location: interface java.util.List
D:\workspace\timetracker\common\target\src\org\andromda\timetracker\domain\TimecardStatus.java:[175,40]
<T>unmodifiableList(java.util.List<? extends T>) in java.util.Collections
cannot be applied to (java.util.List)
[/code]
- When enabling the "enableTemplating" property in the file "andromda.xml" in
"/mda/src/main/config", I also get a compilation error :
[code]
D:\workspace\timetracker\common\target\src\org\andromda\timetracker\domain\TimecardStatus.java:[101,32]
type java.util.List does not take parameters
[/code]
I get these errors as soon as maven has generated the sources and tries to
compile them. I obviously also get these errors then in eclipse...
Can someone help me : I'd like to finish evaluating this MDA solution to start
a big project.
Thanks a lot.
Damien
(I've read another post concerning the "enableTemplating" property, but I think
my question is different)
--
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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/