commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prick...@apache.org
Subject cvs commit: jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/xml databases.xml
Date Mon, 02 Dec 2002 02:16:31 GMT
prickett    2002/12/01 18:16:31

  Modified:    periodicity/src/plugins-build/database/src/java/org/apache/commons/periodicity/database
                        DatabaseMetaDataImpl.java
               periodicity/src/plugins-build/database/src/xml databases.xml
  Log:
  Added the folowing fields to DatabaseMetaDataImpl
  
  databasePassword
  defaultUser
  defaultPassword
  defaultAdminPath
  defaultType
  globalDefaultUser
  globalDefaultPassword
  defaultName
  defaultPath
  defaultHost
  Changed user.name to systemUserName in databases.xml
  Changed user.home to systemUserHome in databases.xml
  
  Revision  Changes    Path
  1.13      +39 -3     jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/java/org/apache/commons/periodicity/database/DatabaseMetaDataImpl.java
  
  Index: DatabaseMetaDataImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/java/org/apache/commons/periodicity/database/DatabaseMetaDataImpl.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DatabaseMetaDataImpl.java	1 Dec 2002 21:46:23 -0000	1.12
  +++ DatabaseMetaDataImpl.java	2 Dec 2002 02:16:31 -0000	1.13
  @@ -133,6 +133,42 @@
       /** A variable to hold the default port for the database */
       private int defaultPort = -1;
   
  +    /** A variable to hold the database user name */
  +    private String userName = null;
  +
  +    /** A variable to hold the database password */
  +    private String databasePassword = null;
  +
  +    /** A variable to hold the db specific default user name */
  +    private String defaultUser = null;
  +
  +    /** A variable to hold the db specific default password */
  +    private String defaultPassword = null;
  +
  +    /** A variable to hold the default administration path */
  +    private String defaultAdminPath = null;
  +
  +    /** A variable to hold the default database type */
  +    private static String defaultType = null;
  +
  +    /** A variable to hold the global default user name */
  +    private static String globalDefaultUser = null;
  +
  +    /** A variable to hold the global default password */
  +    private static String globalDefaultPassword = null;
  +
  +    /** A variable to hold the default database name */
  +    private static String defaultName = null;
  +
  +    /** A variable to hold the default database path */
  +    private static String defaultPath = null;
  +
  +    /** A variable to hold the default database host */
  +    private static String defaultHost = null;
  +
  +    
  +    
  +
       private static Logger logger = null;
   
       /**
  
  
  
  1.2       +2 -2      jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/xml/databases.xml
  
  Index: databases.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/xml/databases.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- databases.xml	2 Dec 2002 01:17:51 -0000	1.1
  +++ databases.xml	2 Dec 2002 02:16:31 -0000	1.2
  @@ -5,10 +5,10 @@
     
       <defaults>
         <db-type>axion</db-type>
  -      <db-user>${user.name}</db-user>
  +      <db-user>${systemUserName}</db-user>
         <db-password/>
         <db-name>periodicity</db-name>
  -      <db-path>${user.home}/.periodicity</db-path>
  +      <db-path>${systemUserHome}/.periodicity</db-path>
         <db-host>localhost</db-host>
       </defaults>  
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message