Alfresco - minimize JS files automatically (rendition maybe?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2012 11:39 AM
Hello Folks;
I am using Alfresco Share to keep JS files for a website using QuickStart.
I am hoping that there is some tool within Alfresco that is able automatic create minimized Javascript files for out production enviroment.
My current research approaches are looking into:
-Is there some type of Rendition that can be used for this?
-Using WebDav is there a solution?
I am using Alfresco Share to keep JS files for a website using QuickStart.
I am hoping that there is some tool within Alfresco that is able automatic create minimized Javascript files for out production enviroment.
My current research approaches are looking into:
-Is there some type of Rendition that can be used for this?
-Using WebDav is there a solution?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2012 01:32 PM
Hi,
The YUI compressor tool will minify Javascript files automatically, you can find many different examples online of how to use the tool with Maven, Ant, Java, etc.
http://developer.yahoo.com/yui/compressor/
Dan
The YUI compressor tool will minify Javascript files automatically, you can find many different examples online of how to use the tool with Maven, Ant, Java, etc.
http://developer.yahoo.com/yui/compressor/
Dan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2012 08:35 AM
Hi Dan,
First off thank you for your quick reply.
I have used Ant builds in the past on non-alfresco projects. I am wondering how this can be integrated into Alfresco as all my JS files live within the Repository.
Any suggestions?
First off thank you for your quick reply.
I have used Ant builds in the past on non-alfresco projects. I am wondering how this can be integrated into Alfresco as all my JS files live within the Repository.
Any suggestions?
