[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xmlblaster-devel] Re: [xmlblaster] Ant task for requirements (added)



Cool, please commit yours,

regards,

Marcel

Mine is pure ant ;-)

<target name="requirements" depends="javadocs">
<!-- create the all.xml file for overview -->
<fileset id="req.files"
dir="${req.dir}"
excludes="all.xml"
includes="*.xml"/>
<property name="url.start" value=" &lt;url>"/>
<property name="url.end " value=""/>
<pathconvert dirsep="/" pathsep="&lt;/url>" property="files" refid="req.files">
<map from="${basedir}/doc/requirements/" to="&lt;url>"/>
</pathconvert>
<echo file="${req.dir}/all.xml"><![CDATA[<files>${files}</url></files>]]></echo>
<!-- Create the overview -->
<style processor="trax" basedir="${req.dir}"
in="${req.dir}/all.xml"
out="${req.dir}/requirement.html"
extension=".html" style="${req.dir}/overview.xsl"
force="true">
</style>
<!-- generate each req -->
<style processor="trax" basedir="${req.dir}" destdir="${req.dir}"
extension=".html" style="${req.dir}/detail.xsl"
includes="*.xml"
excludes= "all.xml"
force="true">
</style> </target>


//Peter

On 16 Sep, Marcel Ruff wrote:


Peter Antman wrote:



Hi,
I have added an ant task to generate the requirements, do you want me to
check it in together with the other stuff - it requires me to add the
optionals.jar and xalan to the libs.

//Peter




Hi Peter,

this task exists since last week, please check out xmlBlaster.
You should subscribe the xmlblaster-devel list as well,
it was announced there:


<echo message=" javadocs --> generates the javadoc documentation"/>
<echo message=" javadocs-delete --> remove the above"/>
<echo message=" html --> generates the html file of each java/cpp/python ... file in same directory"/>
<echo message=" html-delete --> remove the above"/>
<echo message=" requirements--> generates html files for all xml requirements"/>
<echo message=" requirements-delete --> remove the above"/>
<echo message=" whitepaper --> generates html and pdf files for our xml whitepaper"/>
<echo message=" whitepaper-delete --> remove the above"/>
<echo message=" docs --> does javadoc, source-html, requirements and whitepaper"/>
<echo message=" docs-delete --> remove the above"/>


thanks and regards,

Marcel

PS: For your MDB EJB plugin you should update xmlBlaster from
cvs daily to minimize merges.