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 146509 - Subversion not available for all source folders in Maven base project
Summary: Subversion not available for all source folders in Maven base project
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
: 145061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-08 14:31 UTC by tkellerer
Modified: 2010-08-19 00:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Context menu on the "Other sources" folder (3.19 KB, image/png)
2008-09-08 14:32 UTC, tkellerer
Details
Context menu on the "conf" sub-folder (6.71 KB, image/png)
2008-09-08 14:33 UTC, tkellerer
Details
Master POM (18.87 KB, text/xml)
2008-09-08 15:46 UTC, tkellerer
Details
POM of the project that is open (7.83 KB, text/xml)
2008-09-08 15:47 UTC, tkellerer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2008-09-08 14:31:53 UTC
I have a maven based project which works fine with the Maven plugin. 

However the project inside NB contains two "virtual" folders on which the Subversion menu is not available.
Sub-directories inside those folders do have the Subversion menu item in the context menu (see screenshots)
Comment 1 tkellerer 2008-09-08 14:32:42 UTC
Created attachment 69313 [details]
Context menu on the "Other sources" folder
Comment 2 tkellerer 2008-09-08 14:33:26 UTC
Created attachment 69314 [details]
Context menu on the "conf" sub-folder
Comment 3 Tomas Stupka 2008-09-08 15:39:25 UTC
what kind of maven project is it?

i'm not very familiar with maven in nb. How do i get such a other sourced folder?

any chance you would create a simple example project on which the problem is reproducible and attach it to the issue?

thanks
Comment 4 tkellerer 2008-09-08 15:46:22 UTC
I'm not very experienced with Maven as well :) I was just happy to see NB simply "work" with our poms. 

I'm not sure how to create a sample project, but I'll add the pom.xml of the project that I used to create the screenshots.

We have one master pom, that I haved attached as master_pom.xml (although it's stored as pom.xml in svn) and one
sub-project specific pom.xml

Note that I "obfuscated" the customer's name with abc, so this is not 100% our real pom

Comment 5 tkellerer 2008-09-08 15:46:56 UTC
Created attachment 69324 [details]
Master POM
Comment 6 tkellerer 2008-09-08 15:47:17 UTC
Created attachment 69325 [details]
POM of the project that is open
Comment 7 Milos Kleint 2008-09-12 11:04:12 UTC
well,the Other sources node aggregates and shows the content of "src/main folder and it excludes any folders that are
shown in more prominent places, eg. src/main/java, src/main/groovy or src/main/webapp

It's not related to pom.xml file in any way (eg. it doens't show resources roots as defined in pom).
I think I've tried before to make it work with version control by was having problems like the inability to exclude the
src/main/java changed files from commits.


Comment 8 Milos Kleint 2009-07-29 10:37:12 UTC
while technically complicated the added value of having the feature is not very high. The more likely pattern is to
commit all changes in the project at once. Or single files/folders. Additionally it cam be easily workarounded by
selecting multiple folders that compose the child nodes of the Others node.
Comment 9 Milos Kleint 2009-07-29 10:44:57 UTC
*** Issue 145061 has been marked as a duplicate of this issue. ***
Comment 10 Antonin Nebuzelsky 2010-07-30 15:17:00 UTC
Reassigning to default owner.
Comment 11 Jesse Glick 2010-08-19 00:02:15 UTC
As in comment #7 and comment #8.