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 136753 - svn signals that faces-config.NavData is modified after Netbeans is shut down6.1
Summary: svn signals that faces-config.NavData is modified after Netbeans is shut down6.1
Status: RESOLVED INCOMPLETE
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-08 09:58 UTC by avt74
Modified: 2009-04-06 23:49 UTC (History)
2 users (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 avt74 2008-06-08 09:58:46 UTC
faces-config.NavData changes every time when I quit IDE, even if I save all files before quitting.
It's inconvenient because I commit project, quit IDE, and then have to commit this file again.
Comment 1 Tomas Stupka 2008-06-08 21:41:52 UTC
faces-config.NavData - what project type dos it come from?
Comment 2 Tomas Stupka 2008-06-09 08:26:28 UTC
taken from reporterss mail:

"it's Enterprise Application containing web with jsf "

avt74 - please use issuezilla the next time so we may keep track about the problem at one place

Comment 3 Tomas Stupka 2008-08-01 10:53:24 UTC
reassigning for further evaluation
Comment 4 _ potingwu 2008-08-01 18:12:51 UTC
Web.jsf modules do not handle .NavData extension. From my search, faces-config.NavData is under nbproject directory
which may be handled by web project or top level project. Reassign to web/project for further investigation. Thanks!

Below is one example I found. Looks like it's more related to the project.

<?xml version="1.0" encoding="UTF-8"?>
<Scene Scope="Project" version="2">
    <Scope Scope="Faces Configuration Only"/>
    <Scope Scope="Project">
        <Node id="LoginHelp.jsp" x="150" y="300"/>
        <Node id="RequestResetPassword.jsp" x="400" y="450"/>
        <Node id="ResetPassword.jsp" x="900" y="300"/>
        <Node id="user/EditGroup.jsp" x="150" y="600"/>
        <Node id="CreateAccount.jsp" x="1150" y="150"/>
        <Node id="user/UserPage.jsp" x="400" y="150"/>
        <Node id="user/EditAccount.jsp" x="650" y="300"/>
        <Node id="LoginError.jsp" x="400" y="300"/>
        <Node id="user/ViewGroup.jsp" x="150" y="450"/>
        <Node id="admin/AdminPage.jsp" x="900" y="150"/>
        <Node id="Login.jsp" x="150" y="150"/>
        <Node id="user/FullMasthead.jspf" x="650" y="150"/>
    </Scope>
</Scene>
Comment 5 David Konecny 2008-08-04 03:15:58 UTC
hg grep shows web.jsf.navigation/src/org/netbeans/modules/web/jsf/navigation/PageFlowView.java and hg annotate on that
file shows mostly JoelleLam - passing for evaluation.

Btw. looking at the content of the file is it something what user should keep in their VCS system and share between users?

Anyway, breaking user's VCS interaction is at least P3.
Comment 6 Joelle Lam 2008-08-04 23:41:13 UTC
This file is created to maintain the location of the various files in the faces-config graph.  Much discussion has
happened around whether this file should remain project specific or user specific.

avt74, are you modify the Page Flow View of the Faces Config? The larger issue is what is trigger this file to show up
as modified if you are not using it.  Marking as incomplete to get a response.
Comment 7 avt74 2008-08-05 08:53:30 UTC
Hi,
if faces-config.xml is one of opened files in IDE, then .NavData changes every time when you just start, do nothing, 
and shut down netbeans. Inside .NavData file, the consequence of nodes changes, coordinates remain the same.
SVN commit menu item is disabled.