pack:tag 3.0 released
Submitted by Daniel on 13. November 2007 - 1:36.announcement | Java | Open Source
I'm thrilled to announce the pack:tag 3.0 release.
This release adds the long-awaited support for relative filenames in resources and the src-attributes.
Also, pack:tag now keeps track of the delivered resources, so no resource will be written out twice.
The shift to a new major relase-number is based on the way pack:tag behaves now, and on the fact that you have to migrate prior 2.x releases.
Changes:
- enhancement: Relative Pathes are now possible, when using the servlet cache type and no combination.
- enhancement: Resources will not be written out twice.
All delivered resources are tracked in the request, to check if they
are already written or not. (Combinations will be handled depending on the already
delivered resource)
- update: YuiCompressor 2.2.5 support (Again, he changed the interfaces on a minorversion)
- IMPORTANT: If you used pack:tag before, you have to know about the changes, in order to
migrate to version 3.0:
- The default cache type is not any longer "file", it's "servlet"
- The setting "cache.servlet.path" is now obsolete, and has no meaning any longer
- Please update your url-mapping in the web.xml to "*.pack"
- Update the packtag.tld file
- Please note that the attribute "compress" is renamed to "minify",
because the term "compress" is ambiguous.
Check out the website for more information: http://www.galan.de/projects/packtag
pack:tag is a JSP-Taglib that minifies, compresses and combines resources (like JavaScript and CSS) and caches them in memory or in a generated file. It works transparent to the user/developer and the compressing-algorithms are pluggable.
Go and grab it here:
http://sourceforge.net/project/showfiles.php?group_id=189328
pack:tag at ohloh - put it in your stack ;)
http://www.ohloh.net/projects/7677
