Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ACEBD200BD8 for ; Tue, 22 Nov 2016 21:27:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ABA9D160AF1; Tue, 22 Nov 2016 20:27:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A11A160B0C for ; Tue, 22 Nov 2016 21:27:00 +0100 (CET) Received: (qmail 79990 invoked by uid 500); 22 Nov 2016 20:27:00 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 79933 invoked by uid 99); 22 Nov 2016 20:27:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 20:27:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0A23D2C4C75 for ; Tue, 22 Nov 2016 20:27:00 +0000 (UTC) Date: Tue, 22 Nov 2016 20:27:00 +0000 (UTC) From: "Martin Desruisseaux (JIRA)" To: commits@sis.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Commented]_(SIS-337)?= =?utf-8?Q?_Package_EPSG_Derby_DB_in_=E2=80=8Bsi?= =?utf-8?Q?s-epsg_jar,_eliminating_the_need_for_external_SIS=5FDATA_dir?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 22 Nov 2016 20:27:01 -0000 [ https://issues.apache.org/jira/browse/SIS-337?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1568779= 8#comment-15687798 ]=20 Martin Desruisseaux commented on SIS-337: ----------------------------------------- Actually the reason why org.apache.sis.non-free:=E2=80=8Bsis-epsg artifact = contains the SQL scripts rather than the Derby database itself is because t= he database can be installed not only on Derby, but also on HSQL, PostgreSQ= L or MS-Access. Derby is the default database but the user can choose anoth= er one. A Derby database embedded directly in the JAR file would need to be= done as a separated artifact (maybe {{sis-epsg-derby}}) provided for conve= nience. > Package EPSG Derby DB in =E2=80=8Bsis-epsg jar, eliminating the need for = external SIS_DATA dir > -------------------------------------------------------------------------= ------------- > > Key: SIS-337 > URL: https://issues.apache.org/jira/browse/SIS-337 > Project: Spatial Information Systems > Issue Type: Wish > Components: Referencing > Affects Versions: 0.7 > Reporter: Kevin Mehall > > Since [Derby supports|https://db.apache.org/derby/docs/10.7/devguide/cdev= deploy11201.html] read-only databases in .jar files, is there a reason that= the `org.apache.sis.non-free:=E2=80=8Bsis-epsg` package includes SQL sourc= e to create an external database, rather than the database itself? > It would make deployment much easier if there were no need for a SIS_DATA= directory and environment variable, and adding the dependency were the onl= y thing necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)