[jboss-as7-dev] -Dmodule.path=/foo/modules:/bar/modules ? /// Re: Testsuite: Running with alternative DB will change the tested AS dir

Stuart Douglas stuart.w.douglas at gmail.com
Tue Jul 31 19:48:18 EDT 2012


Yes, that is exactly how it should work.

Stuart


On 01/08/2012, at 9:30 AM, Ondrej Zizka <ozizka at redhat.com> wrote:

> Is this possible already? If, then how? 
> I would expect   File.pathSeparator-separated list of directories put to module.path, like  
> 
>     -Dmodule.path=/foo/modules:/bar/modules
> 
> Is that supported?
> 
> Ondra
> 
> 
> 
> On Wed, 2012-08-01 at 08:59 +1000, Stuart Douglas wrote:
>> 
>> I would prefer we setup a more general solution for this in the test suite infrastructure, as there are a few tests that need to add modules. Basically as part of the server build / arquillian config I would prefer a second modules dir to be specified in the target directory, and any new modules can then be added to this directory, so there is no need to touch the original modules directory.
>> 
>> Stuart
>> 
>> On 01/08/2012, at 8:58 AM, Ondřej Žižka <ozizka at redhat.com> wrote:
>> 
>> > Hi all,
>> > 
>> > due to how testsuite works (the modules/ dir is not copied to instances but referenced),
>> > the module for the JDBC driver is added in the original dir,
>> > *when running with other than H2 db*  using -Dds=... .
>> > 
>> > Is everyone ok with that?
>> > 
>> > Regards,
>> > Ondra
>> > _______________________________________________
>> > jboss-as7-dev mailing list
>> > jboss-as7-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120801/7ebbbd38/attachment.html 


More information about the jboss-as7-dev mailing list