LibreOffice / loeclipse

LibreOffice Eclipse plugin for extension development
https://libreoffice.github.io/loeclipse/
31 stars 25 forks source link

LOEclipse writes invalid ZIP files #5

Closed smehrbrodt closed 8 years ago

smehrbrodt commented 8 years ago

When adding a file in a folder to package.properties, the zip file becomes invalid.

LibreOffice reports the following error: (com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } }, TargetException = (any) { (com.sun.star.uno.Exception) { Message = "Bad Zip File, ZipException: Zip entry has an invalid name.", Context = (com.sun.star.uno.XInterface) @339b258 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } }

The problem is that a backslash instead of a forward slash is used, while all other entries in the generated zip file use a forward slash.