Re: replaceregexp task overrides the file permissions

2020-08-09 Thread Stefan Bodewig
> After replacement, replaceregexp task overrode the permissions. It does, as do or or any other task where Ant creates a file by itself. Historically this all stems from Java not providing access to permissions of files or directories at all. Neither reading permissions nor writing them. Thi

replaceregexp task overrides the file permissions

2020-08-05 Thread forumUsr forumUsr
Hello In my ant build file: Copy original installation folder to newer path ( I like to preserve the permissions of the files during copy ): Find and replace string that have older path with the newer path in all the files of the directory ( if needed recursively ) : After r