Archive for April, 2008
Automatically Sign JARs using Ant and Bash
This guide is more towards Netbeans project, but it can be used as a reference for you to customize the script to suit your needs.
The signer bash file:
1 2 3 4 | #!/bin/bash find . -name "*.jar" -exec jarsigner -keystore /path/to/your/key -storepass yourpassword '{}' yourkeystorename \; echo 'JARs signed'; exit 0 |
This script will actually search all files ending with .jar from the current directory recursively and then sign it. This means, it can be used separately without ant script. Just make it executeable and run it.
Put this in the last line of your build.xml but it must before the closing tag of the “project” (build.xml can be found in your main project directory)
1 2 3 4 5 6 7 8 | <project> . . . <target name="-post-jar"> <exec dir="${dist.dir}" executable="/path/to/your/signer" os="Linux" /> </target> </project> |
This script will basically sign the jars after all the jars has been build. Please note that it’s better if you set all the path using absolute type of path.
After this, you just have to use Clean and Build to automatically generate the JARs and also automatically sign it. This script will also sign all of your libraries. Good luck :)
Top 11 Youtube Memes
Maybe you’ve seen these videos, maybe not, but these videos are ranked as the most popular at the moment based on their total views. I didn’t check every video, but most of them are viewed at least 1 million times. They are so popular that they became the Internet meme.
- Rick Roll
- Chocolate Rain
- Samwell – “What What (In the Butt)”
- Tron Guy
- Numa Numa
- Star Wars Kid
- Sneezing Panda
- Chris Cocker
- Laughing Baby
- Afro Ninja
Rick Roll
Chocolate Rain
Samwell – “What What (In the Butt)”
Tron Guy
Numa Numa
Star Wars Kid
Sneezing Panda
Dramatic Gopher
Chris Cocker
Laughing Baby
Afro Ninja
South Park making fun to these meme except for Rick Roll
Credits to Valleywag.
