Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.0.1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces 2 maven build portlet portal
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
We need to adjust the way that the portlet examples are built so that they are more Maven friendly. Currently, building the non-portlet versions of the apps includes the portlet files and dependencies.
- Portlet resources, files, and dependences should not be included in the non-portlet builds.
- Pluto requires a special Maven task to run and inject stuff during the build in order to have it deploy properly.
- Portlet resources, files, and dependences should not be included in the non-portlet builds.
- Pluto requires a special Maven task to run and inject stuff during the build in order to have it deploy properly.
Issue Links
- blocks
-
ICE-6452 Test ICEfaces 2 and portlet bridge on Pluto portal container
- Closed
Activity
Deryk Sinotte
created issue -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0.0-EE-Beta1 [ 10250 ] | |
Fix Version/s | 2.0.1 [ 10255 ] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23778 | Tue Jan 11 12:27:26 MST 2011 | deryk.sinotte | |
Files Changed | ||||
DEL
/icefaces2/trunk/icefaces/samples/compat/component-showcase/src/main/java/org/icefaces/application/showcase/util/PortletUtil.java
DEL /icefaces2/trunk/icefaces/samples/compat/component-showcase/portlets MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/build.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23781 | Tue Jan 11 14:07:26 MST 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/compat/component-showcase-portlets/build.xml
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23790 | Wed Jan 12 12:02:22 MST 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/compat/component-showcase-portlets/build.xml
MODIFY /icefaces2/trunk/icefaces/samples/build/common.xml MODIFY /icefaces2/trunk/icefaces/samples/compat/build/common.xml DEL /icefaces2/trunk/icefaces/lib/portlets/jsf-api-2.0.4-b06a.jar MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/build.xml ADD /icefaces2/trunk/icefaces/samples/compat/build/common-portlet.xml DEL /icefaces2/trunk/icefaces/lib/portlets/jsf-impl-2.0.4-b06a.jar ADD /icefaces2/trunk/icefaces/samples/build/common-portlet.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23791 | Wed Jan 12 12:05:02 MST 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/compat/component-showcase-portlets/build.xml
MODIFY /icefaces2/trunk/icefaces/samples/compat/build/common.xml MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase/build.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23796 | Wed Jan 12 15:12:52 MST 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/core/chat-portlet/pom.xml
MODIFY /icefaces2/trunk/icefaces/samples/compat/component-showcase-portlets/build.xml ADD /icefaces2/trunk/icefaces/samples/core/chat/build.xml ADD /icefaces2/trunk/icefaces/samples/core/chat-portlet/build.xml MODIFY /icefaces2/trunk/icefaces/samples/core/chat/pom.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23797 | Wed Jan 12 15:54:22 MST 2011 | deryk.sinotte | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/core/build/common-portlet.xml
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23800 | Wed Jan 12 17:07:20 MST 2011 | deryk.sinotte | |
Files Changed | ||||
DEL
/icefaces2/trunk/icefaces/samples/core/portlets
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23801 | Wed Jan 12 17:08:30 MST 2011 | deryk.sinotte | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/core/chat-portlet/src/main/webapp/WEB-INF/META-INF
MODIFY /icefaces2/trunk/icefaces/samples/core/chat-portlet/pom.xml MODIFY /icefaces2/trunk/icefaces/samples/pom.xml ADD /icefaces2/trunk/icefaces/samples/core/chat-portlet/src/main/webapp/WEB-INF/META-INF/chat-portlet.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23802 | Wed Jan 12 17:28:14 MST 2011 | deryk.sinotte | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/ace/showcase-portlet/build.xml
MODIFY /icefaces2/trunk/icefaces/samples/ace/showcase/build.xml ADD /icefaces2/trunk/icefaces/samples/ace/build/common-portlet.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23803 | Wed Jan 12 17:34:43 MST 2011 | deryk.sinotte | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/core/chat-portlet/src/main/webapp/META-INF
ADD /icefaces2/trunk/icefaces/samples/core/chat-portlet/src/main/webapp/META-INF/chat-portlet.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23805 | Thu Jan 13 10:22:40 MST 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/ace/showcase-portlet/pom.xml
|
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] | |
Resolution | Fixed [ 1 ] |
Deryk Sinotte
made changes -
Ken Fyten
made changes -
Issue Type | Task [ 3 ] | New Feature [ 2 ] |
Salesforce Case | [] | |
Fix Version/s | 2.0.0-EE-Beta1 [ 10250 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
To better support Maven, we decided on a strategy of having separate project directories for portlet examples rather than simply injecting the few portlet files we have into the existing servlet examples. So the new layout for examples that have a corresponding portlet build should look like:
sample/ace/showcase
sample/ace/showcase-portlet
sample/compat/component-showcase
sample/compat/component-showcase-portlet
sample/core/chat
sample/core/chat-portlet
Inside each directory will be a build.xml and a pom.xml, with common build info factored out to the appropriate level (e.g. common to all samples, common to all portlets, common to compat, or specific to that example).
Moving stuff around this way necessitates an overhaul of the ant scripts for building the portlets since they are no longer simply injecting a few files into the existing non-portlet.war.
For Maven, the build-helper-maven-plugin is used in the portlet poms to allow pointing at multiple source directories so that the portlet build can simply refer to the source in the servlet folder.
For Ant, we copy the resources from the parent into the portlet directory and then do a normal portlet build. The only caveat is that the clean target should clean out all the copied files but leave the portlet specific files.
The component-showcase is complete for both Maven and Ant. We are now working on converting the other relevant examples that have portlet builds.