Hi Kishore, CodeGen isn't really designed for direct use from application code, at least not yet. The APIs for this class are still changing, so if you get anything going with the current code there's a good chance it'll be broken by the next release. If you do want to use it from your code, try to use the main() method with an array of command line arguments. See the discussion at http://jira.codehaus.org/browse/JIBX-294 for more discussion of this issue.
- Dennis Dennis M. Sosnoski XML and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 kishore chakraborty wrote: > Sorry, Didn;t realize I didn't put a subject. > > Basic scrutiny and what I could gather from the Javadoc, the CodeGen > constructor takes an instance CommandLine. No idea where to set the > options and all. > > Any help will be appreciated. > > regards > Kishore. > > ------------------------------------------------------------------------ > *From:* kishore chakraborty <kishore1...@yahoo.com> > *To:* jibx-users@lists.sourceforge.net > *Sent:* Wednesday, August 26, 2009 9:03:29 PM > *Subject:* [jibx-users] (no subject) > > Hi, > I need to invoke CodeGen from code as my XSD( at least part of it) is > going to be changable by the user. > > Has anyone tried invoking CodeGen from code ? > > Any suggestions ? > > regards > Kishore. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users