From: Benedikt K. <ben...@ki...> - 2013-01-29 18:01:09
|
Hi Julian, > Congratulations on olap4ld. I'd love to know more. If you have slides > or a demo please share with this list. Thanks a lot. We have used olap4ld with Saiku for a submission to the XBRL challenge last year. A demo, screencast and descriptions you can find at [1]. Note, so far, olap4ld is in a very early state. I let you know if we use it in larger deployments. > I think it should probably break as soon as it finds the first > test.properties file. See the two added 'break' statements below. > What do you think? That works, I tried it. Best, Benedikt [1] <http://xbrl.us/research/appdev/Pages/275.aspx> ----- Original Message ----- > From: "Julian Hyde" <jh...@pe...> > To: "Benedikt Kämpgen" <ben...@ki...> > Cc: "ola...@li... list" <ola...@li...> > Sent: Monday, January 28, 2013 5:30:31 PM > Subject: Re: [Olap4j-devel] olap4j 1.1.0 > > On Jan 27, 2013, at 7:06 AM, Benedikt Kämpgen > <ben...@ki...> wrote: > > > I can confirm that olap4j 1.1.0 works with olap4ld [1]. We have now > > also switched to a git repository. > > Congratulations on olap4ld. I'd love to know more. If you have slides > or a demo please share with this list. > > > PS: As a minor comment: in > > org.olap4j.test.TestContext.getStaticTestProperties, I am > > wondering whether it is correct that the second > > testProperties.load(new FileInputStream(file)) overrides the > > first. My driver provides its own test.properties, which is > > overridden there. I could file a bug if I am right. > > I think it should probably break as soon as it finds the first > test.properties file. See the two added 'break' statements below. > What do you think? > > File dir = new File(System.getProperty("user.dir")); > while (dir != null) { > File file = new File(dir, "test.properties"); > if (file.exists()) { > try { > testProperties.load(new > FileInputStream(file)); > } catch (IOException e) { > // ignore > } > break; > } > > file = new File(new File(dir, "olap4j"), > "test.properties"); > if (file.exists()) { > try { > testProperties.load(new > FileInputStream(file)); > } catch (IOException e) { > // ignore > } > break; > } > > dir = dir.getParentFile(); > } > > Julian > > -- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 (721) 608 48941 Email: ben...@ki... Web: http://www.aifb.kit.edu/web/Hauptseite/en |