[wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-18 Thread Nick Boldt
I've been seeing this for about a week now:

[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile
(default-compile) on project org.eclipse.wst.sse.ui: Compilation failure:
Compilation failure:
[ERROR] /jobs/genie.webtools/webtools-sourceediting_R3_10/workspace/
core/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/
StructuredTextAnnotationHover.java:[43]
[ERROR] HTMLPrinter.addPageProlog(buffer);
[ERROR] ^
[ERROR] The type java.lang.StringBuilder cannot be resolved. It is
indirectly referenced from required .class files

Affected jobs:
*
https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/webtools-sourceediting_R3_10/
*
https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/WTP-R3_10_Integration/

Anyone have time to investigate why this is failing, and offer a fix? I
tried to have Hudson ignore the workspace settings files, which worked in
the gerrit job but didn't fix the problem in the other jobs.

Related bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=528778

BTW, are the SSE committers seeing the mail sent to wtp-rel...@eclipse.org ?

Thanks in advance,

-- 

Nick Boldt

Senior Software Engineer, RHCSA

Productization Lead :: JBoss Tools & Dev Studio

IM: @nickboldt / @nboldt / http://nick.divbyzero.com

TRIED. TESTED. TRUSTED. 
@ @redhatnews   Red Hat

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

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-18 Thread Nitin Dahyabhai
I intend to bump up the BREE of both SSE core and UI to 1.8 in the master 
branch to get us past this once and for all. With the platform dependencies 
already there, as long as I can keep the code compliance itself where it is 
(it's more a pragmatic choice than a dogmatic one) I don't see much cause not 
to.

-Nitin

> On Dec 18, 2017, at 10:37 AM, Nick Boldt  wrote:
> 
> I've been seeing this for about a week now:
> 
> [ERROR] Failed to execute goal 
> org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on 
> project org.eclipse.wst.sse.ui: Compilation failure: Compilation failure:
> [ERROR] 
> /jobs/genie.webtools/webtools-sourceediting_R3_10/workspace/core/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/StructuredTextAnnotationHover.java:[43]
> [ERROR] HTMLPrinter.addPageProlog(buffer);
> [ERROR] ^
> [ERROR] The type java.lang.StringBuilder cannot be resolved. It is indirectly 
> referenced from required .class files
> 
> Affected jobs:
> * 
> https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/webtools-sourceediting_R3_10/
> * 
> https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/WTP-R3_10_Integration/
> 
> Anyone have time to investigate why this is failing, and offer a fix? I tried 
> to have Hudson ignore the workspace settings files, which worked in the 
> gerrit job but didn't fix the problem in the other jobs. 
> 
> Related bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=528778
> 
> BTW, are the SSE committers seeing the mail sent to wtp-rel...@eclipse.org ?
> 
> Thanks in advance,
> 
> -- 
> Nick Boldt
> Senior Software Engineer, RHCSA
> Productization Lead :: JBoss Tools & Dev Studio
> IM: @nickboldt / @nboldt / http://nick.divbyzero.com
>   
> TRIED. TESTED. TRUSTED.
> @ @redhatnews  Red Hat
___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-18 Thread Nick Boldt
*wild cheering for dropping support for BREE = J2SE-1.4*

*waves Team Nitin flag*

If you're keen to break some more eggs, please have a look at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528800 re: updating
toolchains.xml to the latest JDKs, and maybe removing support for obsolete
BREEs like JDK 1.4 - 1.7.

Just a thought!

Nick



On Mon, Dec 18, 2017 at 10:45 AM, Nitin Dahyabhai  wrote:

> I intend to bump up the BREE of both SSE core and UI to 1.8 in the master
> branch to get us past this once and for all. With the platform dependencies
> already there, as long as I can keep the code compliance itself where it is
> (it's more a pragmatic choice than a dogmatic one) I don't see much cause
> not to.
>
> -Nitin
>
> On Dec 18, 2017, at 10:37 AM, Nick Boldt  wrote:
>
> I've been seeing this for about a week now:
>
> [ERROR] Failed to execute goal 
> org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile
> (default-compile) on project org.eclipse.wst.sse.ui: Compilation failure:
> Compilation failure:
> [ERROR] /jobs/genie.webtools/webtools-sourceediting_R3_10/workspace/
> core/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/
> StructuredTextAnnotationHover.java:[43]
> [ERROR] HTMLPrinter.addPageProlog(buffer);
> [ERROR] ^
> [ERROR] The type java.lang.StringBuilder cannot be resolved. It is
> indirectly referenced from required .class files
>
> Affected jobs:
> * https://hudson.eclipse.org/webtools/view/webtools_R3_10/
> job/webtools-sourceediting_R3_10/
> * https://hudson.eclipse.org/webtools/view/webtools_R3_10/
> job/WTP-R3_10_Integration/
>
> Anyone have time to investigate why this is failing, and offer a fix? I
> tried to have Hudson ignore the workspace settings files, which worked in
> the gerrit job but didn't fix the problem in the other jobs.
>
> Related bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=528778
>
> BTW, are the SSE committers seeing the mail sent to wtp-rel...@eclipse.org
> ?
>
> Thanks in advance,
>
> --
>
> Nick Boldt
>
> Senior Software Engineer, RHCSA
>
> Productization Lead :: JBoss Tools & Dev Studio
>
> IM: @nickboldt / @nboldt / http://nick.divbyzero.com
> 
> TRIED. TESTED. TRUSTED. 
> @ @redhatnews   Red Hat
> 
>
>


-- 

Nick Boldt

Senior Software Engineer, RHCSA

Productization Lead :: JBoss Tools & Dev Studio

IM: @nickboldt / @nboldt / http://nick.divbyzero.com

TRIED. TESTED. TRUSTED. 
@ @redhatnews   Red Hat

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

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-18 Thread John J Collier
I agree that we should try and bump the BREE wherever possible. JEE Tools 
for example seems to still be on a BREE of J2SE-1.5, if we could get that 
up to 1.8, that would be great. 

Nick, what would have to be done to bump up JEE Tools to 1.8?


Regards,

John Collier
Software Developer, WDT/IBM Cloud
Email: john.j.coll...@ibm.com
Phone: (905)-413-3389



From:   Nick Boldt 
To: Nitin Dahyabhai 
Cc: Keith Chong , Victor Rubezhny 
, "General discussion of project-wide or 
architectural issues." 
Date:   2017/12/18 10:57 AM
Subject:        Re: [wtp-dev] Broken SSE builds due to compilation error, 
but only in Hudson (can't reproduce locally)
Sent by:wtp-dev-boun...@eclipse.org



*wild cheering for dropping support for BREE = J2SE-1.4*

*waves Team Nitin flag* 

If you're keen to break some more eggs, please have a look at 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528800 re: updating 
toolchains.xml to the latest JDKs, and maybe removing support for obsolete 
BREEs like JDK 1.4 - 1.7.

Just a thought!

Nick



On Mon, Dec 18, 2017 at 10:45 AM, Nitin Dahyabhai <
nitin.dahyab...@gmail.com> wrote:
I intend to bump up the BREE of both SSE core and UI to 1.8 in the master 
branch to get us past this once and for all. With the platform 
dependencies already there, as long as I can keep the code compliance 
itself where it is (it's more a pragmatic choice than a dogmatic one) I 
don't see much cause not to.

-Nitin

On Dec 18, 2017, at 10:37 AM, Nick Boldt  wrote:

I've been seeing this for about a week now:

[ERROR] Failed to execute goal 
org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on 
project org.eclipse.wst.sse.ui: Compilation failure: Compilation failure:
[ERROR] 
/jobs/genie.webtools/webtools-sourceediting_R3_10/workspace/core/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/StructuredTextAnnotationHover.java:[43]
[ERROR] HTMLPrinter.addPageProlog(buffer);
[ERROR] ^
[ERROR] The type java.lang.StringBuilder cannot be resolved. It is 
indirectly referenced from required .class files

Affected jobs:
* 
https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/webtools-sourceediting_R3_10/
* 
https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/WTP-R3_10_Integration/

Anyone have time to investigate why this is failing, and offer a fix? I 
tried to have Hudson ignore the workspace settings files, which worked in 
the gerrit job but didn't fix the problem in the other jobs. 

Related bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=528778

BTW, are the SSE committers seeing the mail sent to wtp-rel...@eclipse.org 
?

Thanks in advance,

-- 
Nick Boldt
Senior Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
IM: @nickboldt / @nboldt / http://nick.divbyzero.com


TRIED. TESTED. TRUSTED.
@ @redhatnews  Red Hat



-- 
Nick Boldt
Senior Software Engineer, RHCSA
Productization Lead :: JBoss Tools & Dev Studio
IM: @nickboldt / @nboldt / http://nick.divbyzero.com


TRIED. TESTED. TRUSTED.
@ @redhatnews  Red Hat___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_wtp-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=6q9DBEiC7mYUpxGNnkdhHBpN_7m_NuKsWnDlkmpsTd4&m=yleicvggdbs8IhYGQg0-YbWEXXoA1kzbeg042TBSZhU&s=gyQsP-x7tLKC2xqGxHwQL-cCF72UNnGDskXnZNDIy-0&e=



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

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-18 Thread Nick Boldt
John,

Glad you're on board with updating to 1.8.

Here's what *I* would do, because I tend to prefer commandline tools over
GUI ones.

1. I would start with piping all the manifest files through sed...

   for m in $(find . -name MANIFEST.MF); do sed -i -e
"s#J2SE-1\..#JavaSE-1.8#" -e "s#JavaSE-1\..#JavaSE-1.8#" ${m}; done

2. Run a build to see what breaks with the updated manifests from 1.4, 1.5,
1.6 -> 1.8.

(If you don't like sed, there's prolly a way to do the whole thing in
Eclipse, but that'll likely have to be done one plugin at a time.)

3. Then fix all the compilation complaints in Eclipse.

4. You'll probably also want to bump all your plugins/features from x.y.z
to x.(y+1).z to avoid breaking old consumers.

The easiest way for that is to run this:

mvn -Dtycho.mode=maven
org.eclipse.tycho:tycho-versions-plugin:1.0.0:set-version
-DnewVersion=5.6.7-SNAPSHOT

But bear in mind that it expects ALL plugins/features to be the same
version, and if your project doesn't roll that way, it won't bump
everything in the reactor in one fell swoop, so you'll have to run it in
each and every plugin folder. Or just edit your MANIFEST.MF and pom.xml
files by hand.

Nick



On Mon, Dec 18, 2017 at 12:50 PM, John J Collier 
wrote:

> I agree that we should try and bump the BREE wherever possible. JEE Tools
> for example seems to still be on a BREE of J2SE-1.5, if we could get that
> up to 1.8, that would be great.
>
> Nick, what would have to be done to bump up JEE Tools to 1.8?
>
>
> Regards,
>
> John Collier
> Software Developer, WDT/IBM Cloud
> Email: john.j.coll...@ibm.com
> Phone: (905)-413-3389 <(905)%20413-3389>
>
>
>
> From:Nick Boldt 
> To:Nitin Dahyabhai 
> Cc:Keith Chong , Victor Rubezhny <
> vrube...@redhat.com>, "General discussion of project-wide or
> architectural issues." 
> Date:2017/12/18 10:57 AM
> Subject:Re: [wtp-dev] Broken SSE builds due to compilation error,
> but only in Hudson (can't reproduce locally)
> Sent by:wtp-dev-boun...@eclipse.org
> --
>
>
>
> *wild cheering for dropping support for BREE = J2SE-1.4*
>
> *waves Team Nitin flag*
>
> If you're keen to break some more eggs, please have a look at
> *https://bugs.eclipse.org/bugs/show_bug.cgi?id=528800*
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.eclipse.org_bugs_show-5Fbug.cgi-3Fid-3D528800&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6q9DBEiC7mYUpxGNnkdhHBpN_7m_NuKsWnDlkmpsTd4&m=yleicvggdbs8IhYGQg0-YbWEXXoA1kzbeg042TBSZhU&s=I07gjkLnprJfwDAw_Zuz09qr-lCmNNFbki6PG8U3_mY&e=>re:
> updating toolchains.xml to the latest JDKs, and maybe removing support for
> obsolete BREEs like JDK 1.4 - 1.7.
>
> Just a thought!
>
> Nick
>
>
>
> On Mon, Dec 18, 2017 at 10:45 AM, Nitin Dahyabhai <
> *nitin.dahyab...@gmail.com* > wrote:
> I intend to bump up the BREE of both SSE core and UI to 1.8 in the master
> branch to get us past this once and for all. With the platform dependencies
> already there, as long as I can keep the code compliance itself where it is
> (it's more a pragmatic choice than a dogmatic one) I don't see much cause
> not to.
>
> -Nitin
>
> On Dec 18, 2017, at 10:37 AM, Nick Boldt <*nbo...@redhat.com*
> > wrote:
>
> I've been seeing this for about a week now:
>
> [ERROR] Failed to execute goal 
> org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile
> (default-compile) on project org.eclipse.wst.sse.ui: Compilation failure:
> Compilation failure:
> [ERROR] /jobs/genie.webtools/webtools-sourceediting_R3_10/workspace/
> core/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/
> StructuredTextAnnotationHover.java:[43]
> [ERROR] HTMLPrinter.addPageProlog(buffer);
> [ERROR] ^
> [ERROR] The type java.lang.StringBuilder cannot be resolved. It is
> indirectly referenced from required .class files
>
> Affected jobs:
> *
> *https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/webtools-sourceediting_R3_10/*
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__hudson.eclipse.org_webtools_view_webtools-5FR3-5F10_job_webtools-2Dsourceediting-5FR3-5F10_&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6q9DBEiC7mYUpxGNnkdhHBpN_7m_NuKsWnDlkmpsTd4&m=yleicvggdbs8IhYGQg0-YbWEXXoA1kzbeg042TBSZhU&s=bFiWl7UPuSHnif3MgsF3jpvKNbDdT-9BZ6BEdSVPUbE&e=>
> *
> *https://hudson.eclipse.org/webtools/view/webtools_R3_10/job/WTP-R3_10_Integration/*
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__hudson.eclipse.org_webtools_view_webtools-5FR3-5F10_job_WTP-2DR3-5F10-5FIntegration_&d=DwMFaQ&c=jf_iaSHvJObTbx-

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-19 Thread Lars Vogel
Hi Nick,

I think you also need to adjust the classpath setting for the jre of each
project.

Best regards, Lars

Am 18.12.2017 18:44 schrieb "Nick Boldt" :

> John,
>
> Glad you're on board with updating to 1.8.
>
> Here's what *I* would do, because I tend to prefer commandline tools over
> GUI ones.
>
> 1. I would start with piping all the manifest files through sed...
>
>for m in $(find . -name MANIFEST.MF); do sed -i -e
> "s#J2SE-1\..#JavaSE-1.8#" -e "s#JavaSE-1\..#JavaSE-1.8#" ${m}; done
>
> 2. Run a build to see what breaks with the updated manifests from 1.4,
> 1.5, 1.6 -> 1.8.
>
> (If you don't like sed, there's prolly a way to do the whole thing in
> Eclipse, but that'll likely have to be done one plugin at a time.)
>
> 3. Then fix all the compilation complaints in Eclipse.
>
> 4. You'll probably also want to bump all your plugins/features from x.y.z
> to x.(y+1).z to avoid breaking old consumers.
>
> The easiest way for that is to run this:
>
> mvn -Dtycho.mode=maven 
> org.eclipse.tycho:tycho-versions-plugin:1.0.0:set-version
> -DnewVersion=5.6.7-SNAPSHOT
>
> But bear in mind that it expects ALL plugins/features to be the same
> version, and if your project doesn't roll that way, it won't bump
> everything in the reactor in one fell swoop, so you'll have to run it in
> each and every plugin folder. Or just edit your MANIFEST.MF and pom.xml
> files by hand.
>
> Nick
>
>
>
> On Mon, Dec 18, 2017 at 12:50 PM, John J Collier 
> wrote:
>
>> I agree that we should try and bump the BREE wherever possible. JEE Tools
>> for example seems to still be on a BREE of J2SE-1.5, if we could get that
>> up to 1.8, that would be great.
>>
>> Nick, what would have to be done to bump up JEE Tools to 1.8?
>>
>>
>> Regards,
>>
>> John Collier
>> Software Developer, WDT/IBM Cloud
>> Email: john.j.coll...@ibm.com
>> Phone: (905)-413-3389 <(905)%20413-3389>
>>
>>
>>
>> From:    Nick Boldt 
>> To:    Nitin Dahyabhai 
>> Cc:Keith Chong , Victor Rubezhny <
>> vrube...@redhat.com>, "General discussion of project-wide or
>> architectural issues." 
>> Date:2017/12/18 10:57 AM
>> Subject:Re: [wtp-dev] Broken SSE builds due to compilation
>> error, but only in Hudson (can't reproduce locally)
>> Sent by:wtp-dev-boun...@eclipse.org
>> --
>>
>>
>>
>> *wild cheering for dropping support for BREE = J2SE-1.4*
>>
>> *waves Team Nitin flag*
>>
>> If you're keen to break some more eggs, please have a look at
>> *https://bugs.eclipse.org/bugs/show_bug.cgi?id=528800*
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.eclipse.org_bugs_show-5Fbug.cgi-3Fid-3D528800&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6q9DBEiC7mYUpxGNnkdhHBpN_7m_NuKsWnDlkmpsTd4&m=yleicvggdbs8IhYGQg0-YbWEXXoA1kzbeg042TBSZhU&s=I07gjkLnprJfwDAw_Zuz09qr-lCmNNFbki6PG8U3_mY&e=>re:
>> updating toolchains.xml to the latest JDKs, and maybe removing support for
>> obsolete BREEs like JDK 1.4 - 1.7.
>>
>> Just a thought!
>>
>> Nick
>>
>>
>>
>> On Mon, Dec 18, 2017 at 10:45 AM, Nitin Dahyabhai <
>> *nitin.dahyab...@gmail.com* > wrote:
>> I intend to bump up the BREE of both SSE core and UI to 1.8 in the master
>> branch to get us past this once and for all. With the platform dependencies
>> already there, as long as I can keep the code compliance itself where it is
>> (it's more a pragmatic choice than a dogmatic one) I don't see much cause
>> not to.
>>
>> -Nitin
>>
>> On Dec 18, 2017, at 10:37 AM, Nick Boldt <*nbo...@redhat.com*
>> > wrote:
>>
>> I've been seeing this for about a week now:
>>
>> [ERROR] Failed to execute goal 
>> org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile
>> (default-compile) on project org.eclipse.wst.sse.ui: Compilation failure:
>> Compilation failure:
>> [ERROR] /jobs/genie.webtools/webtools-sourceediting_R3_10/workspace/
>> core/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/
>> ui/internal/StructuredTextAnnotationHover.java:[43]
>> [ERROR] HTMLPrinter.addPageProlog(buffer);
>> [ERROR] ^
>> [ERROR] The type java.lang.StringBuilder cannot be resolved. It is
>> indirectly referenced from required .class files
>>
>> Affected jobs:
>> *
>> *https://hudson.eclipse.org/webtools

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-19 Thread Nick Boldt
Thanks, Lars.

IIRC, Eclipse fixes that automatically if you adjust the BREE in the
manifest editor... but not if you sed everything commandline. ;)



On Tue, Dec 19, 2017 at 3:17 AM, Lars Vogel  wrote:

> Hi Nick,
>
> I think you also need to adjust the classpath setting for the jre of each
> project.
>
> Best regards, Lars
>
> Am 18.12.2017 18:44 schrieb "Nick Boldt" :
>
>> John,
>>
>> Glad you're on board with updating to 1.8.
>>
>> Here's what *I* would do, because I tend to prefer commandline tools over
>> GUI ones.
>>
>> 1. I would start with piping all the manifest files through sed...
>>
>>for m in $(find . -name MANIFEST.MF); do sed -i -e
>> "s#J2SE-1\..#JavaSE-1.8#" -e "s#JavaSE-1\..#JavaSE-1.8#" ${m}; done
>>
>> 2. Run a build to see what breaks with the updated manifests from 1.4,
>> 1.5, 1.6 -> 1.8.
>>
>> (If you don't like sed, there's prolly a way to do the whole thing in
>> Eclipse, but that'll likely have to be done one plugin at a time.)
>>
>> 3. Then fix all the compilation complaints in Eclipse.
>>
>> 4. You'll probably also want to bump all your plugins/features from x.y.z
>> to x.(y+1).z to avoid breaking old consumers.
>>
>> The easiest way for that is to run this:
>>
>> mvn -Dtycho.mode=maven 
>> org.eclipse.tycho:tycho-versions-plugin:1.0.0:set-version
>> -DnewVersion=5.6.7-SNAPSHOT
>>
>> But bear in mind that it expects ALL plugins/features to be the same
>> version, and if your project doesn't roll that way, it won't bump
>> everything in the reactor in one fell swoop, so you'll have to run it in
>> each and every plugin folder. Or just edit your MANIFEST.MF and pom.xml
>> files by hand.
>>
>> Nick
>>
>>
>>
>> On Mon, Dec 18, 2017 at 12:50 PM, John J Collier 
>> wrote:
>>
>>> I agree that we should try and bump the BREE wherever possible. JEE
>>> Tools for example seems to still be on a BREE of J2SE-1.5, if we could get
>>> that up to 1.8, that would be great.
>>>
>>> Nick, what would have to be done to bump up JEE Tools to 1.8?
>>>
>>>
>>> Regards,
>>>
>>> John Collier
>>> Software Developer, WDT/IBM Cloud
>>> Email: john.j.coll...@ibm.com
>>> Phone: (905)-413-3389 <(905)%20413-3389>
>>>
>>>
>>>
>>> From:Nick Boldt 
>>> To:Nitin Dahyabhai 
>>> Cc:Keith Chong , Victor Rubezhny <
>>> vrube...@redhat.com>, "General discussion of project-wide or
>>> architectural issues." 
>>> Date:2017/12/18 10:57 AM
>>> Subject:Re: [wtp-dev] Broken SSE builds due to compilation
>>> error, but only in Hudson (can't reproduce locally)
>>> Sent by:wtp-dev-boun...@eclipse.org
>>> --
>>>
>>>
>>>
>>> *wild cheering for dropping support for BREE = J2SE-1.4*
>>>
>>> *waves Team Nitin flag*
>>>
>>> If you're keen to break some more eggs, please have a look at
>>> *https://bugs.eclipse.org/bugs/show_bug.cgi?id=528800*
>>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.eclipse.org_bugs_show-5Fbug.cgi-3Fid-3D528800&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6q9DBEiC7mYUpxGNnkdhHBpN_7m_NuKsWnDlkmpsTd4&m=yleicvggdbs8IhYGQg0-YbWEXXoA1kzbeg042TBSZhU&s=I07gjkLnprJfwDAw_Zuz09qr-lCmNNFbki6PG8U3_mY&e=>re:
>>> updating toolchains.xml to the latest JDKs, and maybe removing support for
>>> obsolete BREEs like JDK 1.4 - 1.7.
>>>
>>> Just a thought!
>>>
>>> Nick
>>>
>>>
>>>
>>> On Mon, Dec 18, 2017 at 10:45 AM, Nitin Dahyabhai <
>>> *nitin.dahyab...@gmail.com* > wrote:
>>> I intend to bump up the BREE of both SSE core and UI to 1.8 in the
>>> master branch to get us past this once and for all. With the platform
>>> dependencies already there, as long as I can keep the code compliance
>>> itself where it is (it's more a pragmatic choice than a dogmatic one) I
>>> don't see much cause not to.
>>>
>>> -Nitin
>>>
>>> On Dec 18, 2017, at 10:37 AM, Nick Boldt <*nbo...@redhat.com*
>>> > wrote:
>>>
>>> I've been seeing this for about a week now:
>>>
>>> [ERROR] Failed to execute goal 
>>> org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile
>>>

Re: [wtp-dev] Broken SSE builds due to compilation error, but only in Hudson (can't reproduce locally)

2017-12-19 Thread Lars Vogel
FYI -IIRC last time I updated the BREE the classpath was not updated
automatically.



Am 19.12.2017 16:03 schrieb "Nick Boldt" :

Thanks, Lars.

IIRC, Eclipse fixes that automatically if you adjust the BREE in the
manifest editor... but not if you sed everything commandline. ;)



On Tue, Dec 19, 2017 at 3:17 AM, Lars Vogel  wrote:

> Hi Nick,
>
> I think you also need to adjust the classpath setting for the jre of each
> project.
>
> Best regards, Lars
>
> Am 18.12.2017 18:44 schrieb "Nick Boldt" :
>
>> John,
>>
>> Glad you're on board with updating to 1.8.
>>
>> Here's what *I* would do, because I tend to prefer commandline tools over
>> GUI ones.
>>
>> 1. I would start with piping all the manifest files through sed...
>>
>>for m in $(find . -name MANIFEST.MF); do sed -i -e
>> "s#J2SE-1\..#JavaSE-1.8#" -e "s#JavaSE-1\..#JavaSE-1.8#" ${m}; done
>>
>> 2. Run a build to see what breaks with the updated manifests from 1.4,
>> 1.5, 1.6 -> 1.8.
>>
>> (If you don't like sed, there's prolly a way to do the whole thing in
>> Eclipse, but that'll likely have to be done one plugin at a time.)
>>
>> 3. Then fix all the compilation complaints in Eclipse.
>>
>> 4. You'll probably also want to bump all your plugins/features from x.y.z
>> to x.(y+1).z to avoid breaking old consumers.
>>
>> The easiest way for that is to run this:
>>
>> mvn -Dtycho.mode=maven 
>> org.eclipse.tycho:tycho-versions-plugin:1.0.0:set-version
>> -DnewVersion=5.6.7-SNAPSHOT
>>
>> But bear in mind that it expects ALL plugins/features to be the same
>> version, and if your project doesn't roll that way, it won't bump
>> everything in the reactor in one fell swoop, so you'll have to run it in
>> each and every plugin folder. Or just edit your MANIFEST.MF and pom.xml
>> files by hand.
>>
>> Nick
>>
>>
>>
>> On Mon, Dec 18, 2017 at 12:50 PM, John J Collier 
>> wrote:
>>
>>> I agree that we should try and bump the BREE wherever possible. JEE
>>> Tools for example seems to still be on a BREE of J2SE-1.5, if we could get
>>> that up to 1.8, that would be great.
>>>
>>> Nick, what would have to be done to bump up JEE Tools to 1.8?
>>>
>>>
>>> Regards,
>>>
>>> John Collier
>>> Software Developer, WDT/IBM Cloud
>>> Email: john.j.coll...@ibm.com
>>> Phone: (905)-413-3389 <(905)%20413-3389>
>>>
>>>
>>>
>>> From:Nick Boldt 
>>> To:Nitin Dahyabhai 
>>> Cc:Keith Chong , Victor Rubezhny <
>>> vrube...@redhat.com>, "General discussion of project-wide or
>>> architectural issues." 
>>> Date:2017/12/18 10:57 AM
>>> Subject:Re: [wtp-dev] Broken SSE builds due to compilation
>>> error, but only in Hudson (can't reproduce locally)
>>> Sent by:wtp-dev-boun...@eclipse.org
>>> --
>>>
>>>
>>>
>>> *wild cheering for dropping support for BREE = J2SE-1.4*
>>>
>>> *waves Team Nitin flag*
>>>
>>> If you're keen to break some more eggs, please have a look at
>>> *https://bugs.eclipse.org/bugs/show_bug.cgi?id=528800*
>>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.eclipse.org_bugs_show-5Fbug.cgi-3Fid-3D528800&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=6q9DBEiC7mYUpxGNnkdhHBpN_7m_NuKsWnDlkmpsTd4&m=yleicvggdbs8IhYGQg0-YbWEXXoA1kzbeg042TBSZhU&s=I07gjkLnprJfwDAw_Zuz09qr-lCmNNFbki6PG8U3_mY&e=>re:
>>> updating toolchains.xml to the latest JDKs, and maybe removing support for
>>> obsolete BREEs like JDK 1.4 - 1.7.
>>>
>>> Just a thought!
>>>
>>> Nick
>>>
>>>
>>>
>>> On Mon, Dec 18, 2017 at 10:45 AM, Nitin Dahyabhai <
>>> *nitin.dahyab...@gmail.com* > wrote:
>>> I intend to bump up the BREE of both SSE core and UI to 1.8 in the
>>> master branch to get us past this once and for all. With the platform
>>> dependencies already there, as long as I can keep the code compliance
>>> itself where it is (it's more a pragmatic choice than a dogmatic one) I
>>> don't see much cause not to.
>>>
>>> -Nitin
>>>
>>> On Dec 18, 2017, at 10:37 AM, Nick Boldt <*nbo...@redhat.com*
>>> > wrote:
>>>
>>> I've been seeing this for about a week now:
&