diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/.classpath b/ diy-layout-creator --username bancika@gmail.com/DIYLC/.classpath index a81be055..c975c8b0 100644 --- a/ diy-layout-creator --username bancika@gmail.com/DIYLC/.classpath +++ b/ diy-layout-creator --username bancika@gmail.com/DIYLC/.classpath @@ -9,6 +9,7 @@ - + + diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/build.xml b/ diy-layout-creator --username bancika@gmail.com/DIYLC/build.xml new file mode 100644 index 00000000..18bf65ca --- /dev/null +++ b/ diy-layout-creator --username bancika@gmail.com/DIYLC/build.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + Compile with JDK ${java.runtime.version} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/lib/HttpProxy.jar b/ diy-layout-creator --username bancika@gmail.com/DIYLC/lib/HttpProxy.jar new file mode 100644 index 00000000..d34e48bb Binary files /dev/null and b/ diy-layout-creator --username bancika@gmail.com/DIYLC/lib/HttpProxy.jar differ diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/lib/bancika-gui-framework.jar b/ diy-layout-creator --username bancika@gmail.com/DIYLC/lib/bancika-gui-framework.jar new file mode 100644 index 00000000..bb264d70 Binary files /dev/null and b/ diy-layout-creator --username bancika@gmail.com/DIYLC/lib/bancika-gui-framework.jar differ diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/com/diyfever/diylc/DIYLCStarter.java b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/com/diyfever/diylc/DIYLCStarter.java index b5b88e07..a244cc2d 100644 --- a/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/com/diyfever/diylc/DIYLCStarter.java +++ b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/com/diyfever/diylc/DIYLCStarter.java @@ -1,5 +1,9 @@ package com.diyfever.diylc; +import java.io.IOException; +import java.net.URL; +import java.util.Properties; + import javax.swing.UIManager; import org.apache.log4j.PropertyConfigurator; @@ -16,7 +20,14 @@ public class DIYLCStarter { * @param args */ public static void main(String[] args) { - PropertyConfigurator.configure("log4j.properties"); + URL url = DIYLCStarter.class.getResource("log4j.properties"); + Properties properties = new Properties(); + try { + properties.load(url.openStream()); + PropertyConfigurator.configure(properties); + } catch (IOException e) { + e.printStackTrace(); + } try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/log4j.properties b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/com/diyfever/diylc/log4j.properties similarity index 100% rename from diy-layout-creator --username bancika@gmail.com/DIYLC/log4j.properties rename to diy-layout-creator --username bancika@gmail.com/DIYLC/src/com/diyfever/diylc/log4j.properties