Open yanne opened 10 years ago
Original comment by mrmall...@gmail.com
on Mar 23, 2011.
perhaps add an includes and excludes argument in conjunction with libraryOrResourceDirectory parameters:
mvn robotframework:libdoc -DlibraryOrResourceDirectory=src/main/java/com/example/keywords -Dinclude=resource1.txt|resource2.txt -Dexclude=testCase1.txt|testCase2.txt
Original comment by mrmall...@gmail.com
on Mar 23, 2011.
example above doesn't mean you have to use them both at the same time i guess. should be use either, but not necessarily both
Original comment by dietrich...@googlemail.com
on Mar 23, 2011.
The surefire plugin and many others support includes and excludes with patterns. Maybe one can use their implementation, maybe there is even something in the maven framework for that.
Original comment by dietrich...@googlemail.com
on Mar 23, 2011.
However, at the moment it would be more important for me to have 1.1 out, but having the libdoc goal with includes and excludes.
Original comment by mrmall...@gmail.com
on Mar 31, 2011.
current snapshot now supports "includes" and "excludes." you may use "*" for multiple values and "?" for single character values.
this works in conjuction with the libraryOrResourceDirectory parameter. this is being searched recursively.
Original comment by dietrich...@googlemail.com
on Apr 8, 2011.
has support for Ant-style wildcards now, too, which allows to control folder hierarchies using */.txt.
it is a bit difficult to use if you keep resources and tests in the same folder, which seems to be a common practice. Libdoc cannot handle test cases, only resources. A future improvement might be to have a fileset with includes and excludes which runs against the default tests folder. I'll write an issue for that and see if I can come up with something.
This issue was originally opened at Google Code on Mar 23, 2011.