----- Original Message ----- From: "Lofi Dewanto" <[EMAIL PROTECTED]> To: "Chad Brandon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, June 20, 2004 2:46 PM Subject: Re: [Andromda-devel] Re: Building Cartridge in 3.x
> Hi Chad, > > > Hmm...strange..I was pretty sure they worked. Have you tried something like > > "file:${basedir}/../../" and just making sure you start with the base > > directory...they should work that way. > > Using this format file:${basedir}/${...} and ${basedir}/${...} > for the output dirs works! Thanks a lot Chad, you save my day ;-) > IMO, you should put this explicity in the docs of Ant, as I never used > ${basedir} so far in all of my Ant files... -- Great, you're welcome! Yeah good idea we'll need to add that. > > I hope you don't loose your patient by now :-) > A last question for today: -- No problem :) > > After successfully compile the andromda-hibernate cartridge in > my own environment with Ant, I would like to use Poseidon to make > the MetafacadeModel (for example for the hibernate cartridge). > > In this case I'm doing as follows: > 1. Create a Poseidon file which has two classes: > - EntityFinderMethodFacade and > - HibernateFinderMethodFacade (which extends the > EntityFinderMethodFacade ) -- So did you open up the HibernateMetafacadeModel in poseidon and the model those classes? If so did you import the UMLMetafacadeModel.xml.zip as well? (I've never tried this is Posedion is why I ask). Can you send me the files it generated and I'll take a look? > > 2. Compile the model, it seems to work. > > 3. Compile the code. I get following error: > compile.java: > [javac] Compiling 2 source files to > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\bu ild\classes > [javac] Compiling 2 source files to > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\bu ild\classes > [javac] > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\sr c\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethodFa cadeLogicImpl.java:17: > org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLog icImpl > is not abstract and does not override abstract method isStatic() in > org.andromda.metafacades.uml.OperationFacade > [javac] public class HibernateFinderMethodFacadeLogicImpl > [javac] ^ > [javac] > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\sr c\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethodFa cadeLogicImpl.java:36: > cannot resolve symbol > [javac] symbol : method findTaggedValue (java.lang.String) > [javac] location: class > org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLog icImpl > [javac] Object value = > this.findTaggedValue(HibernateProfile.TAGGEDVALUE_HIBERNATE_QUERY); > [javac] ^ > [javac] > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\sr c\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethodFa cadeLogicImpl.java:44: > cannot resolve symbol > [javac] symbol : method getOwner () > [javac] location: class > org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLog icImpl > [javac] + this.getOwner().getFullyQualifiedName() > [javac] ^ > [javac] > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\sr c\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethodFa cadeLogicImpl.java:46: > cannot resolve symbol > [javac] symbol : method getArguments () > [javac] location: class > org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLog icImpl > [javac] if (this.getArguments().size() > 0) { > [javac] ^ > [javac] > H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\ src\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethod FacadeLogicImpl.java:48: > cannot resolve symbol > [javac] symbol : method getArguments () > [javac] location: class > org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLog icImpl > [javac] Collection parameters = this.getArguments(); > [javac] ^ > [javac] 5 errors > > It seems that it is not enough to model only those 2 classes? > What do I need? Do you have any template for the cartidge development > for Poseidon? > > Thanks a lot for your help!!! > -- > --------------------------------------------------- > Blasius Lofi Dewanto > --------------------------------------------------- > OpenUSS - Open University Support System > http://openuss.sourceforge.net > --------------------------------------------------- > E-Mail : [EMAIL PROTECTED] > ICQ : 39343280 > --------------------------------------------------- > > ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user