Yes. It is included as a resource to utils. i.e. core/org.wso2.carbon.utils/3.2.4/src/main/resources/GeoIP.dat
On Wed, Feb 15, 2012 at 10:52 PM, Sameera Jayasoma <[email protected]> wrote: > > > On Wed, Feb 15, 2012 at 12:48 PM, Maninda Edirisooriya > <[email protected]>wrote: > >> 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? >> >> > Does this file is inside the OSGi bundle? > > Thanks, > Sameera. > >> >> On Wed, Feb 8, 2012 at 2:15 PM, Afkham Azeez <[email protected]> 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 >>> <[email protected]>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 >>>> [email protected] >>>> 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: **[email protected]* <[email protected]>* 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 >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Sameera Jayasoma > Technical Lead and Product Manager, WSO2 Carbon > > WSO2, Inc. (http://wso2.com) > email: [email protected] > blog: http://tech.jayasoma.org > > > Lean . Enterprise . Middleware > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
