Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] How to correctly build rules?

Am 16.10.2012 13:14, schrieb Christian Krause:
Hi Jens,

you can try this to fix the schema location problem:

     Map<Object,Object> options = new HashMap<Object,Object>();
     options.put(XMIResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
     try {
         resource.save(options);
     } catch (IOException e) {
         // ...
     }

This trick is also used in saveEObject().

Works! Thanks!

Jens


Back to the top