Skip to end of metadata
Go to start of metadata
  • Open up maven.xml in the bsp-model project and take a look at the dentaku:initdb element at the end. The database location, user, and password should be obvious. Set those up as appropriate. These values to go with these variables are in the project.properties file in the home directory.
  • What makes more sense is that we put those variables in the user's properties file in their home directory. See here for more about this. Then, each user doesn't have to worry about someone else on the team clobbering their local variables when they check in.
  • Remember that the top-leven build command is 'maven -o'. Some targets, like dentaku:initdb, are not depended on by any mainline targets. So if you want to install the database, you need to 'maven dentaku:initdb'. If your connection to MySQL is correct, it should start setting up a lot of tables for you!
Labels
  • None