[Webtest] [dev] lib/optional directory

Paul King webtest@lists.canoo.com
Wed, 21 Dec 2005 22:40:30 +1000


Sorry for the late reply.

As a general principal, I would like us to move towards antlib
style grouping of functionality. In theory (if I understand correctly)
that would allow us to have separate jars for different parts of the
functionality which we could import in as necessary, e.g. Core, PDFs,
Applets, verifySchema, PropertyTable, Email Extension step, etc.
That I guess would probably work best with separate subdirectories
somewhere for each antlib (maybe lib/schema etc., maybe elsewhere).

I would still propose we include all functionality in the download
just enable it through separate imports. Having said that, I haven't
tried anything I have written using this approach yet so it may
be harder than it looks! :-) In which case lib is OK by me. My
lib/optional dir currently just contains jruby.jar and jython.jar
which I use with scriptStep (neither are checked in).

Paul.

Marc Guillemot wrote:
> Hi Developers,
> 
> in lib dir we have a subdirectory named optional. What is the meaning of 
> it as long as we ship only one distribution?
> 
> I want to integrate Lothar Märkle's verifySchema and it contains many 
> additional libraries. Due to this optional subdirectory, I don't know if 
> they are better placed directly in lib or in lib/optional. Any thoughts?
> 
> Marc.
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 
>