You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using je with IntelliJ on Windows 10 and I'm having a hard time getting a file from CRX when working with a project checked out on a drive different from the one where IntelliJ and je are installed.
DEBUG je::fsops > writing cleaned lines back to file
INFO je::fsops > moving files from C:\Users\TOMASZ~1.NIE\AppData\Local\Temp\.tmp0DKhrP\jcr_root\apps\bazbaz\components\xyz\.content.xml to Z:\home\tomasz_niedzwiedz\repos\foo\foo-aaa-aem\bar-bar-bar\ui.apps\src\main\content\jcr_root\apps\bazbaz\components\xyz\.content.xml
DEBUG je::fsops > files under C:\Users\TOMASZ~1.NIE\AppData\Local\Temp\.tmp0DKhrP\jcr_root\apps\bazbaz\components\xyz\.content.xml:
DEBUG je::fsops > - C:\Users\TOMASZ~1.NIE\AppData\Local\Temp\.tmp0DKhrP\jcr_root\apps\bazbaz\components\xyz\.content.xml
Error: The system cannot move the file to a different disk drive. (os error 17)
It appears to be caused by the fs:rename method being used in fsops.rs
On Windows, https://doc.rust-lang.org/std/fs/fn.rename.html uses MoveFileEx internally. MoveFileEx does allow a flag to be set, which permits moving between drives, but this isn't something I can control through flags or variables when calling je.
Consider changing the way files are moved so that it's easier to work with multiple drives.
The text was updated successfully, but these errors were encountered:
toniedzwiedz
changed the title
Can't move a file between drives while pushing
Can't move a file between drives while getting content from AEM
Jul 7, 2021
I'm using
je
with IntelliJ on Windows 10 and I'm having a hard timeget
ting a file from CRX when working with a project checked out on a drive different from the one where IntelliJ and je are installed.It appears to be caused by the
fs:rename
method being used infsops.rs
On Windows, https://doc.rust-lang.org/std/fs/fn.rename.html uses
MoveFileEx
internally.MoveFileEx
does allow a flag to be set, which permits moving between drives, but this isn't something I can control through flags or variables when callingje
.Consider changing the way files are moved so that it's easier to work with multiple drives.
The text was updated successfully, but these errors were encountered: