Tasks #1403
improve build system Doc
Status: | Closed | Start date: | 02/07/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | C. Dreyer | % Done: | 0% | |
Category: | Documentation | |||
Target version: | - |
Description
Wie werden notwendige Voraussetzungen installiert?
apt-get ???
History
#1 Updated by S. Wrede about 11 years ago
JUnit: sudo apt-get install junit4
#2 Updated by S. Wrede about 11 years ago
Point user to binary download of JAR: http://docs.cor-lab.org/rsb-manual/trunk/html/install.html#install-binary-java
#3 Updated by C. Dreyer about 11 years ago
"The folder layout of our tutorial project will look as follows." No it doesn't! readme.txt is missing
#4 Updated by C. Dreyer about 11 years ago
"With this declaration, ant parses a the file build.properties which consists or key=value definitions."
should be:
"With this declaration, ant parses a the file build.properties which consists of key=value definitions."
#5 Updated by C. Dreyer about 11 years ago
after installing the rsb binaries ther are 3 versions of rsb*.jar!
in the build.xml and the tutorial it says:
<property name="rsb.lib" location="/usr/share/java/rsb.jar" />
do you have to rename one of the three?
#6 Updated by C. Dreyer about 11 years ago
"
Note
Hamcrest is a dependency of JUnit in the version installed by Ubuntu GNU/Linux. Other distributions may include a standalone jar of JUnit where hamcrest is include.
"
should be "... included."
#7 Updated by C. Dreyer about 11 years ago
"Now, unit tests can be executed using ant test."
this will return an error:
Buildfile: build.xml
BUILD FAILED
/home/nao/Desktop/java_build_test/java/build.xml:39: Google Protocol Buffers library not found at '/usr/share/java/protobuf-java.jar'. Please set protobuf.lib.
#8 Updated by C. Dreyer about 11 years ago
the protobuf lib is called protobuf.jar not protobuf-java.jar
#9 Updated by C. Dreyer about 11 years ago
after manually renaming protobuf.jar into protobuf-java.jar
the build finished successfully
#10 Updated by C. Dreyer about 11 years ago
"Afterwards, we can install the jar-file and the license:"
in the build.xml this is located before the aforementioned paragraph
#11 Updated by C. Dreyer about 11 years ago
"# fill build.properties with the required variables to succeed with the build"
what are the required variables?
#12 Updated by C. Dreyer about 11 years ago
#13 Updated by C. Dreyer about 11 years ago
and #1446
#14 Updated by J. Moringen about 9 years ago
- Category set to Documentation
- Status changed from New to Closed
I'm quite certain, the findings presented here will no longer apply to the current situation. Reopen if this is not true.