commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MH (JIRA)" <>
Subject [jira] [Commented] (VFS-455) No Version class available - how to get version?
Date Fri, 22 Feb 2013 22:34:13 GMT


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:
>             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:

View raw message