Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 85101 invoked by uid 500); 26 Aug 2003 08:12:45 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 84849 invoked from network); 26 Aug 2003 08:12:38 -0000 Received: from unknown (HELO hogshead.codehaus.org) (66.216.68.111) by daedalus.apache.org with SMTP; 26 Aug 2003 08:12:38 -0000 Received: from hogshead.codehaus.org (hogshead.codehaus.org [66.216.68.111]) by hogshead.codehaus.org (8.11.6/8.11.6) with ESMTP id h7Q8NG102051 for ; Tue, 26 Aug 2003 03:23:16 -0500 Message-ID: <22148765.1061886196708.JavaMail.orion@hogshead.codehaus.org> Date: Tue, 26 Aug 2003 03:23:16 -0500 (CDT) From: jira@codehaus.org To: geronimo-dev@incubator.apache.org Subject: [jira] Updated: (GERONIMO-21) Problem with path when creating URL for geronimo's conf dir Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The following issue has been updated: Updater: Jason Dillon (mailto:jason@planet57.com) Date: Tue, 26 Aug 2003 3:22 AM Comment: There is a twiddle component ;-) Changes: description changed from When getting the twiddle/*.conf, it gives an malformedURL error at url = new URL(urlspec); line 701 of Strings, method toURL. If I change to twiddle/geronimo.conf, the error change to StringIndexOutOfBoundsException exception, since the glob string (geronimo.conf) has no "*". int i = glob.indexOf("*"); final String prefix = glob.substring(0, i); I hack it so I could make it work : if (baseURL.getProtocol().equals("file")) { // only can glob on file urls return new URL[] { baseURL }; } took off the "!" before baseURL. jason is aware of the problem. BTW, shouldn't have a twiddle component for registering bugs? I did it at core instead. Component changed to twiddle Component changed from core --------------------------------------------------------------------- For a full history of the issue, see: http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-21&page=history --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=GERONIMO-21 Here is an overview of the issue: --------------------------------------------------------------------- Key: GERONIMO-21 Summary: Problem with path when creating URL for geronimo's conf dir Type: Bug Status: Assigned Priority: Major Time Spent: Unknown Remaining: Unknown Project: Apache Geronimo Components: twiddle Assignee: Jason Dillon Reporter: Emerson Cargnin Created: Tue, 26 Aug 2003 3:10 AM Updated: Tue, 26 Aug 2003 3:22 AM Environment: windows 2000 Description: When getting the twiddle/*.conf, it gives an malformedURL error at url = new URL(urlspec); line 701 of Strings, method toURL. If I change to twiddle/geronimo.conf, the error change to StringIndexOutOfBoundsException exception, since the glob string (geronimo.conf) has no "*". int i = glob.indexOf("*"); final String prefix = glob.substring(0, i); I hack it so I could make it work : if (baseURL.getProtocol().equals("file")) { // only can glob on file urls return new URL[] { baseURL }; } took off the "!" before baseURL. jason is aware of the problem. BTW, shouldn't have a twiddle component for registering bugs? I did it at core instead. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira