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.
Where I work, we have several Java webapp projects, stored in a SVN repository, that need to share code. Sharing Java classes is easy, because we can make a separate class library and link to it from multiple projects. But we would also like to be able to share certain JSP files and static resources like CSS and graphics. These resources need to be built into the final .war file that we deploy, but we would like them stored at a shared location in SVN (i.e. not inside any one of our webapp projects). Ideally, we could have a separate project in SVN that included all these shared resources, and each webapp project could link to some of those files in the external directory where they were checked out. This would work like the "add file reference" choice in a Visual Studio C++ project. At any point in the project tree in the Projects pane, you could add a file or directory by reference, and the files would appear and behave like any other file in the project (including being automatically copied to the bundled Tomcat instance when edited). I have not found a way to achieve anything like this under NetBeans 5.5.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss