kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Remove JettyStart from Perservere.java so that it can run on any app server #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Working to run Persevere in an agnostic web container on an app server. 
Which entails building Persevere as a WAR file minus the jetty libs.  

In Persevere.java, there is code that relies on org.persvr.util.JettyStart

you see it in  

public static String getPersevereVersion(){
   ....
   props.load(JettyStart.class.getResourceAsStream("...."));
   ....

which loads the perservere.properties file. 

I've included a small patch for consideration which fixes the problem which
uses a static initializer for pulling the properties information.

Original issue reported on code.google.com by kevin.ha...@gmail.com on 21 May 2009 at 8:34

Attachments:

GoogleCodeExporter commented 8 years ago
Good fix, thank you.

Original comment by kris...@gmail.com on 21 May 2009 at 8:56