01: package com.dappit.Dapper;
02:
03: import java.io.File;
04:
05: import com.dappit.Dapper.parser.EnviromentController;
06:
07: /* This file should be renamed to Configuration.java and configured */
08: public class Configuration {
09:
10: /**
11: * @return
12: */
13: public static String getMozillaComponentsPath() {
14: try {
15: File distBinDirectory = new File("mozilla.dist.bin."
16: + EnviromentController.getOperatingSystemName());
17: // File distBinDirectory = new File("C:\\dapper\\mozilla\\dist\\bin");
18: return distBinDirectory.getAbsolutePath();
19: } catch (Exception e) {
20: e.printStackTrace();
21: return null;
22: }
23: }
24:
25: }
|