Svatopluk Dedic created NETBEANS-975: ----------------------------------------
Summary: Template Wizard does not create files on config FS Key: NETBEANS-975 URL: https://issues.apache.org/jira/browse/NETBEANS-975 Project: NetBeans Issue Type: Bug Components: platform - Data Systems Reporter: Svatopluk Dedic Assignee: Svatopluk Dedic I wanted to use the {noformat} o.o.loaders.TemplateWizard{noformat} to create some files on config FS. I have vound that when the Wizard completes, the resulting FileObject is placed correctly, but comes from the underlying physical filesystem. Then checks like the following fail: {code:java} wizard.setTargetFolder(DataFolder.findFolder(FileUtil.getConfigFile("scripts")); Set<DataObject> result = wizard.instantiate(); FileObject fo = result.iterator().next().getPrimaryFile(); FileObject cfRoot = FileUtil.getConfigRoot(); if (FileUtil.isParentOf(cfRoot, fo)) { // never reached } {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists