wlrun task uses "null" for default properties file for 5.1

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3137

*** shadow/3137 Wed Aug 15 14:22:00 2001
--- shadow/3137.tmp.12428       Wed Aug 15 14:22:00 2001
***************
*** 0 ****
--- 1,36 ----
+ +============================================================================+
+ | wlrun task uses "null" for default properties file for 5.1                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3137                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.4Beta1                |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                   |
+ |  Reported By: [EMAIL PROTECTED]                                             
|
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ There is a small bug in wlrun.java that causes the properties file to be null 
+ rather than the default of weblogic.properties. I do not have access to my 
ant 
+ development environment right now, but the change is to change the following 
in 
+ executeWLS():
+ 
+         if (weblogicPropertiesFile == null) {
+             propertiesFile = new File(weblogicSystemHome, 
+ DEFAULT_PROPERTIES_FILE);
+         }
+         else {
+             propertiesFile = new File(weblogicSystemHome, 
+ weblogicPropertiesFile);
+         }
+ 
+ should become:
+  
+         if (weblogicPropertiesFile == null) {
+             weblogicPropertiesFile = DEFAULT_PROPERTIES_FILE;
+         }
+         propertiesFile = new File(weblogicSystemHome, weblogicPropertiesFile);

Reply via email to