Cubehead Fang wrote:
if you use this command , maven j2:portal.genapp , to customize your portal.
go to the directory
${org.apache.jetspeed.portal.home}/target/myportal/decorations
change the logo images.
then, build the war file again. deploy the portal again.

Im not sure if thats the best advice since the target directory will be overwritten with the next build. Probably best to create your own decorations in a part of the project that won't be regenerated and then create a goal to deploy them to a live portal

Something like this:

<goal name="decorators">
      <jar destfile="${maven.build.dir}/cubehead-decorators.jar"
       basedir="./etc/decorators/layout/html/cubehead-decorators/"
        />
<copy file='${maven.build.dir}/cubehead-decorators.jar' todir="${dir.deploy.apps}">
    </copy>
</goal>


Then you never even have to take the portal down to deploy new decorators!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to