Hey,
Is there a way to serve static files from filesystem (not repository)?
For example,
GET /static/js/jquery.js
will be served from /var/www/media/js/jquery.js of filesystem, not
repository.
(/static/* is served from /var/www/media/*)
Hi Sam,
I think you can use the Filesystem Resource Provider bundle. The docs
[1] and the source [2].
HTH,
Regards,
Agus
[1]
http://sling.apache.org/site/accessing-filesystem-resources-extensionsfsresource.html
[2] http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/fsresource
Thanks.
I just did not want to put static files in the repository. It was difficult
to synchronize files on our VCS and the repository. Normal workflow was,
edit javascript and css files. And, then push them to the repository to see
the change. If things work, commit to VCS.
I could have used
Good to hear. To ease your development setup the FileSystem resource
provider should do the trick.
Regards
Julian
On Thu, May 12, 2011 at 1:08 PM, sam lee skyn...@gmail.com wrote:
Thanks.
I just did not want to put static files in the repository. It was difficult
to synchronize files on our
Hi everyone,
just a short summary for now:
- I'll organise this meetup and help will be welcome
- Targeted date(s) will be 8.-9.9.2011
- We'll propably split up in two 1 day events (1 exclusively apache, 1
communiqué 5)
- If location won't change, we'll have a bit more then 50 m² (so I
think 25 -