473,387 Members | 1,579 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Netbeans/ant not signing Jars

I'm finding I'm unable to use the ant tool with Netbeans in Windows
2000 to sign the JAR files I generate. I'm using the following ant
tag, and the .keystore file is in my home directory:
<signjar jar="WebStartApp.jar" alias="kitfox"
storepass="xxxxxxxx"/>
However, when I try to jar and sign this via Netbeans, I get:
Signing Jar : C:\dev\java_dev\webstart_test\WebStartApp.jar
ant_make.xml [51] Execute failed: java.io.IOException: CreateProcess:
jarsigner -storepass xxxxxxxx
C:\dev\java_dev\webstart_test\WebStartApp.jar kitfox error=2
BUILD FAILED
Total time: 0 seconds
However, if I try executing the shell code ant seems to generate, my
jar is signed with no errors:
jarsigner -storepass xxxxxxxx
C:\dev\java_dev\webstart_test\WebStartApp.jar kitfox
Also, when I execute ant 1.5.3 from the command line, it also
succeeds.

Any ideas what's going wrong? Netbeans uses ant 1.5.1 and won't let
me change it to another version.

Mark McKay
Jul 17 '05 #1
0 4608

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: King W.Wang | last post by:
Hi all, I've installed NetBeans IDE 3.5 on Windows XP. But if I try to start it, a message box shows "cannot load jvm.dll". This library does exist in a subdirectory. My questions are: 1) Is...
0
by: John Ochiltree | last post by:
Can anyone here help me with a configuration problem. How do I configure netbeans to use jar files. I am trying to use the Jena RDF jars with NetBeans IDE 3.5.1 but can't seem to get netbeans to...
1
by: Martin | last post by:
I have a couple of questions around code signing with MS technology: 1. Is there a way to transfer the generated strong name signing private key directly to a smartcard (or generate it on the...
5
by: Thomas | last post by:
Hi folks, is there any obvious reason why the java compiler cannot load jars from an NTFS filesystem under Linux (Debian) ? I know for sure that the path I specify is correct and I have read...
0
by: buk110 | last post by:
Hi everyone, I'm new to using JAVA and I'm trying to interact with a web service I wrote in C# I downloaded Netbeans & followed the instructions to point to the wsdl file I navigated to my...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
0
by: sokeefe | last post by:
I use NetBeans IDE to develop a Java application. In the past, I could use the Design Editor to edit my form for the GUI. Spontaneously, NetBeans is unable to open the form file, producing this...
1
by: sokeefe | last post by:
I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerException when I try to add an Event to any given JButton (even ones that...
3
by: dorito | last post by:
I have built an app in NetBeans on a PC and compiled it into a JAR file - Qubic.jar. I now want to move that to a Mac Pro and run it. What I actually ended up with was: dist/ Qubic.jar ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.