]
Jeff Zhang resolved JBJCA-322.
------------------------------
Resolution: Done
fix wrong filename extract from url string
------------------------------------------
Key: JBJCA-322
URL:
https://jira.jboss.org/browse/JBJCA-322
Project: JBoss JCA
Issue Type: Bug
Components: Deployer
Reporter: Jeff Zhang
Assignee: Jeff Zhang
Fix For: 1.0.0.Alpha12
In the deployer and validator, we use the code to get the filename from url string,
like:
int lastIndex = urlFileName.lastIndexOf(File.separator);
if (lastIndex != -1)
urlFileName = urlFileName.substring(lastIndex + 1);
urlFileName += ".log";
here is a bug. in the windows machine, File.separator) is "\", but the
url.getPath is always return like "file://c/dir/filename", that we get wrong
filename
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: