GateIn Api Discussion
by Matt Wringe
There have been some discussion on creating an api package to create a
simple way for people to interact and manipulate a gatein portal.
Example situations would be things like creating a gadget, adding an
application to a category, creating a page and adding it to a node,
adding applications to a page, managing users, etc...
Two different solutions have been created, both are a bit different in
approach. These are preliminary and are not meant to be complete, it is
more meant to start of a discussion:
https://github.com/metacosm/gatein-api
https://github.com/mwringe/gatein-api
Lets start a discussion on the above apis and what you would expect to
come from an api like this.
13 years, 4 months
Navigation improvements
by Julien Viet
Hi all,
we have been working hard recently to improve the navigation of gatein to improve the lazy loading, along with this comes new features (that were required to develop) enabling near real time navigation edition. By that understand that navigation visibility between two concurrent browsers is almost instantaneous, even during the edition of a navigation having changes not saved.
I did a short video showing it and I wanted to share it with you http://vimeo.com/23959620
cheers
Julien
13 years, 6 months
Can't build trunk with Maven 2.2.1
by Thomas Heute
I can't build trunk with Maven 2.2.1 (which was the version of Maven we
'standardized' on).
There is a bug in that version of Maven and the way it manages
dependencies on scope:import the consequence is that it cannot find
gatein-dep 1.1.0 Beta02 which is a dependency currently used by at least
one of the components. (See http://jira.codehaus.org/browse/MNG-3553)
I'm ok to 'standardize' on Maven 3 if that helps (It will help for that
issue)
Thomas.
13 years, 6 months
Errors in trunk
by Nick Scavelli
Getting some errors in trunk, not sure if they're related (doesn't seem so).
When starting gatein:
15:04:44,540 ERROR [ExoPortletApplicationDeployer] Error during merge
global portlet metadata to portlet application web
java.io.FileNotFoundException: ../conf/gatein/portlet.xml (No such file
or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.exoplatform.portal.pc.ExoPortletApplicationDeployer.loadGlobalMetadata(ExoPortletApplicationDeployer.java:99)
at
org.exoplatform.portal.pc.ExoPortletApplicationDeployer.buildPortletApplicationMetaData(ExoPortletApplicationDeployer.java:61)
at
org.gatein.pc.mc.PortletApplicationDeployer.add(PortletApplicationDeployer.java:207)
at
org.gatein.pc.mc.PortletApplicationDeployer.onEvent(PortletApplicationDeployer.java:185)
at
org.gatein.wci.impl.DefaultServletContainer.safeFireEvent(DefaultServletContainer.java:200)
at
org.gatein.wci.impl.DefaultServletContainer.addWebAppListener(DefaultServletContainer.java:166)
at
org.gatein.pc.mc.PortletApplicationDeployer.start(PortletApplicationDeployer.java:258)
at
org.exoplatform.portal.pc.ExoKernelIntegration.start(ExoKernelIntegration.java:154)
...
Once inside the portal getting the following errors when trying to
create and save a new page in page-management.
Caused by: java.lang.NullPointerException
at
org.chromattic.core.jcr.SessionWrapperImpl.getNodeType(SessionWrapperImpl.java:126)
at
org.chromattic.core.DomainSessionImpl._getEmbedded(DomainSessionImpl.java:383)
at
org.chromattic.core.DomainSession.getEmbedded(DomainSession.java:173)
at
org.chromattic.core.EntityContext.getEmbedded(EntityContext.java:158)
at
org.chromattic.core.api.ChromatticSessionImpl.getEmbedded(ChromatticSessionImpl.java:273)
at org.gatein.mop.core.api.ModelImpl._getAdapter(ModelImpl.java:136)
at org.gatein.mop.core.api.ModelImpl.getAdapter(ModelImpl.java:132)
at
org.gatein.mop.core.api.workspace.WorkspaceObjectImpl.isAdapted(WorkspaceObjectImpl.java:62)
at org.exoplatform.portal.pom.data.Mapper.load(Mapper.java:418)
at
org.exoplatform.portal.pom.config.tasks.SearchTask$FindPage.loadT(SearchTask.java:148)
at
org.exoplatform.portal.pom.config.tasks.SearchTask$FindPage.loadT(SearchTask.java:127)
at
org.exoplatform.portal.pom.config.tasks.SearchTask$FindSiteObject$1.load(SearchTask.java:102)
at org.exoplatform.commons.utils.LazyList.get(LazyList.java:112)
- Nick
13 years, 7 months
Re: [gatein-dev] gatein-dev Digest, Vol 20, Issue 1
by MinhHoang To
> ------------------------------
>
> Message: 6
> Date: Tue, 3 May 2011 22:22:20 -0400 (EDT)
> From: Prabhat Jha <pjha(a)redhat.com>
> Subject: Re: [gatein-dev] Errors in trunk
> To: Julien Viet <julien(a)julienviet.com>
> Cc: gatein-dev(a)lists.jboss.org
> Message-ID:
> <
> 1875434690.20068.1304475740704.JavaMail.root(a)zmail01.collab.prod.int.phx2.redhat.com
> >
>
> Content-Type: text/plain; charset=utf-8
>
> Now I get when I click on login:
>
> Caused by: java.lang.NoSuchMethodError:
> com.google.common.collect.ImmutableSet.copyOf(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
> at com.google.javascript.jscomp.DiagnosticGroup.<init>(Unknown
> Source) [:]
> at com.google.javascript.jscomp.DiagnosticGroups.<clinit>(Unknown
> Source) [:]
> at
> com.google.javascript.jscomp.CompilationLevel.applySafeCompilationOptions(Unknown
> Source) [:]
> at
> com.google.javascript.jscomp.CompilationLevel.setOptionsForCompilationLevel(Unknown
> Source) [:]
> at
> org.exoplatform.portal.resource.compressor.impl.ClosureCompressorPlugin.compress(ClosureCompressorPlugin.java:137)
> [:3.2.0-Beta01-SNAPSHOT]
> at
> org.exoplatform.portal.resource.compressor.impl.ResourceCompressorService.compress(ResourceCompressorService.java:117)
> [:3.2.0-Beta01-SNAPSHOT]
> at
> org.exoplatform.web.application.javascript.JavascriptConfigService.getMergedJavascript(JavascriptConfigService.java:323)
> [:3.2.0-Beta01-SNAPSHOT]
> at
> org.exoplatform.portal.webui.javascript.JavascriptServlet.service(JavascriptServlet.java:77)
> [:3.2.0-Beta01-SNAPSHOT]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [:1.0.0.Final]
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
> [:6.0.0.Final]
>
>
I've just tested with JBoss 5.1.0-GA and everything was fine.
The ClosureCompressorPlugin is using guava, which used to be named
google-collections. So please make sure that there is no google-collections
.jar in your JBoss lib
13 years, 7 months