06-27-07 06:22 AM
** assuming you are using windows here **
You can update your theme and skins by extracting the wps.ear (portal applic
ation), expanding the wps.ear, update the theme + skin, collapsing the wps.e
ar and then redeploying.
Here's some tips:
In the WAS bin directory (cmd line), run:
wsadmin.bat -user <username> -password <password> -c "$AdminApp export wps C
:/temp/wps.ear"
Use the expander tool:
EARExpander.bat -ear C:\temp\wps.ear -operationDir C:\temp\wps_expanded -ope
ration expand
Replace the themes and skins:
C:\temp\wps_expanded\wps.war\themes\<markup>\
C:\temp\wps_expanded\wps.war\skins\<markup>\
Collapse the ear back:
EARExpander.bat -ear C:\temp\wps.ear -operationDir C:\temp\wps_expanded -ope
ration collapse
Redeploy:
wsadmin.bat -user <username> -password <password> -c "$AdminApp install C:/t
emp/wps.ear {-update -appname wps}"
Restart Portal
Good Luck
[ Post a follow-up to this message ]
|