[Bluej-discuss] Excluding directories in the submitter?
Stephen Edwards
edwards at cs.vt.edu
Tue Jan 29 19:54:53 GMT 2008
I was fiddling with some submitter definitions today, trying to
find a way to exclude javadoc from student submissions (after
all, that is just derived info that is already contained in the
Java source files). However, I wasn't able to do it cleanly.
From playing around, the behavior of the submitter seems to
be:
+ .file.exclude patterns cannot be directories, only file names.
+ .file.exclude patterns cannot contain directory/folder names
at all, even if they identify specific files.
+ There is no way to exclude a directory, except by excluding
all the files it contains with simple file name patterns that
do not contain any directory information.
Are these true? If so, would it be hard to modify the submitter
to support directory patterns instead of just plain file patterns?
As an example, ANT's file patterns are fairly rich and allow one
to express directory structure restrictions and/or file naming
restrictions in a fairly comprehensive way, without being too
difficult to learn (with only /, *, and ? as the special chars).
-- Steve
---------------------------------------------------------------------------
Virginia Tech, CS Dept. Web-CAT: Web-based Center for Software Testing
2050 Torgersen Hall (0106) Automatic grading using student-written tests
Blacksburg, VA 24061 USA http://web-cat.sourceforge.net/
(540)-231-5723 http://people.cs.vt.edu/~edwards/
More information about the bluej-discuss
mailing list