Larry Dougher | 18 Jan 2012 20:37
Favicon

Re: [Deploying Sakai] Template Question

That was it.  I'm using Chrome and it was caching.  Thanks!!

Thanks,


Larry Dougher

Director of Technology

Windsor Southeast Supervisory Union




On Wed, Jan 18, 2012 at 2:31 PM, Matthew Jones <matthew-YDjQipFiwgvby3iVrkZq2A@public.gmane.org> wrote:
It's possible your browser might be caching this file. Did you try to clear the cache? If you looked in the webapps/library/ in tomcat for default.js and your changes made it then it's either a proxy that's caching it or the browser.

It's also possible that tomcat didn't redeploy the war on restart. You might want to check the date on the library.war and then remove the directory and tomcat will redeploy the war. The date on the directory should be more recent than the war, and the war should match be when you ran the deploy.

drwxrwxr-x 15 matthew matthew     4096 2012-01-09 10:31 library
-rw-r--r--  1 matthew matthew  7156302 2012-01-09 10:31 library.war

Just throwing all these ideas out there in case in might be one of them.

I was working with developing a CKEditor plugin recently and I had to use go into the Chrome "Developer tools->Settings (Gear icon)->Disable cache" for it to pick up any of my changes.

-Matthew


On Wed, Jan 18, 2012 at 2:02 PM, Larry Dougher <ldougher <at> wsesu.net> wrote:
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-63aXycvo3TyHXe+LvDLADg@public.gmane.org> 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.js

If 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.js

However, 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-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-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@...
http://collab.sakaiproject.org/mailman/listinfo/production

TO UNSUBSCRIBE: send email to
production-unsubscribe@... with a subject of "unsubscribe"

Gmane