[ 
http://issues.apache.org/jira/browse/GERONIMO-1740?page=comments#action_12412776
 ] 

Anita Kulshreshtha commented on GERONIMO-1740:
----------------------------------------------

Jacek, I updated to rev 408648, and now many other tests are failing because 
the load of geronimo-version.properties 
file is returning empty properties. Please do not apply the patches.

java.lang.ExceptionInInitializerError: geronimo-version.properties does not 
contain a 'version' property
        at 
org.apache.geronimo.system.serverinfo.ServerConstants.<clinit>(ServerConstants.java:77)
        at 
org.apache.geronimo.system.serverinfo.BasicServerInfo.<init>(BasicServerInfo.java:57)
        at 
org.apache.geronimo.transaction.log.HOWLLogTest.createTransactionLog(HOWLLogTest.java
...................................................................................
    this is the line in o.a.g.s.serverinfo/ServerConstants which returns empty 
vesionInfo in M2 and works fine in M1.
static {
..................
versionInfo.load(ServerConstants.class.getClassLoader().getResourceAsStream("org/apache/geronimo/system/serverinfo/geronimo-version.properties"));
...................................
    I can read this file using this -
InputStream in = 
ServerConstants.class.getClassLoader().getResourceAsStream("org/apache/geronimo/system/serverinfo/geronimo-version.properties");
         ............................................

Does any one have any ideas why the properties are not being loaded?


> Plugin migration to Maven 2: geronimo-packaging-plugin
> ------------------------------------------------------
>
>          Key: GERONIMO-1740
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1740
>      Project: Geronimo
>         Type: Sub-task
>     Security: public(Regular issues) 
>   Components: buildsystem
>     Versions: 1.x
>     Reporter: Jacek Laskowski
>     Assignee: Anita Kulshreshtha
>  Attachments: configs.patch, geronimo.patch, geronimo.patch, geronimo.patch, 
> m2-plugins.patch, m2-plugins.patch, modules.patch, pom.patch
>
> It's a task to keep track of the progress of the plugin build migration to 
> Maven2

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

Reply via email to