Tried upgrading to java 1.8 and cleared the ant and ivy cache. still facing the same issue. Have any of you guys faced this already ? Pradeep.
> From: [email protected] > To: [email protected] > Subject: RE: Freemarker manual Local set up > Date: Tue, 29 Sep 2015 08:43:05 +0530 > > Hi, I tried to do "ant manualFreemarkerOrg" to bring up the manual locally. > But end up in the following error. > BUILD > FAILEDC:\Users\pmuruge\Desktop\Pradeep\Personal\github\apache\freemarker\incubator-freemarker\build.xml:570: > The following error occurred while executing this > line:C:\Users\pmuruge\Desktop\Pradeep\Personal\github\apache\freemarker\incubator-freemarker\build.xml:556: > java.lang.UnsupportedClassVersionError: > org/freemarker/docgen/TransformAntTask : Unsupported major.minor version 52.0 > > Googling got me to the state that the docgen jar would have been build using > different java and from the github readme understood that docgen requires > java 1.8. which means compiling Freemarker project also require Java 1.8 ? > Its not mentioned in Freemarker readme though. > Please guide me. > Also, > How are you guys working with multiple java versions in the same machine. > BTW I am using Windows and tried to manage java 1.7 & java 1.8 but failed > with an error . If you guys are already following some way kindly let me know. > > Pradeep. > > > > Date: Wed, 23 Sep 2015 20:34:03 +0200 > > From: [email protected] > > To: [email protected] > > Subject: Re: Freemarker manual Local set up > > > > The Manual is in the "freemarker" project, under src/manual. It also > > uses docgen of course. (You can download the latest docgen artifact > > with running `ant update-deps` in the "freemarker" project.) The > > manual is built with `ant manualOffline` or `manualFreemarkerOrg`. > > > > As of README-s, all 3 modules (freemarker, site, docgen) has one, so > > what's not described there is probably undocumented... > > > > Anyway, it's docgen's responsibility to generate the hidden HTML forms > > and JavaScript that will be needed. (Both the Web site and the Manual > > is built from DocBook XML by Docgen.) > > > > -- > > Thanks, > > Daniel Dekany > > > > > > Wednesday, September 23, 2015, 7:33:05 PM, Pradeep Murugesan wrote: > > > > > Hi Daniel, > > > I could see that freemarker manual is part of the site > > > http://freemarker.org/docs/index.html > > > Since that is generated using the doc-gen, I am trying to look into > > > the https://github.com/apache/incubator-freemarker-site for manual > > > contents. > > > https://github.com/apache/incubator-freemarker-site/blob/master/src/main/docgen/book.xml > > > references to the site but I am not able to get the xml for manual which > > > doc-gen converts. > > > > > > I am trying to get the manual up and running locally to connect > > > with the freemarker online. Is there any readme kind of thing to achieve > > > the same ? > > > Please guide me. > > > Pradeep. > > >
