[ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sumedha rubasinghe updated AXIS2-2412: -------------------------------------- Attachment: AXIS-2412-image-corrupt.patch Images seem to be getting corrupted when going through the filter. So I have copied the images after filter gets applied. Fix for the 'maven site' goal is already in svn. Attached patch contains fix for the dist-docs goal. Please apply the patch, review & close the issue. > [xdocs] dynamic labels for documentation using maven resource filter > -------------------------------------------------------------------- > > Key: AXIS2-2412 > URL: https://issues.apache.org/jira/browse/AXIS2-2412 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Components: documentation > Environment: any > Reporter: sumedha rubasinghe > Assigned To: Chatra Nakkawita > Fix For: 1.2 > > Attachments: AXIS-2412-image-corrupt.patch, axis-2412-part2.patch, > axis-2412.patch, AXIS2-2412-site.patch > > > Right now release versions, dates are hard coded in the HTML files > themselves. I have added a maven resource filter to take them to a separate > resource file. Thus these values can be made dynamic with respective to > static HTML files. > Steps : > 1. Locate 'dynamic-labels.properties' inside xdocs folder > 2. Add an entry (adhering to pattern labelname=value) to it. > 3. Open any html file inside xdocs folder & put @labelname@ in the place > where you want 'valuet' o appear. > 4. Run dist-docs goal & check the generated artifact. > I have added an example to xdocs/index.html file. > Thank you. > sumedha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]