Ant: 1.6.2
Java: 1.4.2_06
OS: Windows XP
I keep getting a java.lang.OutOfMemoryError when I run
the <ejbdoclet> target from ant. What generates the
"[ejbdoclet] null" output?
Below I have listed my ant ejbdoclet target along with
the error generated from ant when trying to run the
target. I have searched the archives and cannot find
any solution for this problem. Will someone please
give me a clue as to what the problem is and how to
fix it?
Thanks.
******************************************
Class java.util.TreeMap loaded from parent loader
(parentFirst)
[ejbdoclet] null
[ejbdoclet] ParameterImpl instances: 20
[ejbdoclet] MethodImpl instances: 1086
[ejbdoclet] ConstructorImpl instances: 67
Finding class xjavadoc.SimpleNode
Loaded from
C:\programming\j2ee\xdoclet\xdoclet-1.2.2\lib\xjavadoc-1.1.jar
xjava
doc/SimpleNode.class
Finding class xjavadoc.Node
Loaded from
C:\programming\j2ee\xdoclet\xdoclet-1.2.2\lib\xjavadoc-1.1.jar
xjava
doc/Node.class
Class xjavadoc.Node loaded from ant loader
(parentFirst)
Class xjavadoc.SimpleNode loaded from ant loader
(parentFirst)
[ejbdoclet] SimpleNode instances: 0
[ejbdoclet] SourceClass instances: 57
[ejbdoclet] XDoc instances: 6
[ejbdoclet] DefaultXTag instances: 11
[ejbdoclet] BinaryClass instances: 69
[ejbdoclet] UnknownClass instances: 32
Class java.lang.Runtime loaded from parent loader
(parentFirst)
[ejbdoclet] Total memory: 63
[ejbdoclet] Free memory: 7
[ejbdoclet] Try to increase heap size. Can be done by
defining ANT_OPTS=-Xmx640m
[ejbdoclet] See the JDK tooldocs.
******************************************
<target depends="prepare" name="ejbdoclet">
<echo>+---------------------------------------------------+</echo>
<echo>|
|</echo>
<echo>| R U N N I N G E J B D O C L E T
|</echo>
<echo>|
|</echo>
<echo>+---------------------------------------------------+</echo>
<ejbdoclet addedTags="@xdoclet-generated at
${TODAY},@copyright Rynell Corporation,@author Your
Name,@version ${version}"
destDir="${target.gen-src.dir}" ejbSpec="2.1"
excludedTags="@version,@author,@todo"
force="${project.xdoclet.force}"
mergeDir="${src.merge.dir}" verbose="true">
<fileset dir="${src.java.dir}">
<include name="**/*EJB.java"/>
<include name="**/proj/util/*.java"/>
<exclude name="**/.nb*"/>
<exclude name="**/*.form*"/>
</fileset>
<packageSubstitution
packages="ejb,cmp,stateless"
substituteWith="interfaces"/>
<remoteinterface/>
<localinterface/>
<homeinterface/>
<localhomeinterface/>
<dataobject/>
<valueobject/>
<entitypk/>
<entitycmp/>
<entitybmp/>
<session/>
<dao>
<packageSubstitution packages="ejb"
substituteWith="dao"/>
</dao>
<utilobject cacheHomes="true"
includeGUID="true"/>
<deploymentdescriptor
destDir="${target.meta-inf.dir}"
mergeDir="${src.merge.dir}" validateXML="true">
<!-- <configParam name="clientjar"
value="blah.jar"/> -->
</deploymentdescriptor>
<jboss
jbossTemplateFile="${jboss.template.file}"
destDir="${target.meta-inf.dir}"
mergeDir="${src.merge.dir}"
preferredRelationMapping="relation-table"
securityDomain="${jboss.security.domain}"
unauthenticatedPrincipal="${jboss.unauth.principal}"
datasource="${jboss.datasource}"
datasourceMapping="${jboss.datasource.mapping}"
validateXML="true" version="${jboss.version}"
xmlencoding="UTF-8"/>
</ejbdoclet>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user