Version can't be parsed during second bootstrap
-----------------------------------------------
Key: MAGNOLIA-1676
URL: http://jira.magnolia.info/browse/MAGNOLIA-1676
Project: Magnolia
Issue Type: Bug
Components: core
Affects Versions: 3.1 M3
Environment: Eclipse 3.2.2, wtp, jdk 1.5, tomcat 5.0, linux ubuntu
7.04
Reporter: CAPITAINE Harold
Assigned To: Sameer Charles
In info.magnolia.module.model.Version.java, more specifically in the private
constructor.
The version string is parsed to get a short to differentiate the major, the
minor and the patch version.
On the first start of Magnolia, as the project is not build with maven or with
whatever mecanism, the variable ${project.version} is not set, so Magnolia
replaced it with the value (dev). This value is parsed as mentioned previously
that's why a numberformat exception raises, so Magnolia can't start.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------