|
In the samples xdoclet uses ReplaceCopy to make the
appxml file like following xml
<!--
================================================= -->
<!-- Example usage of the AntPropertyTask Creates an --> <!-- application.xml file from a template and replaces --> <!-- all occurrences of --> <!-- <XDtAnt:property name="some.ant.property"/> --> <!-- with the specified ant property. --> <!-- ================================================= --> <target name="appxml" depends="init"> <property name="app.display.name" value="Samples"/> <property name="app.description" value="Sample application for XDoclet"/> <property name="app.ejbjar.name" value="samples-ejb.jar"/> <property name="app.war.name" value="samples-web.war"/> <property name="app.contextroot" value="/samples"/>
<taskdef
name="replacecopy" classname="xdoclet.ant.ReplaceCopy" classpath="${xdoclet.jar.path};${log4j.jar.path};${ant.jar.path}" /> <replacecopy file="config/application/application.xml" todir="${build.dir}/j2ee/META-INF" /> </target> or using ear and war tasks of
ANT????
|
- RE: [Xdoclet-user] Better appoache to create the app... Emerson Cargnin - MSA
- RE: [Xdoclet-user] Better appoache to create th... Aslak Helles�y
- Re: [Xdoclet-user] Better appoache to creat... Emerson Cargnin - MSA
- RE: [Xdoclet-user] Better appoache to c... Aslak Helles�y
- Re: [Xdoclet-user] Better appoache ... Emerson Cargnin - MSA
