[ http://team.andromda.org:8080/jira/browse/SPRING-19?page=comments#action_10652 ] Martin West commented on SPRING-19: -----------------------------------
I have applied a fix, not sure it this the correct fix. Dont understand how this would have worked previously. > Duplicate TRANSFORM_NONE definitions > ------------------------------------ > > Key: SPRING-19 > URL: http://team.andromda.org:8080/jira/browse/SPRING-19 > Project: Spring Cartridge > Type: Bug > Reporter: Martin West > Assignee: Chad Brandon > > > If I define Base <- Sub1 <- Sub1A then each level has a defintion of > TRANSFROM_NONE ... > java:compile: > [echo] Compiling to > /usr/local/work/andromda/springSample/core/target/classes > [javac] Compiling 28 source files to > /usr/local/work/andromda/springSample/core/target/classes > /usr/local/work/andromda/springSample/core/target/src/test/spring/Sub2DaoBase.java:25: > reference to TRANSFORM_NONE is ambiguous, both variable TRANSFORM_NONE in > test.spring.TestBaseDao and variable TRANSFORM_NONE in test.spring.Sub2Dao > match > return (test.spring.Sub2)this.create(TRANSFORM_NONE, sub2); > ^ > /usr/local/work/andromda/springSample/core/target/src/test/spring/Sub2DaoBase.java:95: > reference to TRANSFORM_NONE is ambiguous, both variable TRANSFORM_NONE in > test.spring.TestBaseDao and variable TRANSFORM_NONE in test.spring.Sub2Dao > match > return (test.spring.Sub2)this.load(TRANSFORM_NONE, id); > ^ > /usr/local/work/andromda/springSample/core/target/src/test/spring/Sub2DaoBase.java:162: > reference to TRANSFORM_NONE is ambiguous, both variable TRANSFORM_NONE in > test.spring.TestBaseDao and variable TRANSFORM_NONE in test.spring.Sub2Dao > match > case TRANSFORM_NONE : // fall-through > ^ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://team.andromda.org:8080/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
