<?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: Automatically signing .jar files in NetBeans</title>
	<atom:link href="http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/feed/" rel="self" type="application/rss+xml" />
	<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/</link>
	<description>Bringing together the fine arts of programming and death metal.</description>
	<lastBuildDate>Mon, 01 Aug 2011 12:51:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rodrighez</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-992</link>
		<dc:creator>Rodrighez</dc:creator>
		<pubDate>Mon, 01 Aug 2011 12:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-992</guid>
		<description>You should do the following:
1. Create a folder in your project directory(for example: toerase)
2. write this line over: dist.dir=dist
              with this: dist.dir=toerase
   in project.properties

It should works!

You&#039;ll have your new folder and the unsigned jar inside, but i think it&#039;s not a problem.</description>
		<content:encoded><![CDATA[<p>You should do the following:<br />
1. Create a folder in your project directory(for example: toerase)<br />
2. write this line over: dist.dir=dist<br />
              with this: dist.dir=toerase<br />
   in project.properties</p>
<p>It should works!</p>
<p>You&#8217;ll have your new folder and the unsigned jar inside, but i think it&#8217;s not a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandros Monastiriotis</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-988</link>
		<dc:creator>Alexandros Monastiriotis</dc:creator>
		<pubDate>Wed, 20 Jul 2011 22:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-988</guid>
		<description>Thank you for this excellent tutorial.</description>
		<content:encoded><![CDATA[<p>Thank you for this excellent tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fiar</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-977</link>
		<dc:creator>Fiar</dc:creator>
		<pubDate>Wed, 18 May 2011 07:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-977</guid>
		<description>if i using
jarsign.signedjar=dist/TestApplet.jar

The following error occurred :
Exception in thread &quot;main&quot; java.util.zip.ZipError: jzentry == 0,
 jzfile = 45300144,
 total = 5,
 name = D:\TestApplet\dist\TestApplet.jar,
 i = 1,
 message = null
        at java.util.zip.ZipFile$2.nextElement(ZipFile.java:321)
        at java.util.zip.ZipFile$2.nextElement(ZipFile.java:299)
        at sun.security.tools.JarSigner.getManifestFile(JarSigner.java:1554)
        at sun.security.tools.JarSigner.signJar(JarSigner.java:892)
        at sun.security.tools.JarSigner.run(JarSigner.java:203)
        at sun.security.tools.JarSigner.main(JarSigner.java:74)
Result: 1
Signed Jar &#039;dist/TestApplet.jar&#039; created

if i not using
jarsign.signedjar=dist/TestApplet.jar
it works, it creates signed TestApplet.jar
But it should created at dist/TestApplet.jar in order to run properly</description>
		<content:encoded><![CDATA[<p>if i using<br />
jarsign.signedjar=dist/TestApplet.jar</p>
<p>The following error occurred :<br />
Exception in thread &#8220;main&#8221; java.util.zip.ZipError: jzentry == 0,<br />
 jzfile = 45300144,<br />
 total = 5,<br />
 name = D:\TestApplet\dist\TestApplet.jar,<br />
 i = 1,<br />
 message = null<br />
        at java.util.zip.ZipFile$2.nextElement(ZipFile.java:321)<br />
        at java.util.zip.ZipFile$2.nextElement(ZipFile.java:299)<br />
        at sun.security.tools.JarSigner.getManifestFile(JarSigner.java:1554)<br />
        at sun.security.tools.JarSigner.signJar(JarSigner.java:892)<br />
        at sun.security.tools.JarSigner.run(JarSigner.java:203)<br />
        at sun.security.tools.JarSigner.main(JarSigner.java:74)<br />
Result: 1<br />
Signed Jar &#8216;dist/TestApplet.jar&#8217; created</p>
<p>if i not using<br />
jarsign.signedjar=dist/TestApplet.jar<br />
it works, it creates signed TestApplet.jar<br />
But it should created at dist/TestApplet.jar in order to run properly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-974</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Wed, 27 Apr 2011 21:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-974</guid>
		<description>Sounds like you put the text in the wrong place in your build.xml - is it inside your &lt;project&gt; tag?</description>
		<content:encoded><![CDATA[<p>Sounds like you put the text in the wrong place in your build.xml &#8211; is it inside your &lt;project&gt; tag?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajeena`</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-973</link>
		<dc:creator>rajeena`</dc:creator>
		<pubDate>Wed, 27 Apr 2011 08:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-973</guid>
		<description>The following error occurred while executing this line:
C:\Documents and Settings\work\My Documents\NetBeansProjects\helloApplet\build.xml:75: Unexpected text &quot;target name=&quot;-post-jar&quot;&gt;&quot;
BUILD FAILED (total time: 0 seconds)
Can u explain this?</description>
		<content:encoded><![CDATA[<p>The following error occurred while executing this line:<br />
C:\Documents and Settings\work\My Documents\NetBeansProjects\helloApplet\build.xml:75: Unexpected text &#8220;target name=&#8221;-post-jar&#8221;&gt;&#8221;<br />
BUILD FAILED (total time: 0 seconds)<br />
Can u explain this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-972</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Wed, 20 Apr 2011 06:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-972</guid>
		<description>Is that the full error message? If there&#039;s nothing after the &#039;for:&#039; part it probably means that you&#039;re not passing the alias name at all.

Make sure that you have set jarsign.alias correctly in your project.properties file, and that there is an argument for jarsign.alias in your build.xml file.

If it&#039;s still not working, go back to basics. Try manually signing your .jar file from the command line using your keystore. If that&#039;s not working, you&#039;ll know it&#039;s a problem with your keystore, and Google should be able to help you from with that.</description>
		<content:encoded><![CDATA[<p>Is that the full error message? If there&#8217;s nothing after the &#8216;for:&#8217; part it probably means that you&#8217;re not passing the alias name at all.</p>
<p>Make sure that you have set jarsign.alias correctly in your project.properties file, and that there is an argument for jarsign.alias in your build.xml file.</p>
<p>If it&#8217;s still not working, go back to basics. Try manually signing your .jar file from the command line using your keystore. If that&#8217;s not working, you&#8217;ll know it&#8217;s a problem with your keystore, and Google should be able to help you from with that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Faisal Basra</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-971</link>
		<dc:creator>Faisal Basra</dc:creator>
		<pubDate>Sun, 17 Apr 2011 15:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-971</guid>
		<description>Hi, I did the settings as you said but get the following error.

jarsigner: Certificate chain not found for:

any help?</description>
		<content:encoded><![CDATA[<p>Hi, I did the settings as you said but get the following error.</p>
<p>jarsigner: Certificate chain not found for:</p>
<p>any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-965</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Thu, 27 Jan 2011 07:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-965</guid>
		<description>This tutorial is more about how to use the keystore automatically in NetBeans, and it&#039;s assumed that you already have a bit of knowledge about the process.

If you need help in actually creating the keystore, try running through this tutorial first: http://www.cs.princeton.edu/introcs/85application/jar/sign.html</description>
		<content:encoded><![CDATA[<p>This tutorial is more about how to use the keystore automatically in NetBeans, and it&#8217;s assumed that you already have a bit of knowledge about the process.</p>
<p>If you need help in actually creating the keystore, try running through this tutorial first: <a href="http://www.cs.princeton.edu/introcs/85application/jar/sign.html" rel="nofollow">http://www.cs.princeton.edu/introcs/85application/jar/sign.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erin</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-964</link>
		<dc:creator>Erin</dc:creator>
		<pubDate>Thu, 27 Jan 2011 07:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-964</guid>
		<description>No, that is not possible. If you password protected (encrypted) your .jar file, the Java runtime environment would not be able to understand the contents in order to run it.</description>
		<content:encoded><![CDATA[<p>No, that is not possible. If you password protected (encrypted) your .jar file, the Java runtime environment would not be able to understand the contents in order to run it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilson</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-961</link>
		<dc:creator>Wilson</dc:creator>
		<pubDate>Tue, 25 Jan 2011 00:26:55 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-961</guid>
		<description>will this password protected my .jar file from unzip?</description>
		<content:encoded><![CDATA[<p>will this password protected my .jar file from unzip?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

