so.. has anyone suggested symlinking the directory he wants to expose
into the docroot of the webapp??
manuel aldana (JIRA) wrote:
[ https://issues.apache.org/jira/browse/TAP5-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672089#action_12672089 ]
manuel aldana commented on TAP5-423:
------------------------------------
yes, we need to provide a filesystem root folder like /srv/www/statics.
You're right AssetDispatcher needs some refactoring, as far as I browsed
currently only assets/ folder is checked and parsed for classpath asset-domain.
Subdividing further roots to same asset-domain (asset/fs/root1|root2) is a good
idea.
Implement a file-system Asset type
----------------------------------
Key: TAP5-423
URL: https://issues.apache.org/jira/browse/TAP5-423
Project: Tapestry 5
Issue Type: New Feature
Components: tapestry-core
Affects Versions: 5.0.18
Reporter: manuel aldana
currenty it is built in to retrieve assets from classpath and from webcontext.
a file system asset type which can retrieve stuff directly from the filesystem (e.g. from /srv/statics/xxxx) makes also sense.
something like:
*ResourceFileSystem extends AbstractResource* and *FileSystemAssetFactory
extends AssetFactory*
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]