Reuse Actions across frameworks

Post here questions and problems related to oXygen frameworks/document types.
kirkilj
Posts: 110
Joined: Fri May 14, 2010 12:14 am

Reuse Actions across frameworks

Post by kirkilj »

We've extended the DITA, DITAMap, Maven, and Ant frameworks and have a set of custom toolbars/actions that we want to reuse across all 4. The only workable method we've been able to determine thus far is duplicating all of them in every framework, which is not sustainable. Is there a way we can write them once and reuse them in different frameworks?

We tried creating a framework that had association rules for all of them, but that was not workable, since our frameworks are extensions of others and we'd lose the extension benefits.

The only hack I can think of quickly is to edit the XML representation of the frameworks and copy the relevant sections to each of the others by hand, or by using a script to do the same, but that's problematic too. Is there an inclusion element we can use in the frameworks' XML?
alex_jitianu
Posts: 1009
Joined: Wed Nov 16, 2005 11:11 am

Re: Reuse Actions across frameworks

Post by alex_jitianu »

Hello John,

What Oxygen version are you using? In the last release, 22.1, we added the possibility to define actions in their own file. After you put the actions in separate files, you can copy them in every framework directory.

Best regards,
Alex
kirkilj
Posts: 110
Joined: Fri May 14, 2010 12:14 am

Re: Reuse Actions across frameworks

Post by kirkilj »

Hi Alex,

Yes, we're using Oxygen 22.1, and your answer was music to my ears.

Thanks so much,

John
Post Reply