This morning I’ve become crazy to sign a .jar application with automatic tools. At the end I’ve discovered that Ant got this skill and all around me become easier. I put here a really easy example of Ant build.xml with the principals command to sign jar application hoping it could be useful to everybody.