[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed: Bug#973070: libsis-base-java: FTBFS: Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink]



On Tue, 27 Oct 2020, Andreas Tille wrote:

> > > Caused by: java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink
> > > 	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1425)
> > > 	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:338)
> > > 	... 4 more
> > > Caused by: java.nio.file.NoSuchFileException: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink

I read this “cannot delete a dangling link because it does not exist”.

Can you check (add debugging output, best shell out to 'ls -l', because
at this point I don’t trust the JRE!) whether

	targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someDanglingLink

indeed exists at this point, and if so, is a symlink, and whether the
symlink target exists?

I saw an issue with symlinks in the Maven Resources Plugin recently
and now wonder whether this is not a JRE bug. Though we could probably
cobble up an MWE…

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

Mit unserem Consulting bieten wir Unternehmen maßgeschneiderte Angebote in
Form von Beratung, Trainings sowie Workshops in den Bereichen
Softwaretechnologie, IT Strategie und Architektur, Innovation und Umsetzung
sowie Agile Organisation.

Besuchen Sie uns auf https://www.tarent.de/consulting .
Wir freuen uns auf Ihren Kontakt.

*************************************************


Reply to: