[ 
https://issues.apache.org/jira/browse/OPENJPA-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550263
 ] 

Patrick Linskey commented on OPENJPA-463:
-----------------------------------------

It's unclear to me that running OpenJPAVersion is what we want to happen when 
running 'java -jar openjpa.jar'. There are other possibilities also: we could 
run the enhancer, or the mappingtool, or the schematool, or some 
as-yet-designed thing.

Maybe if we did 'java -jar openjpa.jar --version', we should output the 
version. This could be expanded upon; 'java -jar openjpa.jar enhance' could run 
the PCEnhancer.

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

Reply via email to