[ 
https://issues.apache.org/jira/browse/FELIX-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108070#comment-13108070
 ] 

Richard S. Hall commented on FELIX-3035:
----------------------------------------

Actually, I don't see how this solves the original issue of eliminating IO. 
This patch simply converts the property file containing a single version value 
to a class containing a single version value. In either case, the result is IO 
being performed to open the file/class in question.

Isn't there some way to simply have Maven replace a variable in the Felix.java 
file itself? This is what we really want.

> Make Felix version a compile time constant
> ------------------------------------------
>
>                 Key: FELIX-3035
>                 URL: https://issues.apache.org/jira/browse/FELIX-3035
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.2.2
>            Reporter: Sahoo
>            Assignee: Sahoo
>             Fix For: framework-4.0.0
>
>         Attachments: FELIX-3035-patch.txt
>
>
> Currently there is unnecessary IO done to read Felix version from a 
> properties file. It could easily be a compile time constant by doing some 
> code generation at build time.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to