RE: [Quickfix-users] Java Code Generator for FIX messages
Brought to you by:
orenmnero
From: Shepheard, T. \(London\) <Tob...@ml...> - 2006-04-03 09:14:16
|
It generates the java code in the "src-generated" folder, which as the doc suggests is for the message and field definitions. To do this, it uses the FIX xml data-dictionary files, which you'll find in the etc directory (FIX40.xml, FIX44.xml etc). The generate.code build task in build.xml then runs the JavaCodeGenerator to build the message and field java code, which is then compiled along with the core java files to create the jar. =20 So, in a nutshell you just need to create your own copy of the relevant FIX xml file, and then run a full build. Make sure you have UseDataDictionary enabled in your config and specify your own DataDictionary for these changes to be fully validated when you run your app.=20 =20 Regards, Toby -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Parhami, Faraz Sent: 02 April 2006 22:40 To: 'qui...@li...'; 'qui...@li...' Subject: [Quickfix-users] Java Code Generator for FIX messages =09 =09 Does any one know what 'JavaCodeGenerator' class in 'QuickFixJ' beta generates? The java doc says 'Generates Message and Field related code for the various FIX versions.' =20 I need to create new User Defined messages with a lot of fields. Is there a way to generate the code give a config/xml file? Does 'JavaCodeGenerator' do this? If yes, is there an example of how to use it? =20 Thanks -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the = sender, delete it and do not read, act upon, print, disclose, copy, = retain or redistribute it. Click here for important additional terms = relating to this e-mail. http://www.ml.com/email_terms/ -------------------------------------------------------- |