Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] Conflicts between Java 6 and 7

Hi

Tests can be run using Java 6, once the bad eclipseIsRunning() routine is fixed.

Builds that invoke GenerateModel must use Java 7 since jdt.core classes are used by emf.codegen.

Fixes pushed to QVTd master.

Use of Java 6 is now largely dead in Eclipse, so Java 6 BREEs can be changed to 7 when convenient. No need to do so unnecessarily.

    Regards

        Ed



On 01/04/2015 16:46, Ed Willink wrote:
Hi

Yes it's a pain.

jdt.core started the bandwagon by moving to a Java 7 BREE. Now many platform plugins have Java 7 class files.

The fix is that all build-time plugins should have a Java 7 BREE and Java 7 class path. Edit the manifest overview, then click on update classpath. There is also a catchException that has to change to Throwable when testing for Eclipse running.

I'll push the fixes to master shortly.

    Regards

        Ed

On 01/04/2015 16:35, Horacio Hoyos Rodriguez wrote:

Hi,

 

There seems to be an issue with the Java requirements for some of the plugins. The problem, for me, appears when trying to run the /org.eclipse.qvtd.build.etl.tests/src/org/eclipse/qvtd/build/etl/tests/QVTdMtcTests.java tests. The etl test project has a Java 1.6 requirement, but will only run with Java 1.7. Have any other QVT or OCL projects moved to required 1.7 and so having projects requesting 1.6 is an error?

 

Regards,

 

Horacio Hoyos Rodríguez

EngD Student

University of York

 

http://www.york.ac.uk/docs/disclaimer/email.htm

 



_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5863 / Virus Database: 4321/9426 - Release Date: 04/01/15




_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5863 / Virus Database: 4321/9426 - Release Date: 04/01/15



Back to the top