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 - [60cat] NB should support sources and classes in the same location
Summary: [60cat] NB should support sources and classes in the same location
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@platform
Depends on:
Reported: 2007-12-10 08:05 UTC by tboerkel
Modified: 2009-01-06 14:04 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.