Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-976

Template wizard does not work well for virtual folders on config fs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Suppose the wizard is configured with a folder in config fs:

       

      wizard.setTargetFolder(DataFolder.findFolder(FileUtil.getConfigFile("scripts"));
       
      

      and that the "scripts" folder is empty and present only in the XML layers of some module.

      The Wizard is unable to create files in such on config FS; it converts FileObject to File quite early and if the target folder is not yet materialized on disk, the Wizard behaves as if no target folder was specified.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            sdedic Svatopluk Dedic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: