If the working directory is `/home/user/myApp` and the command `jar -cvf app.war *` is run, the web archive is created with proper structure. However if instead of using `*` to specify the files the full path is used in the command by running `jar -cvf app.war /home/user/myApp/*`, all parent directories will be included in the archive as well.

In other words, `jar -cvf app.war *` correctly produces the following structure:

```
|
 - META-INF
|
 - WEB-INF

```

while `jar -cvf app.war /home/user/myApp/*` produces this structure:

```
|
 - home
    |
     - user
         | 
          - myApp
              |
               - WEB-INF
|
 - META-INF

```

Is this a bug? I can't think of any other command that behaves in this manner. This was tested with JDK 1.6.