Re: RE: how to change data base location
Gene <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Raoul Pierre wrote:
> Gene wrote:
> > I may be way out of line here, but i believe the keel-dbpool
> > element is configured a little differently than other elements.
> > The setting are in the ant.properties in the project folder, and
> > it is created at build. (As I understand it)
> >
> > You can override by adding elements in a keel.properties file
> > in your project folder, as described here: http://www.keelfra
> <http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch09.html>
>
> > mework.org/release/
> <http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch09.html>HEAD/docbook/keel-doc/html_chunk/
> <http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch09.html>
>
> > manual/ch09.html
> <http://www.keelframework.org/release/HEAD/docbook/keel-doc/html_chunk/manual/ch09.html>
>
> >
> > hth gene
>
> I tried that too. I created 2 files,
> - {KEEL_PROJ}/{MODULE}/conf/server/keel.properties with:
> jdbc.database.url=jdbc:hsqldb:./db/test/keel-hsqldb
place that file in {KEEL_PROJ}/
> - {KEEL_PROJ}/{MODULE}/conf/server/keel-map.properties with:
> jdbc.database.url=//jdbc/dburl
>
shouldn't need the keel-map.properties, those are the xpath mappings,
and should already be defined.
> When I build the project, these 2 files are copied in
> webapp/keel/conf/server directory. But Keel still took the original value.
>
> Any idea?
>
I'm hoping that does it.
gene
> Pierre.
>
> http://keelframework.org/documentation.shtml
> Keelgroup mailing list
> [email protected]
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
>
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com