Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 407962

Summary: Jarsigner error: [signjar] jarsigner error: java.lang.RuntimeException: keystore load: C:\Docum ents and Settings\Gopakumar\.keystore (The system cannot find the file specified ) [signjar] Enter Passphrase for keystore:
Product: [Eclipse Project] JDT Reporter: Gopakumar N G <gopakumarng123>
Component: APTAssignee: Generic inbox for the JDT-APT component <jdt-apt-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: eclipse
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
build.xml file
none
build.properties file none

Description Gopakumar N G CLA 2013-05-13 23:51:07 EDT
Created attachment 230919 [details]
build.xml file

I have created a project and I tried to build the project using ANT for creating a war file for the web project. I have created a keystore file in the project directory (where build.xml resides) and run the ANT build. But the following exception occured:


D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard>ant
Buildfile: build.xml

prepare:

cleartomcat:

clear-remote:
   [delete] Deleting directory D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCa
rd Remote API\build\classpath

incremental-remote:
     [echo] BUILDING REMOTE API
    [mkdir] Created dir: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Rem
ote API\build\classpath
    [javac] Compiling 52 source files to D:\eclipse\workspaces\pblscorecard_ws\P
BL ScoreCard Remote API\build\classpath
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

clean-remote:

clear-pc:
   [delete] Deleting directory D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCa
rd Performance Chart Applet\build\classpath
   [delete] Deleting directory D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCa
rd Performance Chart Applet\dist

incremental-pc:
     [echo] BUILDING PERFORMANCE CHART APPLET
    [mkdir] Created dir: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Per
formance Chart Applet\build\classpath
     [copy] Copying 57 files to D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreC
ard Performance Chart Applet\build\classpath
    [javac] Compiling 37 source files to D:\eclipse\workspaces\pblscorecard_ws\P
BL ScoreCard Performance Chart Applet\build\classpath
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 35 files to D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreC
ard Performance Chart Applet\build\classpath
    [unzip] Expanding: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Perfo
rmance Chart Applet\lib\hessian-3.0.13.jar into D:\eclipse\workspaces\pblscoreca
rd_ws\PBL ScoreCard Performance Chart Applet\build\classpath
    [unzip] Expanding: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Perfo
rmance Chart Applet\lib\composite-1.0.jar into D:\eclipse\workspaces\pblscorecar
d_ws\PBL ScoreCard Performance Chart Applet\build\classpath
    [unzip] Expanding: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Perfo
rmance Chart Applet\lib\morph-1.0.jar into D:\eclipse\workspaces\pblscorecard_ws
\PBL ScoreCard Performance Chart Applet\build\classpath
    [unzip] Expanding: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Perfo
rmance Chart Applet\lib\commons-logging-api.jar into D:\eclipse\workspaces\pblsc
orecard_ws\PBL ScoreCard Performance Chart Applet\build\classpath
    [unzip] Expanding: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Perfo
rmance Chart Applet\lib\jgraph.jar into D:\eclipse\workspaces\pblscorecard_ws\PB
L ScoreCard Performance Chart Applet\build\classpath
    [mkdir] Created dir: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Per
formance Chart Applet\dist
      [jar] Building jar: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Pe
rformance Chart Applet\dist\performancechartedit.jar
  [signjar] Signing JAR: D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard Per
formance Chart Applet\dist\performancechartedit.jar to D:\eclipse\workspaces\pbl
scorecard_ws\PBL ScoreCard Performance Chart Applet\dist\performancechartedit.ja
r as csi
  [signjar] jarsigner error: java.lang.RuntimeException: keystore load: C:\Docum
ents and Settings\Gopakumar\.keystore (The system cannot find the file specified
)
  [signjar] Enter Passphrase for keystore:

BUILD FAILED
D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard\build.xml:556: The following
 error occurred while executing this line:
D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard\build.xml:147: jarsigner ret
urned: 1

Total time: 12 seconds
D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard>


Why the system checks for keystore file in "C:\Documents and settings\Gopakumar\.keystore" ? Actually it resides in "D:\eclipse\workspaces\pblscorecard_ws\PBL ScoreCard\". I am attaching my build.xml and build.properties file. Please help me.
Comment 1 Gopakumar N G CLA 2013-05-13 23:51:57 EDT
Created attachment 230920 [details]
build.properties file
Comment 2 Walter Harley CLA 2013-05-14 16:40:06 EDT
Hi, Gopakumar.  Please use the forums at http://www.eclipse.org/forums/ to get support for Eclipse.  Most likely you want the Web Tools forum, http://www.eclipse.org/forums/index.php/f/88/ .

If, after working with others to make sure that you are correctly using the IDE, you still think there is a bug, you can report it here; please make sure to set the 'Product' and 'Component' tags on the bug as accurately as possible so that the bug is routed to the correct team.