You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Exception when running from outside multeval's folder #9
The latest version of multeval tries to read a file called "./constants" to determine its version number. When multeval is executed from a location other than its own folder, this file does not exist, leading to an exception and the inability to run multeval.
and then changing the following in MultEval.main():
String version = MultEval.class.getPackage().getImplementationVersion(); //loadVersion();
Finally, rebuild using ant clean && ant.
It looks like MultEval.loadVersion() is only ever called from MultEval.main(), so this should be safe to change. But I'm not very familiar with Java, so this may not be the best/cleanest way to patch this (hence no pull request)...
Activity
ianj-als commentedon Nov 18, 2013
Copy or link the 'constants' file to the directory where you'd like to run multeval from.
ypeels commentedon Jan 19, 2016
This is a "regression" introduced in commit cb6a52. Following an example on rgagnon.com, it is fixable by adding the following to
build.xml:and then changing the following in
MultEval.main():Finally, rebuild using
ant clean && ant.It looks like
MultEval.loadVersion()is only ever called fromMultEval.main(), so this should be safe to change. But I'm not very familiar with Java, so this may not be the best/cleanest way to patch this (hence no pull request)...Edit: submitted as pull request #19
Make multeval.sh run from arbitrary working directory
RokoMijic commentedon Mar 27, 2017
Any progress on this?
ozancaglayan commentedon May 30, 2017
I have a fork of this repository with a lot of fixes including this one. You can try that if you'd like:
https://github.com/ozancaglayan/multeval