Switching off debug output? performance!?

Frank Ratzlow <[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <OF93456560.95C7F91D-ONC12571DE.00383B84-C12571DE.00383B8D@adesso.de>
Hi folks,

we are using XDoclet2 for generating EJB stuff (DDs and interfaces) and struts xml files. All in all it does work BUT it is awfully slow. If the plugins are started I see a lot of debug output that I'm not interested in. Is it possible to turn off all the XDoclet debug output and so to significantly accelerate the whole generation stuff ? Even if I use the -q ant option it takes quite long.
Since it takes so long for a few files it will be a show stopper later on in the project.

TIA

Frank

============== environment =================================

Our setup:
- ant 1.6.5
- xdoclet 1.0.3
- jdk 1.5.0.8

ant config file:

<!--create all the EJB related stuff (interfaces and DD) -->
<target name="ejbdoclet" depends="clean, buildClassPath"
description="Generates EJB XML and classes" >

<mkdir dir="${component.gen_java.dir}"/>
<mkdir dir="${component.gen_dd.dir}"/>

<taskdef name="xdoclet2" classname="org.xdoclet.ant.XDocletTask"
classpath="${prjclasspath}" />

<xdoclet2>

<fileset dir="${component.src.dir}">
<include name="**/*Bean.java"/>
</fileset>

<component classname="org.xdoclet.plugin.ejb.EjbConfig"
version="2.1" destdir="${component.gen_java.dir}"/>

<component classname="org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin"
destdir="${component.gen_dd.dir}" />

<component classname="org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin"
destdir="${component.gen_java.dir}" />

<component classname="org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin"
destdir="${component.gen_java.dir}" />
<component classname="org.xdoclet.plugin.ejb.interfaces.LocalInterfacePlugin"
destdir="${component.gen_java.dir}" />
<component classname="org.xdoclet.plugin.ejb.interfaces.LocalHomeInterfacePlugin"
destdir="${component.gen_java.dir}" />

</xdoclet2>
</target>

<!-- create struts related DD -->
<target name="webdoclet" depends="clean, init, buildClassPath"
description="Generates struts XML and classes" >

<property name="xdoclet.dependency" value="true"/>
<taskdef name="xdoclet2" classname="org.xdoclet.ant.XDocletTask"
classpath="${prjclasspath}" />

<xdoclet2>

<fileset dir="${component.src.dir}">
<include name="**/*.java"/>
</fileset>
<component classname="org.xdoclet.plugin.struts.StrutsConfigXMLPlugin"
destdir="${component.web.dir}/WEB-INF"
mergedir="${component.merge.dir}"
validate="false"/>
</xdoclet2>
</target>

============== environment =================================

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.