Bug 7354 - Compatibility with javac when no output directory is specified
Summary: Compatibility with javac when no output directory is specified
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-08 13:27 EST by Olivier Thomann CLA
Modified: 2002-01-11 08:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2002-01-08 13:27:05 EST
The batch compiler creates the directories structure corresponding to the 
package structure even if there is no output directory specified with the -d 
option.
In this case javac generates all the .class files in the user.dir directory 
without any subdirectories corresponding to the package names.
The batch compiler should be compatible with this mode. To get the old behavior, 
simply specify '-d .'. This will generate all the .class files with the 
corresponding directory structure inside the user.dir directory.
Comment 1 Olivier Thomann CLA 2002-01-08 13:28:00 EST
The corresponding changes are released in HEAD. Need to run all the compiler 
tests.
Comment 2 Olivier Thomann CLA 2002-01-08 14:39:34 EST
Fixed in HEAD.