creation of a scar according to meta reported by the author
I resume a project on Opal that consists of making a gen associated with a new item PolyDoc and creates a zip with all kinds of things in from an Opal content. In this zip, among other things, we integrate the scar of the content.
It's already coded and it works.
It is done in a build.xml file which is itself invoked in the uiframe:
postTask.ant = build.xml (in freeinitproperties)
The concern is that we want to give the possibility to the author to decide if he wants to put or not his sources, so to integrate or not the scar in the product zip. He decides it via a meta in the PolyDoc item.
And that's where I block because since the scar is created and integrated from the build.xml, its creation escapes any influence of the content entered by the author.
So I do not know how to do it.
- create the scar from a transf? But how ?
- Or create the scar from the build.xml but get to eliminate it from a transfer? But how ?
Any help will be apprecited.
I didn't find the right solution from the Internet.