propertyregex ANT task - need to extract string without newline character

2020-10-15 Thread forumUsr forumUsr
Hello I have following ANT task where I like to extract string starting from a keyword until newline character: Java ANT task results in following output: 2020-10-14 13:55:00.549:INFO::pool-2-thread-1: Logging initialized @25148

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