[uportal-dev] resources aggregation now in trunk

2009-11-19 Thread Nicholas Blair
I've just committed the resources aggregation process described in
UP-2505 on to trunk. There is one caveat: it's currently not enabled.

layout/theme/universality/page.xsl contains a comment that shows what
needs to be done to switch. I've commented it out because it works for
everything but the guest layout.
It's odd too, sometimes the guest layout renders all the appropriate
link and script tags perfectly as described in the skin, other times
it only renders the first CSS link.

In the case this problem occurs, ResourcesXalanElements (the class
that the XSL uses to render the link/script tags from the skin
configuration) doesn't even run (I've set a breakpoint on the first
line in the class, and it doesn't get tripped).

Chatting briefly with Eric he suggested it may be a guest layout
caching issue; let me know if you have any thoughts or see anything
that may be wrong.

Thanks!
Nick

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev


Re:[uportal-dev] resources aggregation now in trunk

2009-11-23 Thread Nicholas Blair
I've just committed the changes required to enable resource
aggregation in trunk.

The problem I mentioned below turned out to be a bug in all versions
of Xalan prior to 2.7.1.

I've updated the XalanVersionCheck to be "fatal," and I've updated the
remediation steps printed if the test fails. The most common one we
may run into is the JRE on Mac OS X.
If you are running Java 5 on Mac, Apple decided to include a jar on
the system classpath
(/System/Library/Frameworks/JavaVM.framework/Resources/.compatibility/14compatibility.jar)
that includes version 2.4 of Xalan.
Renaming this file (e.g. 14compatibility.jar.old) is sufficient in this case.

Let me know if you have any questions or run into any trouble.
Thanks!
Nick


On Thu, Nov 19, 2009 at 8:44 PM, Nicholas Blair
 wrote:
> I've just committed the resources aggregation process described in
> UP-2505 on to trunk. There is one caveat: it's currently not enabled.
>
> layout/theme/universality/page.xsl contains a comment that shows what
> needs to be done to switch. I've commented it out because it works for
> everything but the guest layout.
> It's odd too, sometimes the guest layout renders all the appropriate
> link and script tags perfectly as described in the skin, other times
> it only renders the first CSS link.
>
> In the case this problem occurs, ResourcesXalanElements (the class
> that the XSL uses to render the link/script tags from the skin
> configuration) doesn't even run (I've set a breakpoint on the first
> line in the class, and it doesn't get tripped).
>
> Chatting briefly with Eric he suggested it may be a guest layout
> caching issue; let me know if you have any thoughts or see anything
> that may be wrong.
>
> Thanks!
> Nick
>

-- 
You are currently subscribed to uportal-dev@lists.ja-sig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev