/[Apache-SVN]
ViewVC logotype

Revision 1799289


Jump to revision: Previous Next
Author: mck
Date: Mon Jun 19 23:52:37 2017 UTC (6 years, 11 months ago)
Changed paths: 5
Log Message:
TREQ-21: Convert IOException to FileNotFoundException on local protocols
- Separate between local and remote URL protocols, check on construction time whether the URL points to a local resource
- Always throw a FileNotFoundException when the URL points to a local resource and url.openConnection throws an IOException
- Added system property 'tiles.remoteProtocols' which can be used to specify additional remote protocols
- Added OSGi tests including PAX-EXAM dependencies

references:
 - pull request: https://github.com/apache/tiles-request/pull/2
 - ticket: https://issues.apache.org/jira/browse/TREQ-21

Contributed by Roland Hauser ( https://github.com/SourcePond )

This closes #2


Changed paths

Path Details
Directorytiles/request/branches/TREQ_1_0_X/tiles-request-api/pom.xml modified , text changed
Directorytiles/request/branches/TREQ_1_0_X/tiles-request-api/src/main/java/org/apache/tiles/request/locale/URLApplicationResource.java modified , text changed
Directorytiles/request/branches/TREQ_1_0_X/tiles-request-api/src/test/java/org/apache/tiles/request/locale/URLApplicationResourceTest.java modified , text changed
Directorytiles/request/branches/TREQ_1_0_X/tiles-request-api/src/test/java/org/apache/tiles/request/osgi/ added
Directorytiles/request/branches/TREQ_1_0_X/tiles-request-api/src/test/java/org/apache/tiles/request/osgi/URLBundleApplicationResourceTest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26