No problem, got this working and the javadoc generated from the source.

 

________________________________

From: Schalk Neethling [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 12:01 PM
To: [email protected]
Subject: RE: Generating Javadoc

 

Greetings,

 

Would the appropriate usage of srcgendir be:

 

<xmlbean javasource="1.5"
destfile="${wealthEngineEar.earContent.dir}/Statement.jar"
srcgendir="${model.statement.xmlbeans.src}">

            <classpath>

                <path refid="build.classpath"/>

                <path refid="was.classpath"/>

            </classpath>

            <fileset
dir="${model.src.dir}/momentum/wealth/statement/xsd" includes="*.xsd" />

        </xmlbean>

 

The reason I am asking is because I just tried this and it did not
create any src files in the specified directory.

 

________________________________

From: Schalk Neethling [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 11:38 AM
To: [email protected]
Subject: RE: Generating Javadoc

 

Just saw the srcgendir on the documentation. I am trying this out now.

 

________________________________

From: Schalk Neethling [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 11:28 AM
To: [email protected]
Subject: RE: Generating Javadoc

 

Can you accomplish this same task using Ant?

 

________________________________

From: Jacob Danner [mailto:[EMAIL PROTECTED] 
Sent: 14 August 2007 10:24 AM
To: [email protected]
Subject: Re: Generating Javadoc

 

The scomp utility has a -src option to generate the Java code. You can
run javadoc over this src.
-Jacobd

On 8/14/07, Schalk Neethling < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Greetings everyone,

 

Is there a way that I can generate Java docs for my own generated
XMLBeans? I currently face the situation where a report designer using
BIRT is consuming a .jar that contains all of my XMLBeans. The problem
is, with BIRT they cannot automatically pick-up the getters on the
different XMLBeans so, I have to go and manually create this
documentation.

 

Now if I had 10 or even 20 beans that would be ok but when the Ant task
is run it is reporting that it compiles 118 DTO's so, this will be a
very time consuming exercise. I am hoping that there is a way to get
around this. Thanks!

 

--

Kind Regards,

Schalk Neethling

This email and all content are subject to the following disclaimer:

 

http://content.momentum.co.za/content/legal/disclaimer_email.htm 

 

 

 

Reply via email to