I think I am leaning toward a mid point.

If you run the tool on the directory /home/me/workspace/myproject/foo

then all reported files should be relative to that directory.
So
/home/me/workspace/myproject/foo/pom.xml  is reported as pom.xml
/home/me/workspace/myproject/foo/src/main/java/org/example/foo/Foo.java is
reported as src/main/java/org/example/foo/Foo.java

This way you can find the file relative to the path but the report does not
leak the directory structure above the project.  This will also make
comparing reports from 2 different systems easier.

Claude

On Fri, Aug 30, 2024 at 4:06 PM P. Ottlinger <[email protected]> wrote:

> Am 30.08.24 um 17:03 schrieb Claude Warren:
> > The long version is the current value.
>
> +1
>
> I'm in favour of the long version as I wouldn't find src.txt in a more
> complex setup and know that some downstream users have big repos to run
> RAT on :)
>
> Cheers,
> Phil
>
>

-- 
LinkedIn: http://www.linkedin.com/in/claudewarren

Reply via email to