Thanks Jacob for these references! -----Original Message----- From: Jacob Danner [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 5:15 PM To: [email protected] Subject: Re: runtime compilation of java source files
Hi Ajay, The code that does this in XmlBeans lives in CodegenUtil. http://svn.apache.org/viewvc/xmlbeans/trunk/src/xmlcomp/org/apache/xmlbe ans/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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

