This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 41488 - Be honest about properties
Summary: Be honest about properties
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks: 40618
  Show dependency tree
 
Reported: 2004-03-30 09:21 UTC by Jaroslav Tulach
Modified: 2005-04-05 05:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2004-03-30 09:21:57 UTC
The arch-*.xml document does not mention various
properties that are necessary for reasonable usage
of the MDR. Please be honest and describe them in
the appropriate question using <api> tag with
appropriate category.

Here is small list of possibly overlooked and
under documented properties:

./org/netbeans/lib/jmi/mapping/JMIMapperImplBeanInfo.java:
    * A client of getPropertyDescriptors can use
"instanceof" to check
./org/netbeans/lib/jmi/mapping/JMIMapperImplBeanInfo.java:
   public PropertyDescriptor[]
getPropertyDescriptors() {
./org/netbeans/lib/jmi/mapping/JMIMapperImplBeanInfo.java:
    *                returned by
getPropertyDescriptors.
./org/netbeans/lib/jmi/util/Logger.java:       
String fileName = System.getProperty(PROP_LOG_FILE);
./org/netbeans/lib/jmi/util/Logger.java:         
  String value = System.getProperty(prop);
./org/netbeans/lib/jmi/xmi/Producer.java:   
public Object getProperty(String name) throws
SAXNotSupportedException {
./org/netbeans/mdr/NBMDRepositoryImpl.java:      
 String storageClass =
props.getProperty("org.netbeans.mdr.storagemodel.StorageFactoryClassName",
"org.netbeans.mdr.persistence.btreeimpl.btreestorage.BtreeFactory");
./org/netbeans/mdr/NBMDRepositoryImpl.java:      
 String storageFile =
props.getProperty("org.netbeans.mdr.persistence.Dir");
./org/netbeans/mdr/NBMDRepositoryImpl.java:      
 String storageUUID =
props.getProperty("org.netbeans.mdr.persistence.UUID");
./org/netbeans/mdr/NBMDRepositoryImpl.java:      
         parameters.put(name.substring(19),
props.getProperty(name));
./org/netbeans/mdr/storagemodel/MdrStorage.java: 
         
storage.objectStateChanged(getProperty(VALUES_ID));
./org/netbeans/mdr/storagemodel/MdrStorage.java: 
  org.netbeans.mdr.persistence.MOFID
getProperty(String key) {
./org/netbeans/mdr/storagemodel/MdrStorage.java: 
      return
this.getProperty(this.bootStorage.getStorageId(),key);
./org/netbeans/mdr/storagemodel/MdrStorage.java: 
  org.netbeans.mdr.persistence.MOFID
getProperty(String storageId, String key) {
./org/netbeans/mdr/storagemodel/MdrStorage.java: 
          value = getProperty((String) key);
./org/netbeans/mdr/storagemodel/StorableBaseObject.java:
   public Object getProperty (Object key) {
./org/netbeans/mdrshell/DJava.java:        String
storageName =
System.getProperty("MDRStorageProperty." +
StorageFactoryImpl.STORAGE_ID);
Comment 1 Daniel Prusa 2004-03-31 13:48:53 UTC
fixed