[Bluej-discuss] Excluding directories in the submitter?

Cecilia Vargas C.A.Vargas at kent.ac.uk
Wed Jan 30 15:02:24 GMT 2008


Hi Stephen,

I will look into this. I did not write the code that your question 
refers to, so give me a couple of days. I'll get back to you then either 
way. Once the issue is finally resolved I'll post to the list.

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