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">
|
<target name="compile">
|
||||||
<mkdir dir="${classes.dir}" />
|
<mkdir dir="${classes.dir}" />
|
||||||
<echo>Compile with JDK ${java.runtime.version}</echo>
|
<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>
|
||||||
|
|
||||||
<target name="resource.copy">
|
<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()) {
|
.getComponents()) {
|
||||||
Class<?> clazz = c.getClass();
|
Class<?> clazz = c.getClass();
|
||||||
try {
|
try {
|
||||||
Method m = clazz.getMethod("getLayer", null);
|
Method m = clazz.getMethod("getLayer");
|
||||||
PCBLayer l = (PCBLayer) m.invoke(c);
|
PCBLayer l = (PCBLayer) m.invoke(c);
|
||||||
layers.add(l);
|
layers.add(l);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user