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.

View | Details | Raw Unified | Return to bug 218976
Collapse All | Expand All

(-)a/o.n.upgrader/src/org/netbeans/upgrade/CopyFiles.java (+10 lines)
Lines 67-72 Link Here
67
 * @author Jiri Skrivanek
67
 * @author Jiri Skrivanek
68
 */
68
 */
69
final class CopyFiles extends Object {
69
final class CopyFiles extends Object {
70
    
71
    //>>> hack for http://netbeans.org/bugzilla/show_bug.cgi?id=218976
72
    private static final String CSSSP = "config/Editors/text/";
73
    private static final String ORIG_CSSSP = CSSSP + "x-css";
74
    private static final String TARG_CSSSP = CSSSP + "css";
75
    //<<<eof
70
76
71
    private File sourceRoot;
77
    private File sourceRoot;
72
    private File targetRoot;
78
    private File targetRoot;
Lines 186-191 Link Here
186
            // nothing matches
192
            // nothing matches
187
            return;
193
            return;
188
        }
194
        }
195
        
196
        //>>> hack for http://netbeans.org/bugzilla/show_bug.cgi?id=218976
197
        if(relativePath.startsWith(ORIG_CSSSP)) { relativePath = TARG_CSSSP + relativePath.substring(ORIG_CSSSP.length()); } 
198
        //<<<
189
199
190
        File targetFile = new File(targetRoot, relativePath);
200
        File targetFile = new File(targetRoot, relativePath);
191
        LOGGER.log(Level.FINE, "Path: {0}", relativePath);  //NOI18N
201
        LOGGER.log(Level.FINE, "Path: {0}", relativePath);  //NOI18N

Return to bug 218976