7-zip file manager will not display the .zip file directory properly on Windoze because it (the crappy OS) is not case sensitive.
How to reproduce:
Create a .zip file made of concurrent.jar and colt.jar.
* concurrent.jar has the original thing, where directories are tipically EDU/something.
* colt.jar has it's own packaged version of concurrent files in it, but starting with lowercase edu/something instead.
You find these JAR files at http://www.mvnrepository.com/
A tipical directoty would be on a decent operating system:
edu/oswego/
edu/oswego/cs/
edu/oswego/cs/dl/
edu/oswego/cs/dl/util/
edu/oswego/cs/dl/util/concurrent/
edu/oswego/cs/dl/util/concurrent/Barrier.class
... other files
EDU/
EDU/oswego/
EDU/oswego/cs/
EDU/oswego/cs/dl/
EDU/oswego/cs/dl/util/
EDU/oswego/cs/dl/util/concurrent/
EDU/oswego/cs/dl/util/concurrent/Barrier.class
... other files
On Windoze, because it is not case sensitive, you will see only capital EDU or lowercase edu, depending on the order you add colt.jar and concurrent.jar.
In order to list the contents of your created .zip file, use 'jar', which is a Java tool, like this:
1. create a file called "a.txt"
2. create a .zip file containing a.txt
3. delete a.txt
4. create a finel called "A.txt" (observe the capital A)
5. Add A.txt to your .zip file.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
case sensitive filenames
7-zip file manager will not display the .zip file directory properly on Windoze because it (the crappy OS) is not case sensitive.
How to reproduce:
Create a .zip file made of concurrent.jar and colt.jar.
* concurrent.jar has the original thing, where directories are tipically EDU/something.
* colt.jar has it's own packaged version of concurrent files in it, but starting with lowercase edu/something instead.
You find these JAR files at http://www.mvnrepository.com/
A tipical directoty would be on a decent operating system:
edu/oswego/
edu/oswego/cs/
edu/oswego/cs/dl/
edu/oswego/cs/dl/util/
edu/oswego/cs/dl/util/concurrent/
edu/oswego/cs/dl/util/concurrent/Barrier.class
... other files
EDU/
EDU/oswego/
EDU/oswego/cs/
EDU/oswego/cs/dl/
EDU/oswego/cs/dl/util/
EDU/oswego/cs/dl/util/concurrent/
EDU/oswego/cs/dl/util/concurrent/Barrier.class
... other files
On Windoze, because it is not case sensitive, you will see only capital EDU or lowercase edu, depending on the order you add colt.jar and concurrent.jar.
In order to list the contents of your created .zip file, use 'jar', which is a Java tool, like this:
java xf myzipfile.zip > dirlist.txt
Thanks
Richard Gomes
http://www.jquantlib.org/index.php/User:RichardGomes
I meant:
jar xf myzipfile.zip > dirlist.txt
A very simple way to create this scenario is:
1. create a file called "a.txt"
2. create a .zip file containing a.txt
3. delete a.txt
4. create a finel called "A.txt" (observe the capital A)
5. Add A.txt to your .zip file.
Thanks