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 267627 - Empty project.properties file is created in nbproject folder at seamingly random times when working on Maven project
Summary: Empty project.properties file is created in nbproject folder at seamingly ran...
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: HP Linux
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 01:09 UTC by Labalius
Modified: 2016-08-22 01:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file for my NetBeans installation, including the problem described (107.75 KB, text/plain)
2016-08-22 01:46 UTC, Labalius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Labalius 2016-08-18 01:09:28 UTC
I am working on a simple Maven project in NetBeans, using Subversion for SCM. Every so often I find that Netbeans has created an nbproject folder in the same folder as the pom.xml file. Inside nbproject is a project.properties file which is empty. The top-level folder for the project also has its svn:ignore property set to ignore nbproject.

My understanding is that nbproject and project.properties are part of the default NetBeans configuration if you do not use Maven or your own Ant build. I assume that its creation is a bug.

On the latest occasion, I had just created a JUnit test file when I noticed. It may be that on previous occasions I had just created a new file but I am not certain. The new JUnit file was not under SCM as NetBeans only invokes svn add at the point of commit.
Comment 1 Labalius 2016-08-22 01:46:36 UTC
Created attachment 161737 [details]
Log file for my NetBeans installation, including the problem described

The same thing has happened again, when I created a JUnit test file "SniperSnapshotTest.java". I have attached the log file, which features this file name prominently, accompanied by Subversion error messages.

Note that I currently have another bug report open with regard to the Gnome keyring. Log messages pertaining to this problem appear in the log just before the entries concerning SniperSnapshotTest.java.

I suspect this has nothing to do with NetBeans support for Maven after all.