db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1406) ij.property in -p propertyfile can be superceded by -Dproperty on command line (without ij string)
Date Sat, 29 Jul 2006 00:01:16 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1406?page=all ]

Kathey Marsden updated DERBY-1406:
----------------------------------

    Fix Version/s:     (was: 10.2.0.0)

removing from 10.2. see:
http://www.nabble.com/10.2-High-Value-Fix-Candidates-and-Fix-Version-Adjustments-tf2007999.html

> ij.property in -p propertyfile can be superceded by -Dproperty on command line (without
ij string)
> --------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1406
>                 URL: http://issues.apache.org/jira/browse/DERBY-1406
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 10.0.2.1, 10.2.0.0
>            Reporter: Myrna van Lunteren
>            Priority: Minor
>
> The documentation http://db.apache.org/derby/docs/10.1/tools/ttoolsij30600.html indicates
one can set ij properties like ij.maximumDisplayWidth or ij.database in either a properties
file indicated with java org.apache.derby.tools.ij -p <filename>, or by using the -Dij.<propertyname>.
> However, it appears that instead, the ij.properties in the file are equivalent to properties
of the same name in a file or on the commandline, but using -Dij.<propertyname> has
no effect.
> So, this works:
> > java org.apache.derby.tools.ij -p myij.properties
>   where myij.properties contained the string: maximumDisplayWidth=15
> > java org.apache.derby.tools.ij -p myij.properties
>   where myij.properties contained the string: ij.maximumDisplayWidth=15
> > java -DmaximumDisplayWidth=5 org.apache.derby.tools.ij
> (and if the setting is like so:
> > java -DmaximumDisplayWidth=5 org.apache.derby.tools.ij -p myij.properties
>   where myij.properties contained the string: ij.maximumDisplayWidth=15 the display width
is actually 5)
> But this does not work:
> > java -Dij.maximumDisplayWidth=5 org.apache.derby.tools.ij
> That is, the display width for an ij select remains the default.
> I thought this might be a doc bug, but response from the list indicates it is illogical
to have a property in a file (eg. ij.maximumDisplayWidth) be superceded by a different property
on the command line (eg. -DmaximumDisplayWidth)
> I verified that the behavior has been like this since the contribution of derby to apache
(10.0)

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

        

Mime
View raw message