[
https://issues.apache.org/jira/browse/OPENJPA-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550270
]
Marc Prud'hommeaux commented on OPENJPA-463:
--------------------------------------------
I agree that it isn't intuitive that running the jar should output the version.
However, do note that there aren't many other operations it could execute,
since "java -jar" ignores the system classpath, and most of our tools require a
number of other external jars in order to execute successfully.
> OpenJPA jar should self-describe its build information
> ------------------------------------------------------
>
> Key: OPENJPA-463
> URL: https://issues.apache.org/jira/browse/OPENJPA-463
> Project: OpenJPA
> Issue Type: Improvement
> Components: build / infrastructure
> Reporter: Pinaki Poddar
> Priority: Minor
>
> End user should be able to do:
> $ java -jar /path/to/openjpa.jar
> To get a self-description of OpenJPA
> Currently, org.apache.openjpa.conf.OpenJPAVersion does output useful
> information.
> This enhancement request is to mark org.apache.openjpa.conf.OpenJPAVersion as
> the Main-Class in manifest.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.