opensagres / xdocreport

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
https://github.com/opensagres/xdocreport
1.22k stars 372 forks source link

Old Freemarker dependency version #183

Open nicky1038 opened 7 years ago

nicky1038 commented 7 years ago

Hi, Could you please explain why don't you use Freemarker 2.3.23? Used 2.3.20 version is already 3,5 years old. The newer ones contain some helpful features like [#sep] and [#else] directives inside lists, loop variable built-ins and so on, it would be cool to use them with xDocReport too. Thank you!

angelozerr commented 7 years ago

XDocReport should work with last version of freemarker, no?

nicky1038 commented 7 years ago

@angelozerr According to Maven, http://mvnrepository.com/artifact/fr.opensagres.xdocreport/fr.opensagres.xdocreport.template.freemarker/2.0.0 the latest xDocReport depends on old Freemarker v2.3.20 (released in June 2013). I also tried it and the features I described above don't work.

pensionarchitects-ben commented 7 years ago

I use XDocReport with freemarker 2.3.25-incubating atm. Just override the dependency in your pom

nicky1038 commented 7 years ago

@pensionarchitects-ben Thank you for this suggestion! Maybe it is obvious for someone, but anyway I wanted to make sure it will break nothing. Hope the solution will help not only me.

angelozerr commented 7 years ago

@pascalleclercq when you will have time, could you update Freemarker to the last version please and check that there is no problem, thanks!

PallaviSaini commented 3 years ago

hi @angelozerr / @pascalleclercq ,

Did you check xdocreport with freemarker 2.3.30 version? Can i integrate xdocreport 2.0.2 with freemarker 2.3.30 version?