Project

General

Profile

Actions

Bug #4695

closed

File.move with OVERWRITE flag

Added by Schwarz Lionel almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
engine
Target version:
-
Start date:
06/18/2013
Due date:
% Done:

100%

Estimated time:

Description

Using OVERWRITE flag with File.move:

file.move(toUrl, Flags.OVERWRITE.getValue());

gives the exception:

[main] WARN impl.SagaFactoryImpl - Failed to load engine properties, using defaults [.\etc\jsaga-config.properties (The system cannot find the path specified)]
BadParameter: Flags not allowed for this method: 1
at fr.in2p3.jsaga.impl.namespace.FlagsHelper.allowed(FlagsHelper.java:39)
at fr.in2p3.jsaga.impl.namespace.FlagsHelper.allowed(FlagsHelper.java:27)
at fr.in2p3.jsaga.impl.namespace.AbstractSyncNSEntryImpl.removeSync(AbstractSyncNSEntryImpl.java:278)
at fr.in2p3.jsaga.impl.file.AbstractSyncFileImpl.removeSync(AbstractSyncFileImpl.java:170)
at fr.in2p3.jsaga.impl.namespace.AbstractSyncNSEntryImpl.moveSync(AbstractSyncNSEntryImpl.java:269)
at fr.in2p3.jsaga.impl.namespace.AbstractNSEntryImpl.move(AbstractNSEntryImpl.java:254)
at fr.in2p3.jsaga.impl.file.AbstractNSEntryImplWithStream.move(AbstractNSEntryImplWithStream.java:105)

Actions

Also available in: Atom PDF