[Building Sakai] Sakai Wicket Maven Archetype, 1.1 release

Jim Eng jimeng at umich.edu
Thu Jul 28 18:47:22 PDT 2011


Hi Steve,

I'm really liking the new wicket maven archetype so far, but I have one question.  I notice that the <vendor>.properties files have ddl statements to create tables.  I haven't gotten far enough to tell whether these are used only if the global auto-ddl property is true, but it makes me wonder whether it would be better to put the SQL for creating tables, sequences, indexes, etc. in separate files so they could be run as a script if auto-ddl is OK and turned over to a DBA in cases where that is the preferred modus.  

Thoughts?

Thanks for your work on this.  

Jim




On Jul 19, 2011, at 6:36 AM, Steve Swinsburg wrote:

> Hi all,
> 
> I am proud to announce the 1.1 release of the Sakai Wicket Maven Archetype. The archetype is an automatically generated Sakai tool, complete with API and tool layers wired together via Spring.
> 
> The major new feature in this release is a full DAO layer, backed by Spring JDBC including auto.ddl and database vendor detection. More Wicket components have also been added to show how a Sakai tool can render items from a database, add items via a form, as well as have paged lists.
> 
> The command to generate a working Sakai app from the archetype is:
> 
> mvn archetype:generate -DarchetypeGroupId=org.sakaiproject.maven-archetype -DarchetypeArtifactId=sakai-wicket-maven-archetype -DarchetypeVersion=1.1 -DarchetypeRepository=https://source.sakaiproject.org/maven2/
> 
> Then simply mvn clean install sakai:deploy and you are on your way.
> 
> cheers,
> Steve
> _______________________________________________
> 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"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110728/7281b4e8/attachment.html 


More information about the sakai-dev mailing list