[Building Sakai] Installing salora-csv - problems

Gregory Guthrie guthrie at mum.edu
Thu Feb 27 14:47:40 PST 2014


Steve - 
Thanks for the help (as always..!)

1) No, auto.ddl was not set.
   The install guide does'nt say anything about this.
    Is this incremental for any new additions, or does setting this restart the whole database (destructively)?

   Looks like I would need to set it =true, restart Sakai, then reset it to =false.
   I';ll do that, since this is just a test installation, but for our main install, would this clear/restart the database?

2) seems like I should add contrib and new projects to the base pom, to automate this - will do.

Many thanks for the help - your expertise saves many hours or .. time and puzzling!

Greg
-------------------------------------------
From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com] 
Sent: Thursday, February 27, 2014 4:23 PM
To: Gregory Guthrie
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Installing salora-csv - problems

Hi Greg,

> 1) Who creates (or should have created) these new tables, and when?
Is auto.ddl=true in sakai.properties? I'd expect the tool to handle this itself though there may be a requirement to run the DDL yourself, what does the install guide say?

> 2) Once I install/deploy sakora into the sakai-src home directory, do I need to manually rebuild/deploy csv from its home (sub-)directory ever again
If you make changes, yes. Sakai won't know about it in the normal build unless you edit the base pom and add the subdirectoy name to the <modules> section.

> 3) Is the order important here?
If auto.ddl=true  then it should check on each startup and create anything that is missing, assuming 1.

> 4) Also all of the cm_* tables are empty - I presume that is ok?
The Sakora import is meant to load the data into these, right?
See if you can find the SQL it is using to create the tables and run it yourself. The tools isnt working presumably because it doesn't have those tables and can't do its thing.
cheers,
Steve


On Fri, Feb 28, 2014 at 8:05 AM, Gregory Guthrie <guthrie at mum.edu> wrote:
After several iterations, I wanted to clarify and re-query the questions that I have in this case.

I installed Sakai-2.9.1 (source), and tomcat 7.0.21, all work fine. Then I downloaded and installed Sakora-csv (into the sakai-src home directory), did the mvn build in its own home (sub-)directory, and then did the mvn deploy from sakai-src again.

All seemed to go well and report success, but the sakora-csv tests fail. I find that the additional database tables it uses were never created in MySql and that causes the failures.

1) Who creates (or should have created) these new tables, and when?

2) Once I install/deploy sakora into the sakai-src home directory, do I need to manually rebuild/deploy csv from its home (sub-)directory ever again, or will the sakai master mvn automatically pick-up all such sub-projects and run the mvn builds from them?
That is a common approach in make - but I don't know how the mvn configurations is setup.
I presume this same question would apply to any additional contrib projects that get added to sakai before a source build; do they automatically get handled by the master mvn of sakai or do they require manual re-makes.

3) Is the order important here? Did Sakai build all tables (only) at its first startup, and so later deploy's skip that step? I.e. do I need to install svn and deploy before the first sakai mvn-deploy?
If so, what does that mean, I have to remove all previous installs and start over anytime I add a sub-feature to Sakai?

4) Also all of the cm_* tables are empty - I presume that is ok?

-------------------------------------------


_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list