-
1. Re: Seam Testing - How to Change HSQLDB
zergspirit Jul 18, 2008 10:19 AM (in response to israel.bgf)You should look into your /bootstrap/META-INF directory.
-
2. Re: Seam Testing - How to Change HSQLDB
marcioendo.marcioendo.gmail.com Jul 18, 2008 4:03 PM (in response to israel.bgf)If your project was generated by JBossTools you should look into:
your-project-test/test-src/META-INF
You should find the -ds.xml file in there.
-
3. Re: Seam Testing - How to Change HSQLDB
israel.bgf Jul 18, 2008 7:21 PM (in response to israel.bgf)Sorry, i forgot to say: i created my project with seam-gen. And in the bootstrap/META-INF/ there is only a file called
persistence.properties
. -
4. Re: Seam Testing - How to Change HSQLDB
marcioendo.marcioendo.gmail.com Jul 18, 2008 8:30 PM (in response to israel.bgf)Note that this -ds.xml file should be in your test source folder:
your-project-test/test-src/META-INF
and not in:
bootstrap/META-INF
At least this happens with JBoss Tools. Not sure if it is the same with seam-gen.
But in any case, can't you just do a search for *-ds.xml files in your project?!?
-
5. Re: Seam Testing - How to Change HSQLDB
israel.bgf Jul 18, 2008 9:17 PM (in response to israel.bgf)Well, i searched for it before and... it doesn't exists. I think that the seam-gen already use the hsqldb-ds.xml in the bootsrap by default.
About the /test-src/ directory, i tryed to put it in src-test and test-build directory... no success either.
Well, the problem is exactly this one:
http://oldreaper.spaces.live.com/blog/cns!9380AD0F680E9113!308.entry
but, the solution did not work for me, i got some strange errors about the PersistenceManager can't be instancied.
Thks again, and i'm still opened for new ideas.
-
6. Re: Seam Testing - How to Change HSQLDB
dado0583 Oct 9, 2008 2:30 PM (in response to israel.bgf)Hi, I know this thread is a little old. I created my project with seam-gen (version 2.0.2.SP1) and the -ds.xml files were created in basedir/resources/*-ds.xml.