Thank you very much for your support, but I'm still stuck.
In helloworld-web\src\main\resources\workflow.oaw the following advice
exists to run the XPT:
<code>
<component adviceTarget="generator" id="reflectionAdvice"
class="oaw.xpand2.GeneratorAdvice">
<advices value="templates::WebSpecialCases" />
<fileEncoding value="iso-8859-1" />
</component>
</code>
I modified the
helloworld-web\src\main\resources\templates\WebSpecialCases.xpt to this:
«IMPORT sculptormetamodel»
«EXTENSION extensions::helper»
«EXTENSION extensions::properties»
«EXTENSION extensions::guihelper»I guess
«AROUND *::dummyPlaceholder FOR Object»
«targetDef.proceed()»
«ENDAROUND»
«EXPAND footer »
«DEFINE footer FOR Application-»
«FILE "WEB-INF/jsp/generated/footer-new.inc" TO_GEN_WEBROOT-»
</div>
<div class="cleaner"> </div>
<!-- END Main area -->
<div id="footer">
foo footer
</div>
</body>
</html>
«ENDFILE »
«ENDDEFINE »
The file footer.inc is regenerated after running mvn generate-sources on
helloworld-web, but it does not include my changes, if I'm using the binary
build 1.2.0.
When I rebuild helloworld-web with sculptor.version 1.3.0-SNAPSHOT, maven
fails at the first run with the message that some dependant jars could not
be found. Afterwards, mavn runs without error messages.
I delete the footer.inc and run mvn generate-sources
-Dfornax.generator.force.execution=true on helloworld-web, but the
footer.inc is no longer generated at all. Is there somthing wrong with my
WebSpecialCases.xpt?
Any help is highly appreciated.
Kind Regards, Rene
--
View this message in context:
http://www.nabble.com/How-to-modify-header.inc-and-footer.inc--tp14798486s17564p14804178.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer