pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Martini (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (PIVOT-746) Add API to return Version of Pivot retrieved from "build.properties"
Date Sun, 22 May 2011 20:32:47 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sandro Martini reopened PIVOT-746:
----------------------------------

      Assignee: Greg Brown

Note that after this little change (in ApplicationContext) I'm no more able to run some bxml
files from eclipse ... if the property file is not found probably I could have a warning in
console, but without blocking the execution, ok ?

For example, try to run "As Pivot script application": tests/ ... / multiple_selection_list.bxml
, this is the result:
java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
	at java.util.Properties$LineReader.readLine(Properties.java:418)
	at java.util.Properties.load0(Properties.java:337)
	at java.util.Properties.load(Properties.java:325)
	at org.apache.pivot.wtk.ApplicationContext.<clinit>(ApplicationContext.java:1518)
Exception in thread "main" 

Tell me what you think.


> Add API to return Version of Pivot retrieved from "build.properties"
> --------------------------------------------------------------------
>
>                 Key: PIVOT-746
>                 URL: https://issues.apache.org/jira/browse/PIVOT-746
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>    Affects Versions: 2.0.1
>         Environment: Windows XP SP3, JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Assignee: Greg Brown
>            Priority: Trivial
>             Fix For: 2.0.1
>
>         Attachments: version.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Would be helpful to be able to determine programmatically what the version of Pivot is.
 The simplest method is to include "build.properties" which is the original source of this
information in the packaged .jar files and then to provide an API to read and parse this value
into a Version structure.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message