fixed building

This commit is contained in:
bancika
2012-08-31 16:34:32 +00:00
parent cf7dc0778b
commit 732cb102a3
7 changed files with 4 additions and 2 deletions
@@ -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">
@@ -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) {