jonathan doklovic wrote:
Is there an example of how to load descriptors from the classpath?

I need to load an AE that's descriptor is packaged in my jar file.
It imports other AE's and a Type system.

I see that XMLInputSource can take an input stream, but I'm not sure
what to pass as the base for relative imports.
All xml files are in the same folder in the jar.

Thanks,

- Jonathan

So I'm not sure what the really correct answer to your
question is.  However, I think that if you do all your
imports by name (instead of, by location), it doesn't
matter what base dir is, just pass in ".".

--Thilo

Reply via email to