RFR: 8375649: idea.sh script adds source paths in a single, enormous, line to jdk.iml
David Beaumont
duke at openjdk.org
Thu Jan 22 10:49:55 UTC 2026
On Mon, 19 Jan 2026 17:23:10 GMT, David Beaumont <duke at openjdk.org> wrote:
> Allow replacement string to contain embedded newlines to split entries.
> This turns output like:
>
>
> <content url="file:///home/david/dev/test/jdk">
> <sourceFolder url="file:///home/david/dev/test/jdk/open/src/java.base/linux/classes" isTestSource="false" /> <sourceFolder url="file:///home/david/dev/test/jdk/open/src/java.base/unix/classes" isTestSource="false" /> <sourceFolder url="file:///home/david/dev/test/jdk/closed/src/java.base/share/classes" isTestSource="false" /> ... another 10k chars on the end of this line ...
>
>
> into:
>
> <content url="file:///home/david/dev/test/jdk">
> <sourceFolder url="file:///home/david/dev/test/jdk/open/src/java.base/linux/classes" isTestSource="false" />
> <sourceFolder url="file:///home/david/dev/test/jdk/open/src/java.base/unix/classes" isTestSource="false" />
> <sourceFolder url="file:///home/david/dev/test/jdk/closed/src/java.base/share/classes" isTestSource="false" />
> ... one entry per line ...
The spaces are correct (6) and the first line's indent is in the template file itself.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29305#issuecomment-3783728479
More information about the build-dev
mailing list