[kaffe] kjc drops class files in wrong location

Ito Kazumitsu ito.kazumitsu@hitachi-cable.co.jp
Fri, 6 Sep 2002 11:21:52 +0900


In message "[kaffe] kjc drops class files in wrong location"
    on 02/09/05, Ross Burton <ross@burtonini.com> writes:

> $ kjc a/package/name/class.java
> 
> produces a file class.class in the current directory, not in
> a/package/name.  I consider this to be wrong behaviour, but am open to
> good arguments for why it is correct.

I do not see any problem about the behaviour of kjc.

$ ls -al test/test1/test2/
total 3
drwxrwxr-x   2 ito      ito          1024 Sep  6 11:09 ./
drwxrwxr-x   3 ito      ito          1024 Sep  6 11:03 ../
-rw-rw-r--   1 ito      ito            49 Sep  6 11:04 Test01.java
$ cat test/test1/test2/Test01.java
package test.test1.test2;
public class Test01 {}
$ kjc test/test1/test2/Test01.java
$ ls -al test/test1/test2/
total 4
drwxrwxr-x   2 ito      ito          1024 Sep  6 11:11 ./
drwxrwxr-x   3 ito      ito          1024 Sep  6 11:03 ../
-rw-rw-r--   1 ito      ito           252 Sep  6 11:11 Test01.class
-rw-rw-r--   1 ito      ito            49 Sep  6 11:04 Test01.java