Hum I don't exactly know what I was doing wrong but I cleaned the whole
andromda-all project and rebuilt it and it passed without any problems.
I will use the -o option though..just in case.
Thanks anyhow for your help Chad. Greatly appreciated,
François
Chad Brandon wrote:
You were clear I just didn't read closely enough the
first time, sorry about that. Yes that is possible,
are you building offline? When you type maven are you
adding a dash '-o'? If you don't add the '-o' it will
try to download the latest snapshot from the team
server and if you're using maven-1.0-rc4 then it will
do this even if you're file is newer (a known bug in
rc4).
--- François_Eric <[EMAIL PROTECTED]> wrote:
Yes. Maybe I wasn't clear but I added the methods
and then repackaged
the andromda-metafacades-uml-3.0M2-SNAPSHOT.jar.
Unfortunately I think
the compiler is not using the newly regenerated jar
but the one in the
maven repository. Could this be it?
Chad Brandon wrote:
Are you building
andromda-all/metafacades/uml/common
as well? That one needs to be built first since
that
one contains the interfaces that are generated. If
you don't do that, then you'll get errors like you
describe below.
--- François_Eric <[EMAIL PROTECTED]> wrote:
Hi,
I would like to add a few methods to the
ClassifierFacade of the UML14.
To do so here are the steps I have followed:
- added the methods to the
metafacades/common/src/uml/UMLMetafacadeModel.xml.zip
- repackaged the jar
- implemented the methods in
metafacades\uml\uml14\src\java\org\andromda\metafacades\uml14\ClassifierFacadeLogicImpl
Then when I try to repackage the jar of uml14 I
get
many errors of this
type:
C:\apps\andromda-all\metafacades\uml\uml14\target\src\org\andromda\metafacades\uml14\ActorFacadeLogic.java:83:
cannot resolve symbol
symbol : method getNavigableAggregations ()
location: interface
org.andromda.metafacades.uml.ClassifierFacade
return super_.getNavigableAggregations();
getNavigableAggregations is the name of one of my
new methods and I can
see that ActorFacadeLogic derives from
ClassifierFacade. It looks like
the compiler is using the
UMLMetafacadeModel.xml.zip
that is in the
team.andromda.org/maven repository rather than the
one I just repackaged.
Is this the problem? If so, would you know how I
can tell maven to use
my new jar rather than the repositoried one.
Thanks,
Francois
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings
&
Training.
Attend Black Hat Briefings & Training, Las Vegas
July 24-29 -
digital self defense, top technical experts, no
vendor pitches,
unmatched networking opportunities. Visit
www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user