This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 123726

Summary: [60cat] NB should support sources and classes in the same location
Product: platform Reporter: tboerkel <tboerkel>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description tboerkel 2007-12-10 08:05:56 UTC
[ BUILD # : 200711261600 ]
[ JDK VERSION : 1.6.0_03 ]

Our project has sources and classes in the same location (just like
it is default with NB 3.x and also when using javac from the command

This scenario is no problem in Eclipse!

Since NB 4.x, we always have to do a lot of customizing and still it
is not "officially" supported.

We always have to do 2 changes:

Ignore .class files in file browser, see issue #123723.

Change build.xml like this:
    <target name="-post-clean" depends="init">
        <echo message="Deleting all classes from
            <fileset dir="${build.classes.dir}"
        <echo message="Deleting all classes from
           <fileset dir="${build.test.classes.dir}"

Also, there is sometimes a problem with badges, see issue #120585.

I don't think, it would be too much work in NB to support this
scenario officially. And it would save us and our customers lots of
work each time we create a project.