When GanttProject is installed in a directory
like "Program Files" (with a space), the export
doesn't copy the images directory from the theme
directory.
It works fine if I install GanttProject in C:\
The error :
java.net.URISyntaxException: Illegal character in path
at index 16: file:/C:/Program
Files/GanttProject/plugins/org.ganttproject.impex.html_
2.0.0/resource/html-export-themes/my-theme/images
at java.net.URI$Parser.fail(URI.java:2752)
...
Logged In: YES
user_id=1611128
Resolved by changing the line
File result = new File(new URI(imagesUrl.toString()));
by this line :
File result = new File(imagesUrl.getFile());
in method
public File getImagesDirectory()
(ExporterToHTML.java)
It seems to work