Geert Bevin <gbevin <at> uwyn.com> writes:

> 
> ...
> That sounds about right. However, if you want to set it up without  
> any XML files (not even participants.xml), that should be possible  
> too. Let me know if you want the details about that.
> 
> Actually, if you're looking at test examples for RIFE stuff, you can  
> just delve into the sources and find the relevant test case there.  
> For example:
> https://svn.rifers.org/rife/trunk/src/unittests/com/uwyn/rife/ 
> database/TestDbQueryManager.java
> 

I'll check that out.  I would probably prefer to skip the XML, and I can't get 
it to work anyway:

        Rep.initialize("rep/participants.xml");

        String dsStr = Rep.getProperties().getValueString("datasource");

        logger(this).info("Using datasource name " + dsStr);

        DS = Datasources.getRepInstance().getDatasource(dsStr);

... Even though, in the debugger, it sure looks like the properties are 
getting loaded correctly in initialize().

Thanks once again.

 - JT


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to