Skip to content
Snippets Groups Projects
Commit 38464828 authored by Sven Robertz's avatar Sven Robertz
Browse files

small fix to exclude examples in build.xml, Descriptive output in Encoder

parent 01cae7aa
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ classpath="tools/jastadd2.jar"/>
<!-- compile sources -->
<target name="build" depends="gen">
<javac debug="true" nowarn="true" srcdir="." includes="**/*.java" excludes="test/**" classpath=".:${tools}/beaver-rt.jar:${tools}/junit.jar"
<javac debug="true" nowarn="true" srcdir="." includes="**/*.java" excludes="test/** examples/**" classpath=".:${tools}/beaver-rt.jar:${tools}/junit.jar"
fork="true" memoryMaximumSize="128M"/>
</target>
......
......@@ -26,7 +26,10 @@ public class Encoder
y.x = 37;
y.s = "Testing, testing";
System.out.println("Encoding TwoInts, a="+x.a+", b="+x.b);
TwoInts.encode(encoder, x);
System.out.println("Encoding IntString, x="+y.x+", s="+y.s);
IntString.encode(encoder, y);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment