[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] [platform-releng-dev] 4.8.0 I-Build: I20180424-2000 - BUILDFAILED

>Do you have a pointer where can the following come up from? 
>    Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0-SNAPSHOT:compile (default-compile) on project org.eclipse.ui.examples.navigator: Fatal error compiling: option -bootclasspath not supported at 
>compliance level 9 and above -> [Help 1]
>    Looks like -bootclasspath is added by default in such cases but this is not compatible with the new default.



this is new to me. Probably best to open a bug with sample project and steps to reproduce.

The background is that with useJDK=BREE, we are using -bootclasspath arguments to be able to compile in-process against a different JDK than the one currently running
See bugs

https://bugs.eclipse.org/bugs/show_bug.cgi?id=514471
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528752
https://bugs.eclipse.org/bugs/show_bug.cgi?id=483300


In particular my comment https://bugs.eclipse.org/bugs/show_bug.cgi?id=514471#c57 :


"@JDT devs I would appreciate feedback if the approach above with -bootclasspath, -extdirs, -endorseddirs determined by forking a small Main dumping System props is fine."


Regards
Jan
    
     
    
    
    one could probably argue that useJDK=BREE along with a missing manifest BREE should be considered an error (or at least a warning)
    
    
    
    
    I'm one of these :). Should I open a bug about this?
    
     
    
    
    Regards
    Jan
    
    On 25.04.18, 09:08, "platform-releng-dev-bounces@xxxxxxxxxxx on behalf of Aleksandar Kurtakov" <platform-releng-dev-bounces@xxxxxxxxxxx
     on behalf of akurtako@xxxxxxxxxx> wrote:
    
    
    
        On Wed, Apr 25, 2018 at 9:37 AM, Mickael Istria 
        <mistria@xxxxxxxxxx> wrote:
    
        This is caused by the fact that the bundle doesn't specify a BREE and fails back to default one (JavaSE-9 now). Specifying BREEs would avoid this error.
    
        It might be a bug in Tycho in some specific case, but it's IMO better to use this opportunity to cleanup our bundles by adding BREEs where missing.
    
    
    
    
    
    
        I've added BREE to the bundle in question and build is restarted. There is more fundamental question though:
    
    
        What should be Tycho behavior when building bundle that doesn't have BREE specified but we have useBREE=true?
    
    
    
    
    
    
    
        Cheers
    
    
    
        _______________________________________________
        tycho-dev mailing list
        tycho-dev@xxxxxxxxxxx
        To change your delivery options, retrieve your password, or unsubscribe from this list, visit
        
    https://dev.eclipse.org/mailman/listinfo/tycho-dev <https://dev.eclipse.org/mailman/listinfo/tycho-dev>
    
    
    
    
    
    
        -- 
        Alexander Kurtakov
    
        Red Hat Eclipse Team
    
    
    
    
    
    
    
    
    _______________________________________________
    platform-releng-dev mailing list
    platform-releng-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit
    https://dev.eclipse.org/mailman/listinfo/platform-releng-dev
    
    
    
    
    
    -- 
    Alexander Kurtakov
    
    Red Hat Eclipse Team