You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Raymond Auge <ra...@liferay.com> on 2015/03/03 22:26:13 UTC

metatype at java1.3 ?

Hey All,

metatype is currently set to java 1.3.

Is this a strict requirement?

-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Re: metatype at java1.3 ?

Posted by Raymond Auge <ra...@liferay.com>.
Thanks All!

Suffice it to say that it's just m2e interpreting the old maven
configuration as Felix stated the defaults are very old.

It'd be nice to be able to use at least generics, annotations & concurrent
(i.e. Java 5).

- Ray

On Tue, Mar 3, 2015 at 6:13 PM, Felix Meschberger <fm...@adobe.com>
wrote:

> Hi
>
> From what I can tell, the compiler plugin is configured for source and
> target 1.4 compilation whereas the Java API check (Animal Sniffer plugin(
> is not configured.
>
> I think this is an old requirement from the days before Java 8 to be able
> to run this bundle on JavaME platforms.
>
> Even today, I would be conservative and just go up to at most Java 6.
>
> Regards
> Felix
>
> > Am 03.03.2015 um 22:31 schrieb Raymond Auge <ra...@liferay.com>:
> >
> > sorry I guess m2e is deriving these settings from the pom.xml.
> >
> > It doesn't seem to have any javase compliance settings.
> >
> > Are there any?
> >
> > On Tue, Mar 3, 2015 at 4:27 PM, Raymond Auge <ra...@liferay.com>
> > wrote:
> >
> >> .. set in the eclipse settings of the project that is!
> >>
> >> On Tue, Mar 3, 2015 at 4:26 PM, Raymond Auge <ra...@liferay.com>
> >> wrote:
> >>
> >>> Hey All,
> >>>
> >>> metatype is currently set to java 1.3.
> >>>
> >>> Is this a strict requirement?
> >>>
> >>> --
> >>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >>> (@rotty3000)
> >>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >>> (@Liferay)
> >>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> >>> (@OSGiAlliance)
> >>>
> >>
> >>
> >>
> >> --
> >> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >> (@rotty3000)
> >> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >> (@Liferay)
> >> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> >> (@OSGiAlliance)
> >>
> >
> >
> >
> > --
> > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> > (@rotty3000)
> > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> > (@Liferay)
> > Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> (@OSGiAlliance)
>
>


-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Re: metatype at java1.3 ?

Posted by Felix Meschberger <fm...@adobe.com>.
Hi

From what I can tell, the compiler plugin is configured for source and target 1.4 compilation whereas the Java API check (Animal Sniffer plugin( is not configured.

I think this is an old requirement from the days before Java 8 to be able to run this bundle on JavaME platforms.

Even today, I would be conservative and just go up to at most Java 6.

Regards
Felix

> Am 03.03.2015 um 22:31 schrieb Raymond Auge <ra...@liferay.com>:
> 
> sorry I guess m2e is deriving these settings from the pom.xml.
> 
> It doesn't seem to have any javase compliance settings.
> 
> Are there any?
> 
> On Tue, Mar 3, 2015 at 4:27 PM, Raymond Auge <ra...@liferay.com>
> wrote:
> 
>> .. set in the eclipse settings of the project that is!
>> 
>> On Tue, Mar 3, 2015 at 4:26 PM, Raymond Auge <ra...@liferay.com>
>> wrote:
>> 
>>> Hey All,
>>> 
>>> metatype is currently set to java 1.3.
>>> 
>>> Is this a strict requirement?
>>> 
>>> --
>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>> (@rotty3000)
>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>> (@Liferay)
>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>>> (@OSGiAlliance)
>>> 
>> 
>> 
>> 
>> --
>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>> (@rotty3000)
>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>> (@Liferay)
>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>> (@OSGiAlliance)
>> 
> 
> 
> 
> -- 
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> (@rotty3000)
> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)


Re: metatype at java1.3 ?

Posted by Neil Bartlett <nj...@gmail.com>.
Ray,

What exactly are you asking? The Metatype specification is compiled against ee.minimum, but implementations of the spec can depend on whatever version they like. I’m not sure if there is a global policy regarding Java versions for Felix sub-projects… but it’s clear that many sub-projects depend on at least Java 1.5.

Neil


> On 3 Mar 2015, at 21:31, Raymond Auge <ra...@liferay.com> wrote:
> 
> sorry I guess m2e is deriving these settings from the pom.xml.
> 
> It doesn't seem to have any javase compliance settings.
> 
> Are there any?
> 
> On Tue, Mar 3, 2015 at 4:27 PM, Raymond Auge <ra...@liferay.com>
> wrote:
> 
>> .. set in the eclipse settings of the project that is!
>> 
>> On Tue, Mar 3, 2015 at 4:26 PM, Raymond Auge <ra...@liferay.com>
>> wrote:
>> 
>>> Hey All,
>>> 
>>> metatype is currently set to java 1.3.
>>> 
>>> Is this a strict requirement?
>>> 
>>> --
>>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>> (@rotty3000)
>>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>> (@Liferay)
>>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>>> (@OSGiAlliance)
>>> 
>> 
>> 
>> 
>> --
>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>> (@rotty3000)
>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>> (@Liferay)
>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>> (@OSGiAlliance)
>> 
> 
> 
> 
> -- 
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> (@rotty3000)
> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: metatype at java1.3 ?

Posted by Raymond Auge <ra...@liferay.com>.
sorry I guess m2e is deriving these settings from the pom.xml.

It doesn't seem to have any javase compliance settings.

Are there any?

On Tue, Mar 3, 2015 at 4:27 PM, Raymond Auge <ra...@liferay.com>
wrote:

> .. set in the eclipse settings of the project that is!
>
> On Tue, Mar 3, 2015 at 4:26 PM, Raymond Auge <ra...@liferay.com>
> wrote:
>
>> Hey All,
>>
>> metatype is currently set to java 1.3.
>>
>> Is this a strict requirement?
>>
>> --
>> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>>  (@rotty3000)
>> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>>  (@Liferay)
>> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
>> (@OSGiAlliance)
>>
>
>
>
> --
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>  (@rotty3000)
> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>  (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> (@OSGiAlliance)
>



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Re: metatype at java1.3 ?

Posted by Raymond Auge <ra...@liferay.com>.
.. set in the eclipse settings of the project that is!

On Tue, Mar 3, 2015 at 4:26 PM, Raymond Auge <ra...@liferay.com>
wrote:

> Hey All,
>
> metatype is currently set to java 1.3.
>
> Is this a strict requirement?
>
> --
> *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
>  (@rotty3000)
> Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
>  (@Liferay)
> Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> (@OSGiAlliance)
>



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)