[
https://issues.apache.org/jira/browse/WOOKIE-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147121#comment-13147121
]
Paul Sharples commented on WOOKIE-288:
--------------------------------------
I've committed some changes for this, see Revision: 1199782. The WAR Maven
artifact should now use the embedded derby DB. I will test it further to make
sure its all okay, then put up a snapshot in the repo.
Some things to note...
(1) It creates/checks the user.home folder to see if the DB files exist. I'm
not sure if this is a problem or not, but it means under tomcat for example,
the DB files are created under tomcat/bin, as that is where the server is
booted from. (in fact our ant scripts do the same thing - create the db files
in the root of the project where the ant script is run from)
(2) When you download the maven artifact, it will have a different name from
its desired web context name.
i.e. in the snapshot repository for in example, it might be called
'wookie-0.9.2-incubating-SNAPSHOT.war'
Once downloaded it would need to be renamed wookie.war, in order to have the
correct context name/paths.
On another note, I'm not sure our WAR release build (a la
http://people.apache.org/~psharples/wookie/staging-area/0p9p1/rc5/binary/war/)
should also use derby. I think this build serves another purpose. I would
think that it might be better to leave that one as a Mysql type build - it
contains instructions that a user would typically want advice on when
installing wookie within a proper server environment (i.e. tomcat & mysql)
> Allow WAR release artifacts to use an embedded database
> -------------------------------------------------------
>
> Key: WOOKIE-288
> URL: https://issues.apache.org/jira/browse/WOOKIE-288
> Project: Wookie
> Issue Type: Improvement
> Reporter: Scott Wilson
> Assignee: Paul Sharples
> Fix For: 0.9.2
>
>
> WAR release (and WAR Maven artifacts) should be able to run without needing
> to configure an external database - e.g. use an embedded db for easy
> deployment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira