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 "Myrna van Lunteren (JIRA)" <de...@db.apache.org> on 2006/02/02 19:36:06 UTC

[jira] Updated: (DERBY-891) derby_tests.policy file contains references to csinfo and db2j - should get cleaned up

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

Myrna van Lunteren updated DERBY-891:
-------------------------------------

    Attachment: DERBY-891_020206.stat
                DERBY-891_020206.diff

I had previously run derbyall with sane jars.

Following the discussion on derby-dev,  here is an updated patch. 
For this, I have only run supersimple, with DerbyNet, DerbyNetClient, embedded, with classes and insame jars.
Note that this patch has 2 changes over the previous one:
- derbynet.jar lists serverhost also
- I removed the word 'manually' from the comment. 
Note also that in this version, there is still one line in addition to the name changes - derbyclient has an 
additional: permission java.net.SocketPermission "${derbyTesting.serverhost}", "connect,resolve";
If this is not ok, I'll strip it out & resubmit...

> derby_tests.policy file contains references to csinfo and db2j - should get cleaned up
> --------------------------------------------------------------------------------------
>
>          Key: DERBY-891
>          URL: http://issues.apache.org/jira/browse/DERBY-891
>      Project: Derby
>         Type: Bug
>   Components: Test
>     Versions: 10.2.0.0
>     Reporter: Myrna van Lunteren
>     Assignee: Myrna van Lunteren
>     Priority: Trivial
>  Attachments: DERBY-891_013106.diff, DERBY-891_013106.stat, DERBY-891_020206.diff, DERBY-891_020206.stat
>
> The derby_tests.policy file uses references to csinfo and db2j.
> These are left-overs from pre-contribution and rename to apache and should get cleaned up.
> I suspect that the db2j references can simply be taken out, but that should get double-checked.
> The csinfo references are used in jvm.java. There referenced in the testing/README.htm.
> I propose to change the name of these properties as follows:
> csinfo.codejar - URL to the jar files when they are in the classpath 
>      change to derby.codejar
> csinfo.codeclasses - URL to the classes directory when it is in the classpath
>      change to derby.codeclasses
> csinfo.codedir - File location of either csinfo.codejar or csinfo.codejar.
>      the comment said : // Only required due to a BUG.
>      Need to figure out which 'BUG' that is and document better
>      change to derby.codedir
> csinfo.trustedhost
>      change to derby.clienthost
>      document: - specifies the clients ip address/hostName. 
> csinfo.serverhost 
>      change to derby.serverhost
>      document: -Host name or ip where network server is started.
>      

-- 
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