You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "sumedha rubasinghe (JIRA)" <ji...@apache.org> on 2007/03/28 07:03:32 UTC

[jira] Created: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

[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


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

sumedha rubasinghe updated AXIS2-2412:
--------------------------------------

    Attachment: AXIS2-2412-site.patch

Added filtering support for maven site goal.

> [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-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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486883 ] 

sumedha rubasinghe commented on AXIS2-2412:
-------------------------------------------

Please apply all patches to both trunk & branch.
Thanks

> [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-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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatra Nakkawita reassigned AXIS2-2412:
---------------------------------------

    Assignee: Chatra Nakkawita

> [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
>         Attachments: axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484788 ] 

Chatra Nakkawita commented on AXIS2-2412:
-----------------------------------------

Will it be possible to rename a directory using a such filter to add in the version name to the directory in the generated docs? That way we will not even have to rename version specific content directory inside xdocs (eg: xdocs/1_1) at every release inside the trunk.

Also if dir name inside xdocs is equal to name URL carries for that directorty (eg: @version_@ ) in xdocs then the URL links will not just only work in generated docs but also in xdocs. This will be helpful when updating and maintaining documents.

Is this possible?

Thanks,
Chatra

> [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
>         Attachments: axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
     [ 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-part2.patch

Attached file contains a patch for second scenario. 
After applying the patch please do the following.

1. Create a folder with the name '@axis_version_dir@' inside xdocs folder
2. Copy contents of 1_1 folder to newly created folder
3. Delete 1_1 folder.

Thanks.

> [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-part2.patch, axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Work started: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIS2-2412 started by Chatra Nakkawita.

> [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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatra Nakkawita resolved AXIS2-2412.
-------------------------------------

    Resolution: Fixed

site patch tested and committed. 

Thanks, Chatra

> [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-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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatra Nakkawita reopened AXIS2-2412:
-------------------------------------


There is a problem in terms of the images. The maven filters seem to be corrupting all the images in the maven built site and distribution docs

Thanks,
Chatra

> [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-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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatra Nakkawita resolved AXIS2-2412.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2

Reviewed and committed patch. Thanks,

Chatra

> [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.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatra Nakkawita resolved AXIS2-2412.
-------------------------------------

    Resolution: Fixed

Tested with maven site and maven dist-docs. Committed patch.

Thanks,

Chatra

> [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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486635 ] 

Chatra Nakkawita commented on AXIS2-2412:
-----------------------------------------

Tested and committed patch 2. please make filters to work for maven site

Thanks,
Chatra

> [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-part2.patch, axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chatra Nakkawita reopened AXIS2-2412:
-------------------------------------


Applying second patch. We also need to make sure these filters work with maven site

Thanks,

Chatra

> [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-part2.patch, axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "sumedha rubasinghe (JIRA)" <ji...@apache.org>.
     [ 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.patch

Attached patch contains the changes required.

> [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
>         Attachments: axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Work started: (AXIS2-2412) [xdocs] dynamic labels for documentation using maven resource filter

Posted by "Chatra Nakkawita (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIS2-2412 started by Chatra Nakkawita.

> [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-part2.patch, axis-2412.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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org