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 194899

Summary: Using symlinks for directories with JSP, makes netbeans to make the JSP's empty.
Product: javaee Reporter: mihxil <mihxil>
Component: JSPAssignee: Anton Chechel <manowar>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description mihxil 2011-01-31 09:46:29 UTC
Sometimes I like to temporary replace a directory with JSPs in the maven target directory with a symlink back to the source. Then I can use a different editor, to quickly fix some issues in JSP.

It seems that netbeans is detecting changes in the source and finds that it should copy it implicitly to the target. So far so good, but when using this symlink it will replace the JSP's in the source directory with empty files, which is pretty much the worst thing it can do in this situation, because it is very confusing and destructive.
Comment 1 Anton Chechel 2011-03-28 12:49:12 UTC

*** This bug has been marked as a duplicate of bug 169962 ***