18 Jan 2012 20:02
Re: [Deploying Sakai] Template Question
Hi Matthew,
Okay, I've edited the default.js in admin/sakai-2.8.0/reference/library/src/webapp/editor/ckeditor/plugins/templates/templates/default.js
But now I'm confused about what to do next as I'm trying to follow mvn clean vs mvn install. What I would normally do next is run mvn clean install sakai:deploy -Dmaven.tomcat.home=/Users/admin/tomcat/ to port it all into tomcat. Again, when I go to admin/tomcat/webapps/library/editor/ckeditor/plugins/templates/templates and check default.js the edits are there but when I actuall restart tomcat they don't show up.
Is this the wrong thing to do?
Thanks,
Larry Dougher
Director of Technology
Windsor Southeast Supervisory Union
On Wed, Jan 18, 2012 at 1:39 PM, Matthew Jones <jonespm <at> umich.edu> wrote:
The files in the */target/* directory are created during the mvn install process, you want to edit the files in the./library/src/webapp/editor/ckeditor/plugins/templates/templates/default.jsIf you run "mvn clean" before you deploy it will clean this target directory up, when you do mvn install it overwrites from the actual source file.
On Wed, Jan 18, 2012 at 12:52 PM, Larry Dougher <ldougher-4O5+7jl2+DFeoWH0uzbU5w@public.gmane.org> wrote:
Hello all,We are running 2.8.0 and our editor is CKeditor.I went to admin/sakai-2.8.0/reference/library/target/library/editor/ckeditor/plugin/templates/templates and edited default.js.I did a rebuild. After the rebuild, the edit does show up if I look in tomcat/webapps/library/editor/ckeditor/plugins/templates/templates/default.jsHowever, when I login as a test account, go to Portfolio-Matrices, click on adding a reflection which brings up the editor, click on Template and choose the one I edited (the body is what I care about, not so much the title yet) the edit doesn't show up.Any ideas? Am I editing the wrong part fo the source?Thanks,
Larry Dougher
Director of Technology
Windsor Southeast Supervisory Union
_______________________________________________
production mailing list
production-BjRK66m5fVy5gssncpSZNGm0pvjS0E/A@public.gmane.org
http://collab.sakaiproject.org/mailman/listinfo/production
TO UNSUBSCRIBE: send email to production-unsubscribe-BjRK66m5fVymB2llxjVcyw@public.gmane.orgroject.org with a subject of "unsubscribe"
_______________________________________________
production mailing list
production-BjRK66m5fVxwNWwuN+x1Qw@public.gmane.orgaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/production
TO UNSUBSCRIBE: send email to production-unsubscribe-BjRK66m5fVy5gssncpSZNGm0pvjS0E/A@public.gmane.org with a subject of "unsubscribe"
_______________________________________________ production mailing list production@... http://collab.sakaiproject.org/mailman/listinfo/production TO UNSUBSCRIBE: send email to production-unsubscribe@... with a subject of "unsubscribe"
RSS Feed