-
1. Re: BaseSeamTest - unnecessary depencency on JBoss Embedded?
gavin.king Jul 5, 2007 3:32 PM (in response to asavitsky)It was intentional, I did not know that people used SeamTest without a TM and datasource. I can make it a soft dependency if necessary....
-
2. Re: BaseSeamTest - unnecessary depencency on JBoss Embedded?
asavitsky Jul 5, 2007 3:48 PM (in response to asavitsky)Given that we're stuck here with Tomcat anyways, I'd say it doesn't make much sense to use JBE for tests if it's not used in production (and if it is capable of running standalone - which it is), so, yes, if that dependency could be reworked into a soft one, that would greatly help...
Thanks,
Alex -
3. Re: BaseSeamTest - unnecessary depencency on JBoss Embedded?
gavin.king Jul 5, 2007 3:53 PM (in response to asavitsky)But you'll need *some* kind of datasource, right?
-
4. Re: BaseSeamTest - unnecessary depencency on JBoss Embedded?
asavitsky Jul 5, 2007 4:31 PM (in response to asavitsky)Yes, and I declare it in persistence.xml, via hibernate.* properties. Have to maintain two persistence.xml files, though (one for app and one for test), but since all my test code is in a separate project, it works pretty well (the testing version overrides the app).
-
5. Re: BaseSeamTest - unnecessary depencency on JBoss Embedded?
gavin.king Jul 5, 2007 4:38 PM (in response to asavitsky)OK, well, can you search JIRA to see if there is a pre-existing request for this (I think Michael Youngstrom might have created an issue already). If not, would you create one please. Thanks.
-
6. Re: BaseSeamTest - unnecessary depencency on JBoss Embedded?
asavitsky Jul 5, 2007 4:48 PM (in response to asavitsky)Looks like there's one created already: http://jira.jboss.org/jira/browse/JBSEAM-1538 - my bad for not checking the JIRA in the first place. Looks like there's a patch provided as well - I'll try it out.