Subject Re: [Firebird-Java] RE: Putting class 2 drv native code in CVS.
Author David Jencks
On 2003.03.06 10:42 Roman Rokytskyy wrote:
> Hi Ryan,
>
> > I feel it would be a good time to at put the native code for the type 2
> > driver modifications in cvs. This would help me work on the code from
> > different locations which I will need to do to make build's for other
> > platforms - also to make it possible for others to contribute.
>
> This would be very good. But can you wait approx. one week (actually till
> the begining of the next week)? I would like to clean up JayBird's code
> that
> will be released and fork a release branch. Then we can add your code
> into
> the main source tree.
>
> If you still prefer to add it to the CVS now, then I think we have to put
> it
> in a directory parallel to the src/main/, because your java code
> "conflicts"
> with existing code in src/main/
>
> > I was told your the person to ask about where to place this. I assume
> that
> > it should go in the client-java module. If so then where in client-java
> is
> > the question.
>
> I think client-java would be the right place.
>
> What about:
>
> client-java/src/native - for native code.
> client-java/src/ngds - for your Java code if you want to commit now.
>
>
> > I hope to keep the native code self contained so that it can be built
> on
> > entirely its own. I dont know if this is the best idea though.
>
> Good. BTW, if you like, you can check David Jencks' build.xml to build
> native part of InterClient. You may consider ant as a build environment
> for
> your code too.
>

I strongly recommend NOT using my interclient build as a model. There is
now a supposedly very good c++ ant task on I think ant-contrib on
sourceforge. I haven't tried it but from comments of people who have this
is definitely the way to go.

thanks
david

> > I was thinking that once the java side does get intergrated it might be
> an
> > idea to have binaries for this library in cvs so that the ant
> > build file can package them with the distribution possible. These
> > binaries would be kept in sync with the corrisponding cvs version of
> the
> > java code.
>
> Makes sense. Not every Java developer has C/C++ build environment, so
> having
> pre-compiled version of library would be a nice thing.
>
> > Anyhow - for now getting it imported is the main thing so I would be
> > gratefull for any help you can provide.
>
> Have you thought about the license for your code? May I suggest LGPL,
> same
> as JayBird main code? Note, you must add a license to all your files
> before
> committing them. If your license will be different from LGPL or MPL/IPL
> (these are currently approved and in use), I think we will need to
> discuss
> the license question in firebird-devel list.
>
> Thanks!
> Roman Rokytskyy
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>