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 161230 - Zero length project.properties is created
Summary: Zero length project.properties is created
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P4 blocker (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 10:18 UTC by Petr Jiricka
Modified: 2016-07-07 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2009-03-26 10:18:59 UTC
1. Open a NetBeans module project which does not have project.properties, e.g. bpel.kit.
2. Go to Project Properties of this module and click Ok.
=> project.properties is created, and it has zero length. Since this file is unnecessary, it should not be created.
Comment 1 rmichalsky 2009-11-12 07:08:28 UTC
core-main #1a444b46edf7
Comment 2 Jesse Glick 2009-11-12 13:53:44 UTC
Should not be handled specially in apisupport.project. Rather, project.ant should take care of this.
Comment 3 Martin Kozeny 2013-08-15 14:49:15 UTC
Module project.ant now take care of this.

https://hg.netbeans.org/core-main/rev/81ddade7cb62
Comment 4 Martin Kozeny 2013-08-16 09:35:53 UTC
Reverted b/c of failing J2SE tests needing empty property files.

https://hg.netbeans.org/core-main/rev/6a49f406d7e1
Comment 5 Martin Kozeny 2013-08-16 15:06:28 UTC
AntProjectHelper.putProperties() should take care of this, but it is necessary to pay attention on J2SEProject tests...reverting to #1a444b46edf7

https://hg.netbeans.org/core-main/rev/f4a3a363cf6e
Comment 6 Quality Engineering 2013-08-17 02:21:15 UTC
Integrated into 'main-silver', will be available in build *201308162300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/81ddade7cb62
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #161230: Module project.ant is now taking care that zero length project.properties file is not created.
Comment 7 Quality Engineering 2013-08-18 02:17:27 UTC
Integrated into 'main-silver', will be available in build *201308172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f4a3a363cf6e
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #161230: Reverting to rmichalsky changeset to work again for apisupport ant projects.
Comment 8 Martin Balin 2016-07-07 08:37:15 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss