gzip « Ant « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » Ant » gzip 

1. How to gzip individual files with maven and replace the original ones?    stackoverflow.com

I need to gzip individual files that are part of my java project and replace the original file with the gzipped files. So basically convert a directory /bla containing stylesheets, js, xml ...

2. How to pass parameter values to maven gzip ant task?    stackoverflow.com

Gzip can take parameters, as described here. I would like to gzip some files from maven using ant-run, but the documentation does not explain how ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.