In folder, src, I have a set of subfolders with java source code:
/a/A.java
/a/b/B.java
/a/b/c/C.java
I need a property with the following value:
src/a/A.java,src/a/b/B.java,src/a/b/c/C.java
I tried the following:
<pathconvert property="list-of-files">
<globmapper from="*" to="src/*"/>
<fileset dir=${src-folder}/>
</pathconvert>
but I end up with the following value on my property:
src/full/path/to/folder_a/a/A.java,src/full/path/to/folder_a/a/b/B.java,src/full/path/to/folder_a/a/b/c/C.java
How can I accomplish what I want? Any input is appreciated!
<property name="src.dir" location="${src-folder}" />
– Sextans