Re: PROPOSAL: Seperate *.class files from *.java files in build

Holger Krug <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
On Wed, Jul 17, 2002 at 04:06:13AM -0500, Brian Smith wrote:
> I would like to change the build files for MDR so that the classfiles 
> get dumped into a seperate directory hierarchy from the source files 
> during compilation. I realize that inside of NetBeans this isn't 
> necessary because NetBeans hides the classfiles from you. But, I am 
> working with MDR on computers that can't have NetBeans installed on them 
> for a variety of reasons (old, slow, crappy home computer; 
> administrative rules). And, when not using NetBeans the classfiles are 
> continuously in my way in directory browsers and with my CVS client.
> 
> What do you think? If it is okay I can submit a patch. But, I don't 
> write a patch that won't be accepted because I don't want to have to 
> maintain a completely seperate build.xml from the one everybody else is 
> using.

I was like you when I still worked with good old emacs. But using
Netbeans as IDE you really require to have *.class besides *.java,
because the IDE display additional information to the user, which can
only be retrieved from class files. So we internally changed all our
build files and have now *.class and *.java in one directory.

Hence you probably won't get your patch through. The only possibility
would be to simultaneously submit a patch to the core Netbeans
infrastructure which hints Netbeans to look up the classes in a
separate directory and to wait until this patch gets integrated into
the Netbeans core. Actually I would not recommend to do this ;-)

-- 
Holger Krug
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.