Re: RE: how to change data base location

Gene <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
keel-map.properties, with the xpath mappings for jdbc, should come from 
svc-persist-base at build time.  You might check that the file is there, 
{KEEL_HOME}/svc-persist-base/conf/server/keel-map.properties.

if so, you may need to update your keel-build from cvs, to incorporate 
the latest override features.

Also, you might check {KEEL_PROJ}/webapp/WEB-INF/web.xml, and find the 
value for keel.config.override, that is the location your 
keel.properties file will be looked for.  By default, it should be 
{KEEL_PROJ}, but you can also set it in {KEEL_PROJ}/ant.properties.

let me know what you find, i'm happy to try and get this working.

gene

Raoul Pierre wrote:
> Gene wrote:
>  >>/ - {KEEL_PROJ}/{MODULE}/conf/server/keel.properties with: /
>  >>/ jdbc.database.url=jdbc:hsqldb:./db/test/keel-hsqldb /
>  > place that file in {KEEL_PROJ}/
> 
> When I put keel.properties file in {KEEL_PROJ} directory, it is not 
> copied in webapp/keel/conf/server (and then there is no such 
> keel.properties file)
> But when I put it as above, it is copied.
> 
>  >>/ - {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 don't put the above file, the 
> webapp/WEB-INF/keel/conf/server/keel-map.properties default file 
> includes only:
> mailer.host=//mailer/host
> model.timeout=//system-properties/property[@name='model.timeout']|value
> 
> There is no xpath mapping for element jdbc/dburl.
> 
> So I think that the 2 files are needed and must be in 
> {KEEL_PROJ}/{MODULE}/conf/server to be copied in 
> webapp/WEB-INF/keel/conf/server.
> 
>  >>/ 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.
> 
> No. Any new idea?
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.