<?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>Fri, 09 Mar 2012 18:01:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: koool</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-1006</link>
		<dc:creator>koool</dc:creator>
		<pubDate>Tue, 28 Feb 2012 06:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-1006</guid>
		<description>I cannot copy the xml thing but I did not make any changes to it.... just copy pasted you code. Could anyone please help me with this</description>
		<content:encoded><![CDATA[<p>I cannot copy the xml thing but I did not make any changes to it&#8230;. just copy pasted you code. Could anyone please help me with this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koool</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-1005</link>
		<dc:creator>koool</dc:creator>
		<pubDate>Tue, 28 Feb 2012 06:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-1005</guid>
		<description>[code]
   
      
      
      
      
      
      
      
      
   
   Signed Jar &#039;${jarsign.signedjar}&#039; created
 [/code]</description>
		<content:encoded><![CDATA[<p>[code]</p>
<p>   Signed Jar '${jarsign.signedjar}' created<br />
 [/code]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koool</title>
		<link>http://ezzatron.com/2009/09/29/automatically-signing-jar-files-in-netbeans/comment-page-1/#comment-1004</link>
		<dc:creator>koool</dc:creator>
		<pubDate>Tue, 28 Feb 2012 06:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://ezzatron.com/?p=143#comment-1004</guid>
		<description>I tried using this I get the error
Please type jarsigner -help for usage
Please specify jarfile name
Result: 1
Signed Jar &#039;dist\my_project_signed.jar&#039; created

project.properties changes

jarsign.jarsigner=&quot;C:\\Program Files (x86)\\Java\\jdk1.7.0\\bin\\jarsigner.exe&quot;
jarsign.keystore=&quot;C:\\Users\\abc\\.keystore&quot;
jarsign.storepass=pass1234
jarsign.keypass=pass1234
jarsign.signedjar=dist\\my_project_signed.jar
jarsign.alias=myalias


build.xml copy pasted in project element

   
      
      
      
      
      
      
      
      
   
   Signed Jar &#039;${jarsign.signedjar}&#039; created
 </description>
		<content:encoded><![CDATA[<p>I tried using this I get the error<br />
Please type jarsigner -help for usage<br />
Please specify jarfile name<br />
Result: 1<br />
Signed Jar &#8216;dist\my_project_signed.jar&#8217; created</p>
<p>project.properties changes</p>
<p>jarsign.jarsigner=&#8221;C:\\Program Files (x86)\\Java\\jdk1.7.0\\bin\\jarsigner.exe&#8221;<br />
jarsign.keystore=&#8221;C:\\Users\\abc\\.keystore&#8221;<br />
jarsign.storepass=pass1234<br />
jarsign.keypass=pass1234<br />
jarsign.signedjar=dist\\my_project_signed.jar<br />
jarsign.alias=myalias</p>
<p>build.xml copy pasted in project element</p>
<p>   Signed Jar &#8216;${jarsign.signedjar}&#8217; created</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

