[
https://issues.apache.org/jira/browse/VFS-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584773#comment-13584773
]
MH commented on VFS-455:
------------------------
yes, I see that the vfs2 package has a manifest file with this information and
I can access it via the Java Package API. (So this issue is closed.) But I ask
for antoher way to use the Package API: is it possible to store this
information not in the manifest file but in a Java class (Java source file) of
the same package? My Problem is, that the version of the package is in a Java
source file (and will stay there). And I wonder if the Class.GetPackage()
method can also take the info from other sources than just the manifest file?
> No Version class available - how to get version?
> ------------------------------------------------
>
> Key: VFS-455
> URL: https://issues.apache.org/jira/browse/VFS-455
> Project: Commons VFS
> Issue Type: Improvement
> Affects Versions: 2.0
> Environment: Java 1.7.0_13 64 Bit
> Reporter: MH
> Priority: Trivial
>
> Other Apache projects have a Version class (org.apache.xalan.Version,
> org.apache.poi.Version, org.apache.fop.Version, org.apache.pdfbox.Version,
> ...) to get version information. org.apache.commons.vfs2 should have an
> equivalent Version class.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira