[Bluej-discuss] Excluding directories in the submitter?
Cecilia Vargas
C.A.Vargas at kent.ac.uk
Thu Jan 31 14:45:54 GMT 2008
Stephen,
You are right that in the submission.defs file you cannot specify
directory patterns, only file patterns, and I agree with you that
directory patterns ought to be allowed. I have entered a request for
enhancement (ticket #110) in Bluej's Trac, so the change you requested
is now in our to-do list. You can view our progress on it in Trac.
Cecilia
Stephen Edwards wrote:
> 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/
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
More information about the bluej-discuss
mailing list