Commit 587b45dc authored by piotr.gawron's avatar piotr.gawron
Browse files

proper path to webapps is setup during application startup

parent 5ffe0b3b
......@@ -4,6 +4,7 @@ import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.beans.PropertyVetoException;
import java.beans.VetoableChangeListener;
import java.io.File;
import java.io.Serializable;
import java.text.NumberFormat;
import java.util.ArrayList;
......@@ -171,7 +172,7 @@ public class ConfigurationBean extends AbstractManagedBean implements Serializab
refreshValues(null);
Configuration.setWebAppDir(getPrimefacesUtils().getPath() + "../");
Configuration.setWebAppDir(new File(getPrimefacesUtils().getPath() + "../").getAbsolutePath() + "/");
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment