Hi Chad,
After playing a while... I encounter following errors:
1. Error with non-absolut path name? I cannot get something like file:${mapping.java.dir} to work...
[andromda] 18:12:12,281 ERROR [XmlObjectFactory] Error performing XmlObjectFactoryException.getObject, XML resource could not be loaded --> 'file:../../..//andromda/mappings/JavaMappings.xml'
[andromda] java.io.FileNotFoundException: ..\..\..\andromda\mappings\JavaMappings.xml (Das System kann den angegebenen Pfad nicht finden)
[andromda] at java.io.FileInputStream.open(Native Method)
[andromda] at java.io.FileInputStream.<init>(FileInputStream.java:106)
I can only put an absolut path name on it... This happens general for the "namespace property".
<namespace name="default" ignore="false"> <property name="languageMappingsUri" value="file:${mapping.java.dir}/JavaMappings.xml" /> </namespace>
IMO, it is important to have the Ant task work for a non-absolut path name, something like ../../../ ;-) Or am I missing something?
2. I cannot find the mapping files in the distribution directory. Maybe it is good to just copy all the mapping stuffs to the distribution? Without those XML files I cannot put the mapping files in my Ant task, correct?
3. I could compile the model! But the result is a bit wyrd... Instead of only getting 3 files (generated files) like: - metafacade-impls.properties - HibernateFinderMethodFacade.java - HibernateFinderMethodFacadeLogic.java + one Impl file,
I'm getting those files also from the MetafacadeModel... like .../metafacades/uml/ActionFacade.java ... etc. a lot of them...
Any ideas?
Thanks a lot! -- --------------------------------------------------- Blasius Lofi Dewanto --------------------------------------------------- OpenUSS - Open University Support System http://openuss.sourceforge.net --------------------------------------------------- E-Mail : [EMAIL PROTECTED] ICQ : 39343280 ---------------------------------------------------
Chad Brandon schrieb:
> Ok at least your model is being read this time :). Your other error I think
> is due to the fact that you don't have a languageMappingsUri property
> specified. The warning message is misleading since you do have a "meta"
> namespace defined (I'll fix that). Anyway add a "default" namespace in
> addition to the "meta" one you have below, like the example in this ant
> task: http://www.andromda.org/docs/anttask.html.
>
> Chad
------------------------------------------------------- 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