uPortal IRC Logs-2012-05-03

[12:39:48 CDT(-0500)] <peterjhart> I am looking into how to permanently turn off content aggregation in uP4 for development

[12:40:17 CDT(-0500)] <peterjhart> The instructions on this page are out of date: https://wiki.jasig.org/display/UPM40/UE+Development+Tips

[12:40:36 CDT(-0500)] <EricDalquist>  -Dorg.jasig.resourceserver.utils.aggr.aggregated_theme=false

[12:40:37 CDT(-0500)] <peterjhart> because the parameters in portal.properties were removed by UP-2808

[12:40:50 CDT(-0500)] <EricDalquist> that needs to be set as a system property

[12:40:56 CDT(-0500)] <peterjhart> where do I pass that

[12:40:57 CDT(-0500)] <EricDalquist> in whatever manner you start tomcat

[12:41:03 CDT(-0500)] <peterjhart> ok

[12:41:06 CDT(-0500)] <EricDalquist> so how do you start/stop tomcat?

[12:41:23 CDT(-0500)] <peterjhart> /etc/init.d/tomcat

[12:41:38 CDT(-0500)] <EricDalquist> so there should be a way to set CATALINA_OPTS

[12:41:46 CDT(-0500)] <EricDalquist> you would add to that env variable

[12:42:01 CDT(-0500)] <peterjhart> ok

[12:44:49 CDT(-0500)] <holdorph> there's probably a config file in /etc somewhere it could get added to

[12:44:50 CDT(-0500)] <peterjhart> why is it better to have it set at the tomcat level than at the webapp level?

[12:45:02 CDT(-0500)] <holdorph> but I've never used a distribution packaged tomcat to know where it would be

[12:45:40 CDT(-0500)] <peterjhart> I add it straight into /etc/init.d/tomcat, which is a script

[12:45:45 CDT(-0500)] <peterjhart> tomcat6 rather

[12:46:10 CDT(-0500)] <holdorph> yeah, but there's probably an actual config file where values like that could go

[12:46:28 CDT(-0500)] <holdorph> because that script in /etc/init.d will get overwritten when the package is updated in the future

[12:46:37 CDT(-0500)] <holdorph> config files do not

[12:46:52 CDT(-0500)] <peterjhart> good point

[13:08:04 CDT(-0500)] <athena> EricDalquist: with the spring ehcache library, how do i configure what's used as a cache key?

[13:08:25 CDT(-0500)] <athena> like i have a method getMap(PortletRequest request), and i'd like to it just cache the result ignoring the portlet request parameter

[13:08:29 CDT(-0500)] <athena> since it's the same for all users

[13:09:06 CDT(-0500)] <EricDalquist> oh ... um

[13:09:21 CDT(-0500)] <EricDalquist> heh I'm not sure you can do that (tongue)

[13:09:25 CDT(-0500)] <EricDalquist> there is @CacheKey

[13:09:33 CDT(-0500)] <EricDalquist> but that lists which parameters are included

[13:09:46 CDT(-0500)] <EricDalquist> I'm not sure you can exclude a single param

[13:09:52 CDT(-0500)] <EricDalquist> or maybe it is @CacheKeyParam

[13:10:04 CDT(-0500)] <EricDalquist> I get confused now with my focus being on the jsr107 work

[13:10:08 CDT(-0500)] <athena> ok

[13:10:24 CDT(-0500)] <athena> i haven't actually ever used the library because every single thing i want to cache has portlet request as a param (tongue)

[13:10:26 CDT(-0500)] <athena> just wondered

[13:11:00 CDT(-0500)] <athena> if i use @CacheKey can i exclude the portlet request by listing what i do want?

[13:11:05 CDT(-0500)] <athena> or not so much?

[13:11:21 CDT(-0500)] <EricDalquist> well it is a parameter lvel annotation

[13:11:37 CDT(-0500)] <EricDalquist> so you would have done something like method(@CacheKey String foo, Object bar)

[13:11:42 CDT(-0500)] <EricDalquist> and foo would be part of the key

[13:11:57 CDT(-0500)] <EricDalquist> but that doesn't work when you want to exclude the only argument

[13:12:23 CDT(-0500)] <athena> ah gotcha

[13:12:26 CDT(-0500)] <athena> that makes sense

[13:12:27 CDT(-0500)] <athena> ok (smile)

[13:48:46 CDT(-0500)] <athena> i must be stupid for trying to reinstall eclipse while traveling

[16:16:49 CDT(-0500)] <EricDalquist> athena: you around?

[16:16:57 CDT(-0500)] <athena> yep

[16:17:05 CDT(-0500)] <athena> what's up?

[16:17:06 CDT(-0500)] <EricDalquist> just pushed a bit of cleanup to the courses portlet

[16:17:23 CDT(-0500)] <EricDalquist> changed the approach for the course/course summary wrapper objects

[16:17:34 CDT(-0500)] <EricDalquist> so that we don't have to depend on an sun impl jar

[16:17:57 CDT(-0500)] <EricDalquist> I'm going to be working on integrated our WS client now

[16:18:01 CDT(-0500)] <EricDalquist> and then our UI customizations

[16:18:10 CDT(-0500)] <EricDalquist> but those will live on a uw branch in our github repo

[16:18:14 CDT(-0500)] <athena> sounds good

[16:18:19 CDT(-0500)] <EricDalquist> but I'll be sure to push over other fixes if we find issues

[16:18:26 CDT(-0500)] <athena> awesome

[16:18:26 CDT(-0500)] <EricDalquist> wanted to thank you again for the help on this

[16:18:36 CDT(-0500)] <athena> sure thing (smile) glad we'll actually have someone running it

[16:18:45 CDT(-0500)] <athena> are you going to be able to contribute CSS for the grades view?

[16:19:56 CDT(-0500)] <EricDalquist> yes I think so

[16:20:02 CDT(-0500)] <EricDalquist> but probably not exactly what we have

[16:20:08 CDT(-0500)] <EricDalquist> since our view is going to be just grades

[16:20:10 CDT(-0500)] <EricDalquist> no courses

[16:20:19 CDT(-0500)] <EricDalquist> at least for now