Actually there are several Java files require for the library. "com.maxmind.geoip" is used as the package name. Is it ok to change it as org.wso2.carbon.utils.geoip ? (Library is LGPL)
Another problem I have is that the library needs the path of the database file as a path from the root. But with our OSGI bundles we found that the file can only be referred as an InputStream using getResourceAsStream function but not as a path from the root. In this case also we have to edit the library file to provide the file as an InputStream. Is it ok? or is there any workaround? On Wed, Feb 8, 2012 at 2:15 PM, Afkham Azeez <az...@wso2.com> wrote: > How about adding that file to org.wso2.carbon.util jar with the proper > attributions? > > On Wed, Feb 8, 2012 at 2:06 PM, Maninda Edirisooriya <mani...@wso2.com>wrote: > >> I have to include a third party Java library with LGPL licences to >> convert IP addresses to geographical locations in the BAM2. It is only >> source a code file. (.java file) I have no idea where to add it. >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Afkham Azeez* > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > * <http://www.apache.org/>** > email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 > blog: **http://blog.afkham.org* <http://blog.afkham.org>* > twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> > * > linked-in: **http://lk.linkedin.com/in/afkhamazeez* > * > * > *Lean . Enterprise . Middleware* > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev