RED-4510: Generated Redaction Log and Generating will not run with profile
This commit is contained in:
parent
c54ee6e7bf
commit
712b86a19a
@ -630,6 +630,9 @@ public class RulesTest {
|
|||||||
String absolutePath = path.toAbsolutePath().toString();
|
String absolutePath = path.toAbsolutePath().toString();
|
||||||
System.out.println("absolutePath: " + absolutePath);
|
System.out.println("absolutePath: " + absolutePath);
|
||||||
int pos = StringUtils.indexOf(absolutePath, StringUtils.replace(RESOURCES_PATH, "/", "\\")) + 18;
|
int pos = StringUtils.indexOf(absolutePath, StringUtils.replace(RESOURCES_PATH, "/", "\\")) + 18;
|
||||||
|
|
||||||
|
pos = StringUtils.indexOf(absolutePath, RESOURCES_PATH) + 18;
|
||||||
|
|
||||||
System.out.println("pos: " + pos);
|
System.out.println("pos: " + pos);
|
||||||
fileNames.add(StringUtils.substring(absolutePath, pos));
|
fileNames.add(StringUtils.substring(absolutePath, pos));
|
||||||
System.out.println("Added: " + StringUtils.substring(absolutePath, pos));
|
System.out.println("Added: " + StringUtils.substring(absolutePath, pos));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user