multiple slashes in the path on command hose up java jar command.

Michael Mercer MMercer@lboard.com
Thu Jul 5 10:45:00 GMT 2001


Hello,

>From the tcsh command line, I ran jar command and used two slashes. Look at
example to 
understand what I am talking about. This was found through the use of a
makefile appending 
more than one slash to a path. Reproducible by just typing it in from the
command line.
Everything works fine if you use only one slash. (which I have re-written
the makefiles to do now).

what happens is the jar file contains everything in the classes directory.
The problem is that the 
FULL path is included!! ie: instead of seeing com/lboard/blah/blah.class 
you see: D:/cygwin/cvs_dev/directory/classes/com/lboard/blah/blah.class

Curious if anyone has seen or come across this problem before? 
<<cygcheck.out>> 

The command issued:
Administrator(Administrator) on RTPNT9, 2001/07/05 Thu 13:30:27
/cvs_dev/LMAP/ASC
 > d:/jdk1.3.1/bin/jar cvf junk.jar -C
D:/cygwin/cvs_dev/LMAP/ASC//lbutils/classes com > jar.output
 
^^^
jar.output file attached. (plain text file)
 <<jar.output>> 
Michael Mercer
Sr. Software Engineer
LongBoard, Inc.
(919) 361-3224 
2505 Meridian Parkway
Durham, NC. 27713
mailto:mmercer@lboard.com
mailto:mmercer@ipass.net (personal)

----------------------------------------------------------------------------
----------
In Africa some of the native tribes have a custom of beating
the ground with clubs and uttering spine chilling cries. 
Anthropologists call this a form of primitive self-expression. 
In America we call it golf.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: text/x-algol68
Size: 7420 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010705/6645131c/attachment.bin>
-------------- next part --------------
added manifest
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/(in = 0) (out= 0)(stored 0%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/(in = 0) (out= 0)(stored 0%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/(in = 0) (out= 0)(stored 0%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/Base64.class(in = 4996) (out= 2827)(deflated 43%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/BlockingQueue.class(in = 1851) (out= 966)(deflated 47%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/BlockingQueueBrokenException.class(in = 408) (out= 255)(deflated 37%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/DigitMap$DigitMapEntry.class(in = 874) (out= 477)(deflated 45%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/DigitMap.class(in = 8221) (out= 4112)(deflated 49%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/DigitMapException.class(in = 452) (out= 274)(deflated 39%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/ExUtil.class(in = 854) (out= 480)(deflated 43%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/HexDumper.class(in = 2893) (out= 1619)(deflated 44%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/IDGenerator.class(in = 493) (out= 313)(deflated 36%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/IOUtilities.class(in = 2201) (out= 1163)(deflated 47%)
adding: D:/cygwin/cvs_dev/LMAP/ASC/lbutils/classes/com/lboard/util/ImagePanel.class(in = 815) (out= 464)(deflated 43%)



More information about the Cygwin mailing list