I'm writing some actions for Cocoon
(for your information: action which encode some MPEG-4 files)

I'm searching from more than two hours for a mean to know the absolute path to the current sitemap in my action code.
If I use
...
Context context = ObjectModelHelper.getContext(objectModel);
...
path = context.getRealPath("/samples/CocoonMp4");


my action works, but the code is only usable in my current installation.

Can I have some help please?

Thank's in advance

Jean-Claude Moissinac



Reply via email to