set the internal version by hand, this is done to avoid NPE after reloads but also because it's only used to version the data dumps so the granularity of svn revisions was too high anyway

git-svn-id: http://google-refine.googlecode.com/svn/trunk@380 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-04-03 17:01:04 +00:00
parent 7cf4f2e5e4
commit 65c5aea079

View File

@ -36,7 +36,7 @@ import com.metaweb.util.threads.ThreadPoolExecutorAdapter;
public class Gridworks {
static private String version;
static private final String version = "1.0a";
static private File tempDir;
private static Logger root = Logger.getRootLogger();
@ -88,8 +88,6 @@ public class Gridworks {
Logger jetty_logger = Logger.getLogger("org.mortbay.log");
jetty_logger.setLevel(Level.WARN);
version = Configurations.get("gridworks.version","trunk");
tempDir = new File(Configurations.get("gridworks.temp","temp"));
if (!tempDir.exists()) tempDir.mkdirs();