[Quickfix-developers] RE: Solaris support for Forte6U2
Brought to you by:
orenmnero
From: <JDD...@th...> - 2002-03-07 16:57:57
|
I believe that is a good way to go about it. I would recommend first duplicating the unit tests for testing the Xerces interface, and then just write the new code hook, line, sinker. For the first pass, you can tell automake to copy parser-specific files to the required filename based on a switch and/or automake test that checks for each library. If that's confusing, I can show you what I mean. Then I would suggest looking at the two results and refactoring out an interface, leaving the parser-specific stuff in separate files, but the bulk of the validator code in one file. Look at the template method pattern in GoF if you have it. I'd also like to recommend that you subscribe to the mailing list: qui...@li... You can subscribe to it from this URL: http://lists.sourceforge.net/lists/listinfo/quickfix-developers That way others can pay attention to this discussion and correct me. John Duncan Technology Director Collaborative Development Group Thoughtworks, Inc (312) 953-6286 "Chris Custine" <ch...@cu... To: <JDD...@th...> m> cc: Subject: RE: Solaris support for Forte6U2 03/06/2002 11:01 PM Please respond to chris Sounds good. I am almost done getting everything to compile with the Sun Forte compiler, at least right up until the XML parser is needed. The compiler changes will obviously be easy, but how do you want the XML parser integrated into the project? For example, it looks as if there are some fairly substantial differences in the code required to add the XercesC Sax parser in place of libxml and the MS library and I am not sure you will want to keep adding pre-processor directives in the existing files because I don't think there is an even match in syntax between Xerces and the other libraries. In order to get fully compiled, I am just creating a new set of files for the MessageValidator and related classes to see what it takes to make them work. I will surely have more questions, but this will get me going for now. Thanks for your help. -- Chris Custine Custine Technology Group, Inc. 1085 Meadow View Ln St. Augustine, FL 32092 Phone: 904.829.6681 E-Mail: ch...@cu... -----Original Message----- From: JDD...@th... [mailto:JDD...@th...] Sent: Tuesday, March 05, 2002 4:56 PM To: ch...@cu... Subject: Re: Solaris support for Forte6U2 Hi Chris, What you're talking about sounds great. We were trying to decide at the beginning between libxml and Xerces, and we went with libxml because it's likely that many linux users are using it. Xerces support would be useful and cross-platform to boot. We can provide testing on Linux and Windows for those mods, and we can also test them with gcc on Solaris. We have been interested in other compilers on Unix boxes, but their cost prohibits us from doing those ports before we need to. I think that it would be a big win for QuickFIX if it were supported on Sun's compilers. If you need help with our tools for this project, don't be afraid to ask. Thanks for contributing, John Duncan Technology Director Collaborative Development Group Thoughtworks, Inc (312) 953-6286 Chris Custine <ch...@cu... To: jdd...@th... m> cc: Sent by: nobody Subject: Solaris support for Forte6U2 <nobody@sourcefor ge.net> 03/05/2002 02:50 PM I have been looking at the QuickFIX project since seeing the press release from ThroughtWorks earlier today and I am interested in adding support for Forte 6U2 and Xerces XML parser on the Solaris 8 platform. Are you interested in the modifications to be merged into your project or is someone already working on these additions? If you would like the code let me know and I will send the mods to you. Initially this is a side project so my contributions will be slow and limited, but I may be able to get some official time allocated if we pursue using this tool for some pending projects. Either way, I like the looks of this project so good luck! Chris |