[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3781) Echo version information to the console in main()

Chris Bredesen (JIRA) noreply at atlassian.com
Tue Feb 24 14:46:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32497#action_32497 ] 

Chris Bredesen commented on HHH-3781:
-------------------------------------

The bit that allows you to set Main-Class in MANIFEST.MF is outlined here:

http://maven.apache.org/shared/maven-archiver/index.html

<archive>
  ...
  <manifest>
  ...
    <mainClass/>
  </manifest>
</archive>

> Echo version information to the console in main()
> -------------------------------------------------
>
>                 Key: HHH-3781
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3781
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>            Reporter: Chris Bredesen
>            Assignee: Steve Ebersole
>            Priority: Minor
>
> As a convenience to users trying to understand what versions of components are in use, it would be swell if Hibernate would echo its full version string to the console in response to "executing" the jar.  JBoss Cache for example behaves thusly:
> $ java -jar jboss-cache-jdk50.jar 
> Version: 	1.4.1.SP10
> Codename: 	Cayenne
> History:  	(see http://jira.jboss.com/jira/browse/JBCACHE for details)

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

        



More information about the hibernate-issues mailing list