You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Schalk Neethling <Sc...@momentum.co.za> on 2007/08/14 10:23:04 UTC
Generating Javadoc
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
RE: Generating Javadoc
Posted by Schalk Neethling <Sc...@momentum.co.za>.
Thanks Jacob.
________________________________
From: Jacob Danner [mailto:jacob.danner@gmail.com]
Sent: 14 August 2007 10:24 AM
To: user@xmlbeans.apache.org
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 < Schalk.Neethling@momentum.co.za
<ma...@momentum.co.za> > 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
RE: Generating Javadoc
Posted by Schalk Neethling <Sc...@momentum.co.za>.
No problem, got this working and the javadoc generated from the source.
________________________________
From: Schalk Neethling [mailto:Schalk.Neethling@momentum.co.za]
Sent: 14 August 2007 12:01 PM
To: user@xmlbeans.apache.org
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:Schalk.Neethling@momentum.co.za]
Sent: 14 August 2007 11:38 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Just saw the srcgendir on the documentation. I am trying this out now.
________________________________
From: Schalk Neethling [mailto:Schalk.Neethling@momentum.co.za]
Sent: 14 August 2007 11:28 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Can you accomplish this same task using Ant?
________________________________
From: Jacob Danner [mailto:jacob.danner@gmail.com]
Sent: 14 August 2007 10:24 AM
To: user@xmlbeans.apache.org
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 < Schalk.Neethling@momentum.co.za
<ma...@momentum.co.za> > 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
RE: Generating Javadoc
Posted by Schalk Neethling <Sc...@momentum.co.za>.
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:Schalk.Neethling@momentum.co.za]
Sent: 14 August 2007 11:38 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Just saw the srcgendir on the documentation. I am trying this out now.
________________________________
From: Schalk Neethling [mailto:Schalk.Neethling@momentum.co.za]
Sent: 14 August 2007 11:28 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Can you accomplish this same task using Ant?
________________________________
From: Jacob Danner [mailto:jacob.danner@gmail.com]
Sent: 14 August 2007 10:24 AM
To: user@xmlbeans.apache.org
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 < Schalk.Neethling@momentum.co.za
<ma...@momentum.co.za> > 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
RE: Generating Javadoc
Posted by Schalk Neethling <Sc...@momentum.co.za>.
Just saw the srcgendir on the documentation. I am trying this out now.
________________________________
From: Schalk Neethling [mailto:Schalk.Neethling@momentum.co.za]
Sent: 14 August 2007 11:28 AM
To: user@xmlbeans.apache.org
Subject: RE: Generating Javadoc
Can you accomplish this same task using Ant?
________________________________
From: Jacob Danner [mailto:jacob.danner@gmail.com]
Sent: 14 August 2007 10:24 AM
To: user@xmlbeans.apache.org
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 < Schalk.Neethling@momentum.co.za
<ma...@momentum.co.za> > 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
RE: Generating Javadoc
Posted by Schalk Neethling <Sc...@momentum.co.za>.
Can you accomplish this same task using Ant?
________________________________
From: Jacob Danner [mailto:jacob.danner@gmail.com]
Sent: 14 August 2007 10:24 AM
To: user@xmlbeans.apache.org
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 < Schalk.Neethling@momentum.co.za
<ma...@momentum.co.za> > 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
Re: Generating Javadoc
Posted by Jacob Danner <ja...@gmail.com>.
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 <Sc...@momentum.co.za> 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
>
>
>
>
>