Write classfiles to same location that javac would

Issue #35 resolved
Jesper Öqvist created an issue

If no output directory is given to javac and we compile a source file in the working directory, then the generated classfile is also placed in the working directory regardless of the package declaration in the source file.

JastAddJ on the other hand will create directories matching the package declaration in the source file and generate the file there.

Comments (3)

  1. Jesper Öqvist reporter

    It seems to be so that javac generates classfiles in the same directory as their respective source files rather than any other directory if no destination directory is given to javac using the -d option.

  2. Log in to comment