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.
Summary: | images should not be copied while setting background image using style builder | ||
---|---|---|---|
Product: | web | Reporter: | Jindrich Sedek <jsedek> |
Component: | CSS Visual Tools | Assignee: | Marek Fukala <mfukala> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jindrich Sedek
2007-11-27 16:21:41 UTC
reproducible, the responsible code should be reimplemented since it is still partially based on java.io.File-s fixed Committing 1 file to repository for CSS Visual Editor Support: /space/hg/main/css.visual/src/org/netbeans/modules/css/visual/ui/BackgroundImageUrlDialog.java The current behaviour is following: 1) the edited file is within a webmodule: a. if the selected file is within the same webmodule a relative path to the file is used b. if the file is outside of the webmodule the file is copied to the same folder as is the edited file and relative path is used 2) the edited file IS NOT in a webmodule: a. relative path (up to the filesystem root) is always used; the file is never copied I can imagine someone may want to restrict the 2a. to the project root and then copy the file like in 1b. I can do that is someone has a strong opinion about that. I agree with described behavior and I try to verify it, but while using a CSS file inside module and adding an image outside module (1b) no copy is done and relative path is used instead. To find the webmodule root I need a dependency to the web module api which resides in j2ee cluster. The css.* modules resides in the gsf cluster :-(. OTOH it is a minor priority issue. future=>later NetBeans.org Migration: changing resolution from LATER to WONTFIX |