Hi Ajay,
The code that does this in XmlBeans lives in CodegenUtil.
http://svn.apache.org/viewvc/xmlbeans/trunk/src/xmlcomp/org/apache/xmlbeans/impl/tool/CodeGenUtil.java?revision=224386&view=markup

Otherwise the javac tool has a programmatic interface via:
com.sun.tools.javac.Main
you can read a little more about calling this directory at:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html

If you are tinkering around with how XmlBeans handles compilation and
what not, it might be useful to take a peek at the unit tests for this
feature.
http://svn.apache.org/viewvc/xmlbeans/trunk/test/src/compile/scomp/

Best of Luck,
-Jacob Danner

On 5/25/07, Ajay Aggarwal <[EMAIL PROTECTED]> wrote:
This is not specific to XmlBeans, but I thought people here might have
some good suggestions.



I am using XmlBeans.compileXmlBeans() to compile my schema and create
Java source files at runtime.



Now I need to compile them. What tools/technologies can I use to compile
java sources at runtime?



Thanks.



-Ajay



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to