eclipse plugin: pass the data dir and the config dir...
...parameters to the game preprocessor
This commit is contained in:
parent
58c114b070
commit
2fb54dd298
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ public class PreprocessorUtils
|
|||
try{
|
||||
List<String> arguments = new ArrayList<String>();
|
||||
|
||||
arguments.add("--config-dir");
|
||||
arguments.add(Preferences.getString(Constants.P_WESNOTH_USER_DIR));
|
||||
|
||||
arguments.add("--data-dir");
|
||||
arguments.add(Preferences.getString(Constants.P_WESNOTH_WORKING_DIR));
|
||||
|
||||
if (defines != null && !defines.isEmpty())
|
||||
{
|
||||
String argument = "-p=";
|
||||
|
|
Loading…
Add table
Reference in a new issue