The following issue has been updated:
Updater: Emerson Cargnin (mailto:[EMAIL PROTECTED])
Date: Tue, 26 Aug 2003 3:13 AM
Comment:
sorry, as i copied from an email msg, had to change and it loose the meaning,
corrected now :)
Changes:
description changed from And when using getting the
twiddle/*.conf, it giver 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 neddless to
StringIndexOutOfBoundsException exception, since say that the glog 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.
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: Apache Geronimo
Components:
core
Assignee:
Reporter: Emerson Cargnin
Created: Tue, 26 Aug 2003 3:10 AM
Updated: Tue, 26 Aug 2003 3:13 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