Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files should be overwritten #20

Closed
io7m opened this issue Feb 2, 2022 · 0 comments
Closed

Files should be overwritten #20

io7m opened this issue Feb 2, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@io7m
Copy link
Owner

io7m commented Feb 2, 2022

xstructural: Main: ERROR: java.nio.file.FileAlreadyExistsException: /builds/data/workspace/com.io7m.calino/com.io7m.calino.specification/target/epub/epub/META-INF/container.xml
com.io7m.xstructural.api.XSProcessorException: java.nio.file.FileAlreadyExistsException: /builds/data/workspace/com.io7m.calino/com.io7m.calino.specification/target/epub/epub/META-INF/container.xml
	at com.io7m.xstructural.vanilla.internal.XSEPUBCreator.execute(XSEPUBCreator.java:261)
	at com.io7m.xstructural.vanilla.internal.XSProcessor.execute(XSProcessor.java:82)
	at com.io7m.xstructural.cmdline.XSCommandTransformEPUB.execute(XSCommandTransformEPUB.java:100)
	at com.io7m.xstructural.cmdline.Main.run(Main.java:116)
	at com.io7m.xstructural.cmdline.MainExitless.main(MainExitless.java:47)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:254)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.nio.file.FileAlreadyExistsException: /builds/data/workspace/com.io7m.calino/com.io7m.calino.specification/target/epub/epub/META-INF/container.xml
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:94)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
	at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
	at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
	at java.base/java.nio.file.Files.copy(Files.java:3160)
	at com.io7m.xstructural.vanilla.internal.XSEPUBCreator.writeContainerFile(XSEPUBCreator.java:491)
	at com.io7m.xstructural.vanilla.internal.XSEPUBCreator.execute(XSEPUBCreator.java:254)
@io7m io7m added the bug Something isn't working label Feb 2, 2022
@io7m io7m self-assigned this Feb 2, 2022
@io7m io7m closed this as completed in 5ea7f66 Feb 3, 2022
io7m added a commit that referenced this issue Feb 3, 2022
Release: com.io7m.xstructural 1.4.0

Change: Fix a bug where documents with comments would be rejected (Ticket: #18)
Change: Ensure existing files are replaced when producing EPUBs (Ticket: #20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant