<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Build-Time Aggregation of JS/CSS Assets</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-426370</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 14 Nov 2013 07:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-426370</guid>
		<description>Arjun,

If you want to have Wicket do your voodoo during development, but then have Maven collapse everything during packaging, you&#039;ll need some sort of shared storage for the configuration (you don&#039;t want to have to maintain it in two places).  That&#039;s the purpose of the properties file in my example.  It&#039;s consumed by CFML and Ant rather than Wicket and Maven, but the idea is the same.

One subtlety is that the CFM file which reads the properties file in development is replaced by Ant with a reference to the aggregated/minified file.  You could do this with a conditional in your Wicket code (to load individual or aggregate assets) as well.</description>
		<content:encoded><![CDATA[<p>Arjun,</p>
<p>If you want to have Wicket do your voodoo during development, but then have Maven collapse everything during packaging, you'll need some sort of shared storage for the configuration (you don't want to have to maintain it in two places).  That's the purpose of the properties file in my example.  It's consumed by CFML and Ant rather than Wicket and Maven, but the idea is the same.</p>
<p>One subtlety is that the CFM file which reads the properties file in development is replaced by Ant with a reference to the aggregated/minified file.  You could do this with a conditional in your Wicket code (to load individual or aggregate assets) as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjun</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-426365</link>
		<dc:creator>Arjun</dc:creator>
		<pubDate>Thu, 14 Nov 2013 07:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-426365</guid>
		<description>Thanks; I wasn&#039;t aware they provided aggregation also. Though one additional feature I&#039;m looking for is the ability to replace SCRIPTS and CSS links from all files except the main template file.

I use apache Wicket; which tends to allow Header Aggregation across multiple pages. Example:

TEMPLATE PAGE:
 ...  import scripts for all site ... 

CUSTOM PAGE  extends TEMPLATE
 ... import for the page ... 

FINAL OUT PAGE :
 
...  import scripts for all site ... 
... import for the page ... 


Now if Im aggregating, what Id like is for the TEMPLATE link to be replaced in the HTML (fine that can be done manually easily) .... but more so to remove the Links that are being aggregated from the various pages.

Thing is during DEVELOPMENT, its useful to know which script is responsible for which page. And hence I want this @ Build or Deploy time to run over the out WAR.

I guess im going way beyond the scope of this intent. But if you know anything that can help in this also Id appreciate it.

Thanks a ton</description>
		<content:encoded><![CDATA[<p>Thanks; I wasn't aware they provided aggregation also. Though one additional feature I'm looking for is the ability to replace SCRIPTS and CSS links from all files except the main template file.</p>
<p>I use apache Wicket; which tends to allow Header Aggregation across multiple pages. Example:</p>
<p>TEMPLATE PAGE:<br />
 &#8230;  import scripts for all site &#8230; </p>
<p>CUSTOM PAGE  extends TEMPLATE<br />
 &#8230; import for the page &#8230; </p>
<p>FINAL OUT PAGE :</p>
<p>&#8230;  import scripts for all site &#8230;<br />
&#8230; import for the page &#8230; </p>
<p>Now if Im aggregating, what Id like is for the TEMPLATE link to be replaced in the HTML (fine that can be done manually easily) &#8230;. but more so to remove the Links that are being aggregated from the various pages.</p>
<p>Thing is during DEVELOPMENT, its useful to know which script is responsible for which page. And hence I want this @ Build or Deploy time to run over the out WAR.</p>
<p>I guess im going way beyond the scope of this intent. But if you know anything that can help in this also Id appreciate it.</p>
<p>Thanks a ton</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-426325</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 14 Nov 2013 05:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-426325</guid>
		<description>Arjun,

If you&#039;re using Maven, just use the YUI compressor plugin:

&lt;pre&gt;&lt;groupId&gt;net.alchim31.maven&lt;/groupId&gt;
&lt;artifactId&gt;yuicompressor-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;1.3.0&lt;/version&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Arjun,</p>
<p>If you're using Maven, just use the YUI compressor plugin:</p>
<pre>&lt;groupId&gt;net.alchim31.maven&lt;/groupId&gt;
&lt;artifactId&gt;yuicompressor-maven-plugin&lt;/artifactId&gt;
&lt;version&gt;1.3.0&lt;/version&gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjun</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-426309</link>
		<dc:creator>Arjun</dc:creator>
		<pubDate>Thu, 14 Nov 2013 04:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-426309</guid>
		<description>Just what i was looking for. Would you have an example of this packaged in a Maven setup ?
Ready to go too ? :)</description>
		<content:encoded><![CDATA[<p>Just what i was looking for. Would you have an example of this packaged in a Maven setup ?<br />
Ready to go too ? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-73787</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 09 Apr 2008 00:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-73787</guid>
		<description>Adam,

Yes, you&#039;re absolutely right.  I&#039;ve added a note to that effect at the bottom of the post.</description>
		<content:encoded><![CDATA[<p>Adam,</p>
<p>Yes, you're absolutely right.  I've added a note to that effect at the bottom of the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Haskell</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-73768</link>
		<dc:creator>Adam Haskell</dc:creator>
		<pubDate>Tue, 08 Apr 2008 23:52:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-73768</guid>
		<description>One additional note, if memory serves me correctly, the &quot;for&quot; ANT task is not a core task of ANT and you will need the ant-contrib jar on the classpath as well: http://ant-contrib.sourceforge.net/</description>
		<content:encoded><![CDATA[<p>One additional note, if memory serves me correctly, the "for" ANT task is not a core task of ANT and you will need the ant-contrib jar on the classpath as well: <a href="http://ant-contrib.sourceforge.net/" rel="nofollow">http://ant-contrib.sourceforge.net/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Nadel</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-73700</link>
		<dc:creator>Ben Nadel</dc:creator>
		<pubDate>Tue, 08 Apr 2008 21:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-73700</guid>
		<description>@Barney,

Looking very cool. This is way beyond my scope of experience, but I like what I think I see :) At the very least, I should check out this YUI Compressor.</description>
		<content:encoded><![CDATA[<p>@Barney,</p>
<p>Looking very cool. This is way beyond my scope of experience, but I like what I think I see :) At the very least, I should check out this YUI Compressor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Marcotte</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-73642</link>
		<dc:creator>Paul Marcotte</dc:creator>
		<pubDate>Tue, 08 Apr 2008 20:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-73642</guid>
		<description>Thanks, Jim.  I&#039;ll be sure to check that out.  Excellent wiki, btw.  Great resource.</description>
		<content:encoded><![CDATA[<p>Thanks, Jim.  I'll be sure to check that out.  Excellent wiki, btw.  Great resource.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Priest</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-73594</link>
		<dc:creator>Jim Priest</dc:creator>
		<pubDate>Tue, 08 Apr 2008 18:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-73594</guid>
		<description>Paul - I&#039;ve got a section on my wiki about this - there are few ways to do it...

http://www.thecrumb.com/wiki/ant#javascript_and_css_compression</description>
		<content:encoded><![CDATA[<p>Paul &#8211; I've got a section on my wiki about this &#8211; there are few ways to do it&#8230;</p>
<p><a href="http://www.thecrumb.com/wiki/ant#javascript_and_css_compression" rel="nofollow">http://www.thecrumb.com/wiki/ant#javascript_and_css_compression</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Marcotte</title>
		<link>https://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/comment-page-1/#comment-73588</link>
		<dc:creator>Paul Marcotte</dc:creator>
		<pubDate>Tue, 08 Apr 2008 18:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2008/04/08/build-time-aggregation-of-jscss-assets/#comment-73588</guid>
		<description>Ugh.  Spot the fellow didn&#039;t read closely...   This is very cool.  I will definitely us this when I get up to speed with ant!</description>
		<content:encoded><![CDATA[<p>Ugh.  Spot the fellow didn't read closely&#8230;   This is very cool.  I will definitely us this when I get up to speed with ant!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
