edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject Re: maven: java7 build?
Date Mon, 25 Sep 2017 20:32:35 GMT
Hi Dale,

Just go into the platform-java7 directory and run the build with the same settings enabled.
I think I refactored all tests to work correctly, even on Java 7. Guess that’s why you aren’t
seeing any problems ;-)

Chris

Am 25.09.17, 21:36 schrieb "Dale LaBossiere" <dml.apache@gmail.com>:

    duh, forgot the -Pjava8.home=…
    
    OK, the following works (with the clean), building and running all the J8,7,Android tests
    
    $ mvn clean install -Djava8.home=$JAVA_HOME -Ptoolchain,platform-java7,platform-android
    
    But this sequence doesn’t, complaining about lambdas when running the J7 API Window
tests.  Does it work for you?
    
    $ mvn clean install -DskipTests -Pplatform-java7,platform-android
    $ mvn install -Djava8.home=$JAVA_HOME -Ptoolchain,platform-java7,platform-androidm  #
note, no “clean"
    
    Unrelated… is there a way to avoid running all of the J8 tests when I just want to iterate
on running J7 tests?
    
    — Dale

Mime
View raw message