Re: [JBoss-dev] compilation and packaging of vendor specific code
A couple of other possibilities are to change the code to use reflection so the Oracle driver doesn't need to be present to compile, or to write a fake Oracle class that just defines the needed methods and that we can compile, but not include the fake class in the build. If the dependencies are only for setting XADataSource properties the slowness of reflection won't be a problem. If it's needed in the main execution path it probably won't be a problem anyway. If neither of these seem practical I guess we should include the code in the compilation conditionally and also include a binary version in cvs. This will be an additional maintenance burden so I hope we can make it possible to compile without the actual Oracle code. thanks david jencks On 2002.09.02 23:19:27 -0400 Igor Fedorenko wrote: Hi, I have oracle specific xa wrapper that is required to use oracle database in distributed transactions managed by jboss. I want to check this wrapper into cvs but do not know what is the best way to do it. The wrapper needs oracle jdbc driver to compile, so here is my question: how do we compile and package vendor specific code? Should we keep this code outside main source tree and provide instructions how to get and build it? Or should it be in main tree but conditionally included into the build if vendor libraries can be found? Should we provide pre-built version? Advice would be appreciated. -- Igor Fedorenko Think smart. Think automated. Think Dynamics. www.thinkdynamics.com --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] compilation and packaging of vendor specific code
I need it for JBossCMP also, so check in the binary. -dain David Jencks wrote: A couple of other possibilities are to change the code to use reflection so the Oracle driver doesn't need to be present to compile, or to write a fake Oracle class that just defines the needed methods and that we can compile, but not include the fake class in the build. If the dependencies are only for setting XADataSource properties the slowness of reflection won't be a problem. If it's needed in the main execution path it probably won't be a problem anyway. If neither of these seem practical I guess we should include the code in the compilation conditionally and also include a binary version in cvs. This will be an additional maintenance burden so I hope we can make it possible to compile without the actual Oracle code. thanks david jencks On 2002.09.02 23:19:27 -0400 Igor Fedorenko wrote: Hi, I have oracle specific xa wrapper that is required to use oracle database in distributed transactions managed by jboss. I want to check this wrapper into cvs but do not know what is the best way to do it. The wrapper needs oracle jdbc driver to compile, so here is my question: how do we compile and package vendor specific code? Should we keep this code outside main source tree and provide instructions how to get and build it? Or should it be in main tree but conditionally included into the build if vendor libraries can be found? Should we provide pre-built version? Advice would be appreciated. -- Igor Fedorenko Think smart. Think automated. Think Dynamics. www.thinkdynamics.com --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development -- Dain Sundstrom Chief Architect JBossCMP JBoss Group, LLC --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] compilation and packaging of vendor specific code
Hi, I have oracle specific xa wrapper that is required to use oracle database in distributed transactions managed by jboss. I want to check this wrapper into cvs but do not know what is the best way to do it. The wrapper needs oracle jdbc driver to compile, so here is my question: how do we compile and package vendor specific code? Should we keep this code outside main source tree and provide instructions how to get and build it? Or should it be in main tree but conditionally included into the build if vendor libraries can be found? Should we provide pre-built version? Advice would be appreciated. -- Igor Fedorenko Think smart. Think automated. Think Dynamics. www.thinkdynamics.com --- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development