Using the following scratchpad repo branch:
http://10.18.39.25:8888/svn/ossrepo/icefaces3/scratchpads/ICE-8654
I've established the icepush dir under icefaces being included via svn externals from the ice push/trunk.
Also modified the icefaces/build.xml to add an icepush build target, included in world target, and added icepush to the release bundle builds.
However, there remains an issue whereby if you build icefaces using the src bundle that is generated by "ant bundle", the resulting icepush.jar is missing the following resource file:
META-INF/resources/icepush.js
This causes any deployed applications to fail with:
Oct 16, 2012 12:01:39 PM com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException
SEVERE: Error Rendering View[/showcase.xhtml]
java.lang.NullPointerException
at org.icefaces.impl.event.JavascriptResourceOutput.<init>(JavascriptResourceOutput.java:21)
at org.icefaces.impl.event.BridgeSetup.getHeadResources(BridgeSetup.java:116)
at org.icefaces.impl.event.BridgeSetup.processEvent(BridgeSetup.java:88)
at javax.faces.event.SystemEvent.processListener(SystemEvent.java:106)
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2169)
at com.sun.faces.application.ApplicationImpl.invokeListenersFor(ApplicationImpl.java:2145)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:303)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:247)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:812)
at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:962)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1777)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:424)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:279)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
So this build issue needs to be debugged. Note that the binary bundle contents generated by "ant bundle" work fine.
Also need to add in the generation and copying of the icepush JavaDoc to the binary bundle build.
Using the following scratchpad repo branch:
http://10.18.39.25:8888/svn/ossrepo/icefaces3/scratchpads/ICE-8654
I've established the icepush dir under icefaces being included via svn externals from the ice push/trunk.
Also modified the icefaces/build.xml to add an icepush build target, included in world target, and added icepush to the release bundle builds.
However, there remains an issue whereby if you build icefaces using the src bundle that is generated by "ant bundle", the resulting icepush.jar is missing the following resource file:
This causes any deployed applications to fail with:
So this build issue needs to be debugged. Note that the binary bundle contents generated by "ant bundle" work fine.
Also need to add in the generation and copying of the icepush JavaDoc to the binary bundle build.