[cvs] expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj Setup.java

JCorporate Ltd jcorp at jcorp2.servlets.net
Mon Sep 20 12:21:21 PDT 2004


Update of /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj
In directory jcorp2.servlets.net:/tmp/cvs-serv853

Modified Files:
	Setup.java 
Log Message:
<Aucun commentaire entré>


Index: Setup.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/services/dbobj/Setup.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Setup.java	18 Sep 2004 00:05:55 -0000	1.26
--- Setup.java	20 Sep 2004 19:21:19 -0000	1.27
***************
*** 469,475 ****
          int keyCount = 0;
          String oneConfigKey = null;
- 		String setupKey = null;
- 
- 
          for (Enumeration e = ConfigManager.getAllConfigKeys();
               e.hasMoreElements();) {
--- 469,472 ----
***************
*** 484,489 ****
              try {
                  oneConfigKey = (String) e.nextElement();
! 				setupKey = oneConfigKey;
! 				
                  /* If the table doesn't exist, unless we're told to force
                  read, don't do it */
--- 481,485 ----
              try {
                  oneConfigKey = (String) e.nextElement();
! 
                  /* If the table doesn't exist, unless we're told to force
                  read, don't do it */
***************
*** 502,516 ****
                  */
                  try {
!                     if (!ConfigManager.getContext(oneConfigKey).hasSetupTables() &&
! 					    !ConfigManager.getContext(oneConfigKey).hasSetupValues()) {
                          skipThisContext = true;
!                     } else 
!                     	if (ConfigManager.getContext(oneConfigKey).hasSetupValues()) {
!                     		setupKey = StringUtil.notNull(ConfigManager.getContext(oneConfigKey).getSetupContext());
!                     		if (setupKey.equals("")) {
!                     			setupKey = "default";
!                     		}
!                     		skipThisContext = false;
!                     	}
                  } catch (ConfigurationException ce) {
                      throw new DBException(ce);
--- 498,505 ----
                  */
                  try {
!                     if (!ConfigManager.getContext(oneConfigKey)
!                             .hasSetupTables()) {
                          skipThisContext = true;
!                     }
                  } catch (ConfigurationException ce) {
                      throw new DBException(ce);



More information about the cvs mailing list