ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [DO NOT REPLY: Bug 3137] New: -
Date Wed, 15 Aug 2001 21:22:00 GMT
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: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: d.rees.l@usa.net                                             |
+ |      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);

Mime
View raw message