Okay, Romain. Open source. NetBeans can reuse tomee code that detects and
reports tomcat tomee version at (NetBeans) runtime, too.
 On Aug 27, 2014 7:51 AM, "Romain Manni-Bucau" <[email protected]>
wrote:

> @Howard: netbeans can't rely on startup since it needs available libs
> for development + we change this version at runtime.
>
> but maven metadata are reliable
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
> 2014-08-27 13:42 GMT+02:00 Howard W. Smith, Jr. <[email protected]>:
> > Kay, atmosphere library had a fix for detecting tomcat and tomee
> versions.
> > Romain may remember that discussion. Add atmosphere runtime dependency to
> > your app, start tomee and look for tomee tomcat version in a one line
> > string in atmosphere log lines in log file.
> > On Aug 27, 2014 5:06 AM, "Kay Wrobel" <[email protected]> wrote:
> >
> >> Thanks, Romain.
> >>
> >> Kay
> >>
> >> On 08/27/2014 04:00 AM, Romain Manni-Bucau wrote:
> >>
> >>> FYI informations are in maven properties in jars so it is surely an
> >>> easier way to support coming version.
> >>>
> >>>
> >>>
> >>>
> >>> Romain Manni-Bucau
> >>> Twitter: @rmannibucau
> >>> Blog: http://rmannibucau.wordpress.com/
> >>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> >>> Github: https://github.com/rmannibucau
> >>>
> >>>
> >>> 2014-08-27 10:53 GMT+02:00 Kay Wrobel <[email protected]>:
> >>>
> >>>> Hi.
> >>>>
> >>>> I am the author of the PrimeFaces CRUD Generator dedicated plugin
> (a.k.a.
> >>>> nbpfcrudgen, not the one that's built into NetBeans since 8 but the
> one
> >>>> I'm
> >>>> hosting on SourceForge) and have been asked this question recently on
> >>>> Facebook. The problem is with NetBeans 8 and how it detects a proper
> >>>> TomEE
> >>>> version. Unfortunately, the team has hard-coded version strings in
> their
> >>>> source. They are looking for the tomee-common-x.x.x.jar and make a
> >>>> determination from that version. But they only test for 1.5.x and
> 1.6.x,
> >>>> not
> >>>> 1.7.x. I have filed a bug report with NetBeans here:
> >>>> https://netbeans.org/bugzilla/show_bug.cgi?id=246523
> >>>>
> >>>> As a workaround, and I know the TomEE team discourages this, you could
> >>>> rename the tomee-common-1.7.0.jar to tomee-common-1.6.0.jar and
> NetBeans
> >>>> will detect it properly. TomEE will not fail to start up in my
> >>>> experience.
> >>>> NetBeans has not yet acknowledged the bug report and no one is
> assigned
> >>>> to
> >>>> it.
> >>>>
> >>>> Try renaming that file and see what your experience is with it.
> >>>>
> >>>> Kay
> >>>>
> >>>>
> >>>> On 08/27/2014 03:43 AM, User57 wrote:
> >>>>
> >>>>> I am trying to generate PrimeFaces pages from Entity classes for a
> Java
> >>>>> EE
> >>>>> web project. My web server is Apache TomEE 1.7 and I'm using
> Netbeans 8
> >>>>> as
> >>>>> an IDE.
> >>>>>
> >>>>> When I run the wizard to generate the pages I get this error Cannot
> be
> >>>>> generated for Java EE 6 sources without server with complete  Java
> EE 6
> >>>>> Web
> >>>>> Profile support (at least EJB Lite support).
> >>>>>
> >>>>> Netbeans 8 supports TomEE and posts about this error say that it
> should
> >>>>> be
> >>>>> fixed with the release of the 8th version of Netbeans.
> >>>>>
> >>>>> What should I do to fix this problem ?
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> View this message in context:
> >>>>> http://tomee-openejb.979440.n4.nabble.com/Apache-TomEE-
> >>>>> web-server-does-not-allow-generation-of-Primefaces-
> >>>>> pages-from-Entity-Classes-tp4671397.html
> >>>>> Sent from the TomEE Users mailing list archive at Nabble.com.
> >>>>>
> >>>>
> >>>>
> >>
>

Reply via email to