Uploaded image for project: 'Bobo'
  1. BOBO-98

Ant Build on Bobo Browse doesn't work out of the box

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects versions: None
    • Fix versions: None
    • Components: build
    • Labels:
      None
    • Sprint:

      Description

      The ant command generates error when executed from the bobo browse directory because of missing files in the lib/master directory, namely

      • Kamikaze
      • it.unimi.dsi.fastutil

      init:

      compile:
      javac H:\java\projects\bobo\bobo-browse\build.xml:27: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      javac Compiling 35 source files to H:\java\projects\bobo\bobo-browse\build

      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\facets\filter\AdaptiveFacetFilter.java:22: package com.kamikaze.docidset.impl does not exist
      javac import com.kamikaze.docidset.impl.OrDocIdSet;
      javac ^
      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\sort\LuceneCustomDocComparatorSource.java:11: type org.apache.lucene.search.FieldComparator does not take parameters
      javac private final FieldComparator<Comparable> _luceneComparator;
      javac ^
      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\sort\LuceneCustomDocComparatorSource.java:13: type org.apache.lucene.search.FieldComparator does not take parameters
      javac public LuceneCustomDocComparatorSource(String fieldname,FieldComparator<Comparable> luceneComparator){
      javac ^
      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\sort\SortCollectorImpl.java:3: cannot find symbol
      javac symbol : class Int2ObjectOpenHashMap
      javac location: package it.unimi.dsi.fastutil.ints
      javac import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
      javac ^
      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\sort\SortCollectorImpl.java:94: cannot find symbol
      javac symbol : class Int2ObjectOpenHashMap
      javac location: class com.browseengine.bobo.sort.SortCollectorImpl
      javac private final Int2ObjectOpenHashMap<ScoreDoc> _currentValueDocMaps;
      javac ^
      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\facets\filter\AdaptiveFacetFilter.java:180: cannot find symbol
      javac symbol : class OrDocIdSet
      javac location: class com.browseengine.bobo.facets.filter.AdaptiveFacetFilter.TermListRandomAccessDocIdSet
      javac return new OrDocIdSet(docSetList).iterator();
      javac ^
      javac H:\java\projects\bobo\bobo-browse\src\com\browseengine\bobo\sort\SortCollectorImpl.java:157: cannot find symbol
      javac symbol : class Int2ObjectOpenHashMap
      javac location: class com.browseengine.bobo.sort.SortCollectorImpl
      javac _currentValueDocMaps = new Int2ObjectOpenHashMap<ScoreDoc>(_count);
      javac ^
      javac Note: Some input files use unchecked or unsafe operations.
      javac Note: Recompile with -Xlint:unchecked for details.
      javac 7 errors

      BUILD FAILED
      H:\java\projects\bobo\bobo-browse\build.xml:27: Compile failed; see the compiler
      error output for details.

        Attachments

          Activity

            People

            • Assignee:
              jwang John Wang
              Reporter:
              mschipperheyn Marc Schipperheyn
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: