[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1712) Move Apache Shindig JS configuration out of a jar
Minh Hoang TO (JIRA)
jira-events at lists.jboss.org
Mon Jan 10 20:45:49 EST 2011
[ https://issues.jboss.org/browse/GTNPORTAL-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574554#comment-12574554 ]
Minh Hoang TO commented on GTNPORTAL-1712:
------------------------------------------
We created a new class GateInJsonContainerConfig which override the loading of container.js. The former code
{code}
String content = ResourceLoader.getContent(entry);
{code}
is replaced with
{code}
final ClassLoader contextCl = Thread.currentThread().getContextClassLoader();
InputStream resourceInputStream = contextCl.getResourceAsStream(entry);
String content = IOUtils.toString(resourceInputStream, "UTF-8");
loadFromString(content, all);
{code}
> Move Apache Shindig JS configuration out of a jar
> -------------------------------------------------
>
> Key: GTNPORTAL-1712
> URL: https://issues.jboss.org/browse/GTNPORTAL-1712
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Thomas Heute
> Assignee: Minh Hoang TO
> Labels: portal-s45, portal-s46, worked
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> At the moment, to modify the container.js configuration file from Shindig, one have to modify:
> exo.portal.gadgets-core-*.jar
> It would be better to have the configuration file as part of the eXoGadgetServer war (WEB-INF directory)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list