mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
fixed building
This commit is contained in:
@@ -18,7 +18,9 @@
|
||||
<target name="compile">
|
||||
<mkdir dir="${classes.dir}" />
|
||||
<echo>Compile with JDK ${java.runtime.version}</echo>
|
||||
<javac encoding="8859_1" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="class.path" />
|
||||
<javac encoding="8859_1" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="class.path">
|
||||
<compilerarg value="-proc:none"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<target name="resource.copy">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -54,7 +54,7 @@ public class TraceMaskDrawingProvider implements IDrawingProvider {
|
||||
.getComponents()) {
|
||||
Class<?> clazz = c.getClass();
|
||||
try {
|
||||
Method m = clazz.getMethod("getLayer", null);
|
||||
Method m = clazz.getMethod("getLayer");
|
||||
PCBLayer l = (PCBLayer) m.invoke(c);
|
||||
layers.add(l);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user