Skip to content

Commit e45f532

Browse files
committed
Fix for #4660
Trash trgen assumes the initial directory location to be that where the desc.xml file resides. Any example inputs should be relative to that. So, "examples/" must be part of the string because "**/*.java" includes not only those .java files in "examples/", but also in "target/" and "Generated-*/"!
1 parent ec9ccb7 commit e45f532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/java20/desc.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<desc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../_scripts/desc.xsd">
33
<targets>CSharp;Cpp;Dart;Go;Java;JavaScript;Python3;TypeScript;Antlr4ng</targets>
4-
<inputs>**/*.java</inputs>
4+
<inputs>examples/**/*.java</inputs>
55
</desc>

0 commit comments

Comments
 (0)