Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
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 23 Mar 2011 at 11:23
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 mrmall...@gmail.com
on 23 Mar 2011 at 11:24
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.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.2</version>
<configuration>
<includes>
<include>**/*IntegrityTest.java</include>
</includes>
</configuration>
Original comment by dietrich...@gmail.com
on 23 Mar 2011 at 12:36
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 dietrich...@gmail.com
on 23 Mar 2011 at 2:41
current snapshot now supports "includes" and "excludes." you may use "*" for
multiple values and "?" for single character values.
<configuration>
<includes>
<include>*esources.*</include>
</includes>
<excludes>
<exclude>*test.*</exclude>
</excludes>
</configuration>
this works in conjuction with the libraryOrResourceDirectory parameter. this is
being searched recursively.
Original comment by mrmall...@gmail.com
on 31 Mar 2011 at 12:54
has support for Ant-style wildcards now, too, which allows to control folder
hierarchies using **/*.txt.
Original comment by dietrich...@gmail.com
on 9 Apr 2011 at 5:24
Original issue reported on code.google.com by
m...@orangeandbronze.com
on 23 Mar 2011 at 11:19