Patrik Nordwall wrote:
Do like this in your workflow.oaw
1. Define the property for the outlet (same property names as in sculptorworkflow.oaw).
2. Add inheritAll="true" to the cartridge
<workflow>
<property name="outlet.src.dir" value="src/generated2/java"/>
<cartridge file="sculptorworkflow.oaw" inheritAll="true">
<modelFile value="model.btdesign"/>
<appProject value="fornax-cartridges-sculptor-examples-library"/>
</cartridge>
<component adviceTarget="generator" id="reflectionAdvice"
class="oaw.xpand2.GeneratorAdvice">
<advices value="templates::SpecialCases" />
<fileEncoding value="iso-8859-1" />
</component>
</workflow>
It is better to do this in the workflow.oaw than in maven pom, because you might want to run the workflow from within eclipse, without maven.
/Patrik