You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/31 22:49:56 UTC

[Bug 2934] New: - Ejbjar task does not handle files in default package

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=2934

*** shadow/2934	Tue Jul 31 13:49:56 2001
--- shadow/2934.tmp.13246	Tue Jul 31 13:49:56 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | Ejbjar task does not handle files in default package                       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2934                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Other                     Component: Optional Tasks          |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: jpg7@po.cwru.edu                                             |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ I tried to perform the ejbjar task related to weblogic 6.0 for a large set of 
+ files. A few classes were in the default package. The writeJar method in 
+ GenericDeploymentTool has some code on line 488 to retrieve a substring for a 
+ class file name that pulls out the package name. If the class is in the root 
+ package, the substring call is passed a -1 as the second parameter, leading to 
+ a String Index Out Of Range(-1) exception.
\ No newline at end of file