Compilation issue
Monday, 12 November 2012 · 2 messages
AM
Antoni Mylka12 Nov 2012 14:54 #
Hi,
I tried to clone and build the basex maven module today and I stumbled upon two issues.
1. When JavaCC is called, it modifies the RegExParser.java. The modified version contains the following lines:
} catch(final ParseException pe) {
throw Err.REGERR.thrw(ii, pe.getMessage());
} catch(final TokenMgrError err) {
throw Err.REGERR.thrw(ii, err.getMessage());
}this causes a compilation error because the Err enum does not seem to contain the REGERR constant.
2. In German.lang the h_revert_file key had to be renamed to h_reopen_file. Otherwise the LangTest would fail.
Am I doing something wrong? Are these issues real?
--
Antoni Myłka
Software Engineer
basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 http://www.basis06.ch - source of smart business
CG
Christian Grün12 Nov 2012 14:58 #
Thanks Antoni,
I have updated the code base; the two issue should now be fixed. Christian
Quoted text · Antoni Mylka · 30 lines
On Mon, Nov 12, 2012 at 2:54 PM, Antoni Mylka <amy at basis06.ch> wrote: > Hi, > > I tried to clone and build the basex maven module today and I stumbled upon two issues. > > 1. When JavaCC is called, it modifies the RegExParser.java. The modified version contains the following lines: > > } catch(final ParseException pe) { > throw Err.REGERR.thrw(ii, pe.getMessage()); > } catch(final TokenMgrError err) { > throw Err.REGERR.thrw(ii, err.getMessage()); > } > > this causes a compilation error because the Err enum does not seem to contain the REGERR constant. > > 2. In German.lang the h_revert_file key had to be renamed to h_reopen_file. Otherwise the LangTest would fail. > > Am I doing something wrong? Are these issues real? > > -- > Antoni Myłka > Software Engineer > > basis06 AG, Birkenweg 61, CH-3013 Bern - Fon +41 31 311 32 22 > http://www.basis06.ch - source of smart business > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 7.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery