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 53161 - Created files on server change not in views
Summary: Created files on server change not in views
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 14:31 UTC by zikmund
Modified: 2006-03-24 12:46 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 zikmund 2005-01-10 14:31:58 UTC
Continuous build 20050107-1409 (works fine in -1322)

1) Register Application server (in Runtime tab)
2) Create new WebApp project
3) Change server to Tomcat in project's customizer
4) Confirm customizer (OK)
5) ERROR:
directory META-INF is not visible in
Projects/Files view, but it is on the disk.
Refresh doesn't help.

6) Create directory in Web Pages folder
7) OK: META-INF is visible.

Probably caused by Radek Matous commit (2005-01-07
13:56) of issue #51551 'MasterFileSystem redesign'.
Comment 1 Pavel Buzek 2005-02-16 17:31:53 UTC
The web/META-INF folder is not visible even in Favorites window, so I
assume it is not web/project issue.
Comment 2 Sherold Dev 2005-02-21 11:02:29 UTC
*** Issue 55233 has been marked as a duplicate of this issue. ***
Comment 3 rmatous 2005-02-21 11:57:12 UTC
I tested and debuged it and the problem doesn't seem to be on my side.

After changing server in properties there wasn't called explicit
FileObject.createFolder thus "META-INF" was created as an external
change from FileSystem point of view. Moreover I didn't captured no
MasterFS.refresh call after this change. So, there is no way how
should MasterFS fire events.
Comment 4 Petr Jiricka 2005-02-21 13:46:39 UTC
Stepane, do we fire refresh() after creating META-INF externally?
Comment 5 Sherold Dev 2005-02-22 12:15:30 UTC
Problem with META-INF/context.xml fixed. 
 
Commit log: 
 
Checking in src/org/netbeans/modules/tomcat5/ide/Bundle.properties; 
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/Bundle.properties,v  
<--  Bundle.properties 
new revision: 1.29; previous revision: 1.28 
done 
Checking in 
src/org/netbeans/modules/tomcat5/ide/TomcatPlanSplitter.java; 
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/TomcatPlanSplitter.java,v  
<--  TomcatPlanSplitter.java 
new revision: 1.7; previous revision: 1.6 
done 
 
Comment 6 zikmund 2005-02-24 14:12:46 UTC
Verified in 200502231900 - META-INF problem. Duplicate issue 55233 has
been reopened (no more a duplicate).