Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加 MultipathResourceLoader,支持多个模板路径 #56

Closed
subchen opened this issue Dec 18, 2013 · 0 comments
Closed

增加 MultipathResourceLoader,支持多个模板路径 #56

subchen opened this issue Dec 18, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@subchen
Copy link
Owner

subchen commented Dec 18, 2013

path 支持以下的格式:

/path/to
file:/path/to
classpath:/META-INF/templates/
jar:/path/to/templates.jar
webapp:/WEB-INF/jetx
pkg.app.YourResourceLoader:/path/to

允许配置多个 path,用逗号分割。
根据path前缀,找到对应的loader,然后用对应的loader去加载,成功则返回,否则就继续下一个。

@ghost ghost assigned subchen Dec 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant