Skip to content
dmeister edited this page Jun 30, 2011 · 1 revision

FAQ

How do I run the fs-c tools on Windows:

The fs-c.py tool is a small python script used to set the classpath correctly. Python is usually installed on all modestly recent Unix system including Linux and Mac OS X. If python is not installed on your Windows machine you can start fs-c by the VBS script fs-c.vbs in the bin directory or by setting the classpath manually:

  • trace mode: java -cp fs-c-0.3.5.jar;lib\protobuf-java-2.3.0.jar;lib\scala-library.jar;lib\scalax-0.1-mod.jar;lib\commons-logging-1.0.4.jar;lib\log4j-1.2.15.jar;conf de.pc2.dedup.fschunk.trace.Main

  • parse mode: java -cp fs-c-0.3.5.jar;lib\protobuf-java-2.3.0.jar;lib\scala-library.jar;lib\scalax-0.1-mod.jar;lib\commons-logging-1.0.4.jar;lib\log4j-1.2.15.jar;conf de.pc2.dedup.fschunk.parse.Main

Can I run fs-c without the fs-c python tool (Linux/Unix)

  • trace mode: java -cp fs-c-0.3.5.jar:lib/protobuf-java-2.3.0.jar:lib/scala-library.jar:lib/scalax-0.1-mod.jar:lib/commons-logging-1.0.4.jar:lib/log4j-1.2.15.jar:conf de.pc2.dedup.fschunk.trace.Main

  • parse mode: java -cp fs-c-0.3.5.jar:lib/protobuf-java-2.3.0.jar:lib/scala-library.jar:lib/scalax-0.1-mod.jar:lib/commons-logging-1.0.4.jar:lib/log4j-1.2.15.jar:conf de.pc2.dedup.fschunk.parse.Main

Why are Protocol Buffers used as output format?

Protocol Buffers are an open source contribution (from Google) to define a wire format and to generated code for different programming languages. Using Protocol Buffers allows other developers every easily to write parsers in different languages. However, Protocol Buffers are not the most compact format. Often files using the legacy format are a bit smaller.