Uploaded image for project: 'Skin factory'
  1. Skin factory
  2. SKINFACTORY-188

Unable to open the skin factory when a the ribbon file has to be regenerated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.4.0
    • None
    • None
    • 4.3 RC1

      I add a new skin parameter, so the ribbon file is not up-to-date.
      But when trying to open the skin with the skin factory tool, I have the following error:

      Caused by: java.nio.file.FileAlreadyExistsException: D:\Dev\Ametys\templates\web\master\webapp\cms\models\demo\model\cms-ribbon.xml
      	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:87)
      	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
      	at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231)
      	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:478)
      	at java.base/java.nio.file.Files.newOutputStream(Files.java:219)
      	at java.base/java.nio.file.Files.copy(Files.java:3066)
      	at org.ametys.skinfactory.generators.RibbonGenerator.generate(RibbonGenerator.java:119)
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: