[JIRA] Created: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

8 messages Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Created: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
pom.version is not replaced in ApplicationResources_(language code).properties
------------------------------------------------------------------------------

                 Key: APF-992
                 URL: http://issues.appfuse.org/browse/APF-992
             Project: AppFuse
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Truls
            Assignee: Matt Raible


pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink

    [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12286 ]

Matt Raible commented on APF-992:
---------------------------------

Can you please provide the steps to reproduce this problem? If I can reproduce, hopefully I can fix. If you provide a patch - that's even better! ;-)

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

    [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12288 ]

Truls commented on APF-992:
---------------------------

I might have been wrong.
This line
webapp.version=Versjon ${pom.version}
is not in the newest version i checkout from appfuse.
It is no longer translated. Not sure if i translated it in my app or it came with the file.

But if i add the line, pom.version is not replaced with the version number, when i run jetty:run or install

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-992:
----------------------------

    Fix Version/s: 2.0.2
      Component/s: i18n

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>          Components: i18n
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>             Fix For: 2.0.2
>
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

    [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12421 ]

Matt Raible commented on APF-992:
---------------------------------

You are correct in that files that are processed by the native2ascii-maven-plugin are not filtered and replaced with properties. Unfortunately, I can't think of a good way to fix this at this time.

http://www.nabble.com/Filtering-with-native2ascii-maven-plugin-td17042250.html

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>          Components: i18n
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>             Fix For: 2.1
>
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-992:
----------------------------

    Fix Version/s:     (was: 2.0.2)
                   2.1

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>          Components: i18n
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>             Fix For: 2.1
>
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Commented: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

    [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12560 ]

cobele commented on APF-992:
----------------------------

remove webapp.version and copyright.year from ApplicationResources_no.properties, thenit will use the one in ApplicationResources.properties

u know, the one in ApplicationResources.properties will be replaced.

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>          Components: i18n
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>             Fix For: 2.1
>
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

AppFuse - Issues mailing list

[JIRA] Updated: (APF-992) pom.version is not replaced in ApplicationResources_(language code).properties

Reply Threaded More More options
Print post
Permalink
In reply to this post by AppFuse - Issues mailing list

     [ http://issues.appfuse.org/browse/APF-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Raible updated APF-992:
----------------------------

    Fix Version/s:     (was: 2.1.0-M1)
                   2.1.0-M2

> pom.version is not replaced in ApplicationResources_(language code).properties
> ------------------------------------------------------------------------------
>
>                 Key: APF-992
>                 URL: http://issues.appfuse.org/browse/APF-992
>             Project: AppFuse
>          Issue Type: Bug
>          Components: i18n
>    Affects Versions: 2.0.1
>            Reporter: Truls
>            Assignee: Matt Raible
>             Fix For: 2.1.0-M2
>
>
> pom.version is used in ApplicationResources_no.properties. this value is not replaced at build time with version, like it is in ApplicationResources.properties.
> If i remove <exclude>ApplicationResources_no.properties</exclude> from pom.xml file. It works, values are replaced. Then maven dosen't preserve the UTF-8 encoding.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]