Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] [Prov] Build errors against CDC-1.1/Foundation-1.1


yes and you should also be sure when messing with the BundleRequiredExecutionEnvironment in PDE tthat you click on the Update classpath link as that is what causes the project's compiler compliance levels etc to be set at the JDT layer.

Getting a perfect match for a JRE can be a battle.  For example, Foundation 1.1 is a subset of J2SE 1.4 so even if you have a 1.4 around, you can still end up in hot water at runtime.  You can get Foundation 1.1 JREs from IBM
        http://wiki.eclipse.org/J9
but until now adding such a JRE to the list of installed JREs did not work well (or you had to go get some additional support that worked in some situations).  Darin and the debug guys have been busily working away on support for using .ee files to "install" JREs.  Using this mechanism you can describe and install just about any JRE.  Check out
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=181026
There are likely a few kinks right now but we'll definitely have an .ee file for Foundation 1.1 available soon (if not already).  this way we will get the right compliance levels and the exact class libs.  So we won't have any excuses...

Jeff




"Remy Chi Jian Suen" <remy.suen@xxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

08/13/2007 09:28 PM

Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
"Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
cc
Subject
Re: [equinox-dev] [Prov] Build errors against CDC-1.1/Foundation-1.1





ECJ will not flag class usage issues (it does for generics, but that's a syntax issue, per se). "Perfect match" for EEs are the only way to prevent yourself from using the wrong classes, I believe.

Regards,
Rem

On 8/13/07, David R Stevenson <dstevens@xxxxxxxxxx> wrote:

Hi, Tim,


The faux pas was mine, Susan reported it earlier, and Pascal delivered the fix around noon today.  An interesting point was that the compiler compliance level for the project was 1.4, but the issue was not flagged.


Sorry for the problem


       - Dave

__________________________________

Dave Stevenson

dstevens@xxxxxxxxxx
Phone: 503-578-3578; T/L 775-3578



"Tim Webb" <tim@xxxxxxxxxx>
Sent by:
equinox-dev-bounces@xxxxxxxxxxx

08/13/2007 05:46 PM

Please respond to
Equinox development mailing list <
equinox-dev@xxxxxxxxxxx>


To
equinox-dev@xxxxxxxxxxx
cc
Subject
[equinox-dev] [Prov] Build errors against CDC-1.1/Foundation-1.1







Hi,

I am running into some build errors with a few projects that appear to be due to dependencies on calls only available in Java 1.5.  The execution environment is listed as CDC-1.1/Foundation-1.1 which is linking against 1.4 on my system.  One of the offending classes is LocalMetadataRepository with a reference to getCanonicalName().

Has anyone else seen this issue?  (This is building on an OS X system with 1.4, 1.5 and 1.6 installed).

Cheers,

Tim_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top