[Sbp-users] Build issues

Yang Zhang yanghatespam at gmail.com
Thu Jan 21 10:13:28 EST 2010


I tried both git and , but although the code builds, the main class is
commented out. Removing the comment markers introduces a bunch of
build errors, some of which weren't trivial fixes, such as missing
classes (Bindings) and methods. Attached are fixes for some of the
issues, after which I see the following build issues:

$ make
mkdir -p bin
javac  -cp javax.servlet.jar -d bin -sourcepath src
src/edu/berkeley/sbp/Grammar.java
src/edu/berkeley/sbp/meta/MetaGrammar.java
src/edu/berkeley/sbp/meta/GrammarAST.java
src/edu/berkeley/sbp/meta/Repeat.java
src/edu/berkeley/sbp/misc/StringWalker.java
src/edu/berkeley/sbp/misc/CommandLine.java
src/edu/berkeley/sbp/misc/ReflectiveWalker.java
src/edu/berkeley/sbp/misc/Cartesian.java
src/edu/berkeley/sbp/misc/Demo.java
src/edu/berkeley/sbp/misc/Java15.java
src/edu/berkeley/sbp/misc/TestAstGenerator.java
src/edu/berkeley/sbp/misc/IndentingReader.java
src/edu/berkeley/sbp/misc/RegressionTests.java
src/edu/berkeley/sbp/misc/Demo2.java
src/edu/berkeley/sbp/misc/TreeWalker.java
src/edu/berkeley/sbp/misc/ParserServlet.java
src/edu/berkeley/sbp/ParseFailed.java src/edu/berkeley/sbp/Union.java
src/edu/berkeley/sbp/Reduction.java src/edu/berkeley/sbp/Atom.java
src/edu/berkeley/sbp/Forest.java src/edu/berkeley/sbp/Sequence.java
src/edu/berkeley/sbp/SequenceOrElement.java
src/edu/berkeley/sbp/Ambiguous.java src/edu/berkeley/sbp/GSS.java
src/edu/berkeley/sbp/ResultNode.java src/edu/berkeley/sbp/Element.java
src/edu/berkeley/sbp/util/GraphViz.java
src/edu/berkeley/sbp/util/ANSI.java
src/edu/berkeley/sbp/util/ConcatenateIterator.java
src/edu/berkeley/sbp/util/DiscreteTopology.java
src/edu/berkeley/sbp/util/IntegerTopology.java
src/edu/berkeley/sbp/util/Visitable.java
src/edu/berkeley/sbp/util/ToJava.java
src/edu/berkeley/sbp/util/ArrayIterator.java
src/edu/berkeley/sbp/util/Range.java
src/edu/berkeley/sbp/util/TreeBuilder.java
src/edu/berkeley/sbp/util/ConcatenatedIterator.java
src/edu/berkeley/sbp/util/SingletonIterator.java
src/edu/berkeley/sbp/util/Reflection.java
src/edu/berkeley/sbp/util/FastSet.java
src/edu/berkeley/sbp/util/MapBag.java
src/edu/berkeley/sbp/util/IntPairMap.java
src/edu/berkeley/sbp/util/PrintableTree.java
src/edu/berkeley/sbp/util/IntegerMappable.java
src/edu/berkeley/sbp/util/VisitableMap.java
src/edu/berkeley/sbp/util/ToHTML.java
src/edu/berkeley/sbp/util/TopologicalBag.java
src/edu/berkeley/sbp/util/Functor.java
src/edu/berkeley/sbp/util/HashMapBag.java
src/edu/berkeley/sbp/util/StringUtil.java
src/edu/berkeley/sbp/util/Topology.java
src/edu/berkeley/sbp/util/ArrayUtil.java
src/edu/berkeley/sbp/util/Invokable.java
src/edu/berkeley/sbp/util/EmptyIterator.java
src/edu/berkeley/sbp/chr/CharAtom.java
src/edu/berkeley/sbp/chr/CharTopology.java
src/edu/berkeley/sbp/chr/CharInput.java
src/edu/berkeley/sbp/chr/CharParser.java
src/edu/berkeley/sbp/Tree.java src/edu/berkeley/sbp/StateNode.java
src/edu/berkeley/sbp/Parser.java src/edu/berkeley/sbp/Node.java
src/edu/berkeley/sbp/Input.java
src/edu/berkeley/sbp/misc/CommandLine.java:18: cannot find symbol
symbol  : constructor CharParser(edu.berkeley.sbp.meta.MetaGrammar)
location: class edu.berkeley.sbp.chr.CharParser
            Tree<String> res = new
CharParser(MetaGrammar.class.newInstance()).parse(new
FileInputStream(grammarFile)).expand1();
                               ^
src/edu/berkeley/sbp/misc/CommandLine.java:20: cannot find symbol
symbol  : class Bindings
location: class edu.berkeley.sbp.Grammar
                                        new Grammar.Bindings() {
                                                   ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
make: *** [edu.berkeley.sbp.jar] Error 1

-- 
Yang Zhang
http://www.mit.edu/~y_z/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 2192 bytes
Desc: not available
Url : http://lists.hcoop.net/pipermail/sbp-users/attachments/20100121/0642243f/attachment.obj 


More information about the Sbp-users mailing list