Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
38464828
Commit
38464828
authored
Nov 03, 2011
by
Sven Robertz
Browse files
small fix to exclude examples in build.xml, Descriptive output in Encoder
parent
01cae7aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.xml
View file @
38464828
...
...
@@ -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>
...
...
examples/simple_java/Encoder.java
View file @
38464828
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment