[ 
https://issues.apache.org/jira/browse/WOOKIE-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Niederhausen updated WOOKIE-406:
-----------------------------------------

    Attachment: wookie-redeploy.txt

Submitted a patch to resolve the problem.
                
> Widget redeploying fails on Windows
> -----------------------------------
>
>                 Key: WOOKIE-406
>                 URL: https://issues.apache.org/jira/browse/WOOKIE-406
>             Project: Wookie
>          Issue Type: Bug
>    Affects Versions: 0.14.0
>         Environment: Windows 7 x64
>            Reporter: Matthias Niederhausen
>         Attachments: wookie-redeploy.txt
>
>
> With the latest version of Wookie, I get an error whenever I try to redeploy 
> a widget:
> ERROR ContextListener:206 - FloodGraph.wgt:Hot deploy error: Unable to move 
> dropped .wgt file to upload folder - [translated: Syntax for file name is 
> wrong]
> java.io.IOException: [translated: Syntax for file name is wrong]
>       at java.io.WinNTFileSystem.canonicalize0(Native Method)
>       at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:414)
>       at java.io.File.getCanonicalPath(File.java:589)
>       at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:876)
>       at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:835)
>       at 
> org.apache.wookie.util.WidgetFileUtils.dealWithDroppedFile(WidgetFileUtils.java:176)
>       at 
> org.apache.wookie.server.ContextListener$1$1.fileModified(ContextListener.java:187)
>       at org.apache.wookie.util.WgtWatcher.check(WgtWatcher.java:95)
>       at 
> org.apache.wookie.server.ContextListener$1.run(ContextListener.java:230)
> I managed to find out that it is due to the new mechanism that prevents 
> overwriting of widget packages that uses 
> SimpleDateFormat("yyyy-MM-dd'T'HH:mm:SZ"); to create a prefix. On Windows 
> file systems, : is an unallowed character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to