You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Wm.A.Stafford" <st...@marine.rutgers.edu> on 2008/12/19 20:01:13 UTC

Generating .java files

I would like to generate .java files from a schema and run Javadoc on 
them to produce developer level documentation of the XMLBeans classes 
used for this project.  I tried doing this by using jad to reverse 
compile the class files generated by scomp then running the resulting 
source through Javadoc.  However, the declaration: public static final 
SchemaType type = (SchemaType)XmlBeans.typeSystemForClassLoader... in 
every class file generates two errors so Javadoc cannot do anything. 

Is there any other way of generating the .java files that correspond to 
the class files?

Thanks,
beeky

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Re: Generating .java files

Posted by Jacob Danner <ja...@gmail.com>.
Have you tried scomp with the -src option?
-jacobd

On Fri, Dec 19, 2008 at 11:01 AM, Wm.A.Stafford
<st...@marine.rutgers.edu> wrote:
> I would like to generate .java files from a schema and run Javadoc on them
> to produce developer level documentation of the XMLBeans classes used for
> this project.  I tried doing this by using jad to reverse compile the class
> files generated by scomp then running the resulting source through Javadoc.
>  However, the declaration: public static final SchemaType type =
> (SchemaType)XmlBeans.typeSystemForClassLoader... in every class file
> generates two errors so Javadoc cannot do anything.
> Is there any other way of generating the .java files that correspond to the
> class files?
>
> Thanks,
> beeky
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org