-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
6u29
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When creating a jar file with the jar utility, a single file is not copied while all other files are copied, seklected by wildcart *.*
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Download httpcomponents-client-4.1.2-bin.tar.gz
- Extract all files with WinZip into a working directory c:\test
- In the working directory, create a file c:\test\jar-job.bat from source code
- Open a command prompt at C:\test
- type jar-job.bat at the command prompt
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All files should be added to the new jar file
When archiving the directory with WinZip, I get 693 files.
ACTUAL -
Actual result:
C:\test>jar-job.bat
httpcomponents-client-4.1.2\javadoc\httpcomponents-client-4.1.2\javadoc\allclasses-frame.html : no such file or directory
C:\test>
The jar utility does not copy all files.
With this procedure, the jar file contains only 692 files.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
httpcomponents-client-4.1.2\javadoc\httpcomponents-client-4.1.2\javadoc\allclasses-frame.html : no such file or directory
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
@echo off
path=C:\Program Files\Java\jdk1.6.0_30\bin
jar cfM httpcomponents-client-4.1.2-javadoc.jar -C httpcomponents-client-4.1.2\javadoc httpcomponents-client-4.1.2\javadoc\*.*
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use WinZip
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
When creating a jar file with the jar utility, a single file is not copied while all other files are copied, seklected by wildcart *.*
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Download httpcomponents-client-4.1.2-bin.tar.gz
- Extract all files with WinZip into a working directory c:\test
- In the working directory, create a file c:\test\jar-job.bat from source code
- Open a command prompt at C:\test
- type jar-job.bat at the command prompt
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
All files should be added to the new jar file
When archiving the directory with WinZip, I get 693 files.
ACTUAL -
Actual result:
C:\test>jar-job.bat
httpcomponents-client-4.1.2\javadoc\httpcomponents-client-4.1.2\javadoc\allclasses-frame.html : no such file or directory
C:\test>
The jar utility does not copy all files.
With this procedure, the jar file contains only 692 files.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
httpcomponents-client-4.1.2\javadoc\httpcomponents-client-4.1.2\javadoc\allclasses-frame.html : no such file or directory
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
@echo off
path=C:\Program Files\Java\jdk1.6.0_30\bin
jar cfM httpcomponents-client-4.1.2-javadoc.jar -C httpcomponents-client-4.1.2\javadoc httpcomponents-client-4.1.2\javadoc\*.*
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Use WinZip
- relates to
-
JDK-6494520 Documentation of jar -C option
-
- Open
-