cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco - minimize JS files automatically (rendition maybe?

drozes
Champ in-the-making
Champ in-the-making
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?
2 REPLIES 2

dantuffery
Champ in-the-making
Champ in-the-making
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

drozes
Champ in-the-making
Champ in-the-making
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?