[BLUEJ-110] Enable directory patterns in the submission.defs file in the BlueJ Submitter.
Modify the submitter to support directory patterns instead of just plain file patterns. This request for enhancement comes from Stephen Edwards in his email of 29/01/08 to bluej-discuss, copied below: -------------------------------------------------- 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).
Issue metadata
- Issue type: Task
- Priority: Low
- Fix versions: 3.1.6