In Apache Tuscany, we have a embedded ODE Server that has a dependency on the ODE database (ode-dao-jpa-ojpa-derby-1.1.zip) that get's unzip by the build process when the app is run. I see two issues with this approach : The build infrastructure to unzip the db needs to be copied on every sample app and when running from an IDE, this code might not have been executed, and will require the application developer to go outside of the ide, to run some build command to create the db and make it available on the classpath.
I was wondering if there is some kind of script that could be used to generate the db structure and any initial content. If so, I was thinking to integrate this script into the Embedded ODE Server initialization code, and create the proper db dependencies if not found. Thoughts ? -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/