You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Andrew McIntyre (JIRA)" <de...@db.apache.org> on 2006/08/05 01:47:15 UTC

[jira] Updated: (DERBY-1032) Create new scripts which follow common practice at Apache

     [ http://issues.apache.org/jira/browse/DERBY-1032?page=all ]

Andrew McIntyre updated DERBY-1032:
-----------------------------------

    Attachment: derby-1032-v1.diff

Attached is a patch with new scripts as described in the previous large comment for this patch, to go into the bin directory. I'm putting this here for discussion. If these scripts are seen as a valuable replacement, then they can be committed. A followup patch to add these to the -bin distribution will be needed. Also, there should be some discussion around the mechanics of deprecating the frameworks scripts if these scripts are accepted.

> Create new scripts which follow common practice at Apache
> ---------------------------------------------------------
>
>                 Key: DERBY-1032
>                 URL: http://issues.apache.org/jira/browse/DERBY-1032
>             Project: Derby
>          Issue Type: Improvement
>          Components: Demos/Scripts
>    Affects Versions: 10.2.0.0
>            Reporter: Andrew McIntyre
>         Assigned To: Andrew McIntyre
>            Priority: Minor
>             Fix For: 10.2.0.0
>
>         Attachments: derby-1032-bin-sh.tgz, derby-1032-v1.diff
>
>
> Scripts for Derby should be written to follow common practice at Apache. This means locating them in a bin directory, and self configuring from the minimum amount of information necessary: installation location and in our case, the location of Java, from the variables DERBY_HOME and JAVA_HOME respectively. If these variables are not set, we should report this to the user. Good examples are available in Ant, Forrest, and Maven, and much of the same setup code can be reused from those projects.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira