Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-releng] Compile error with org.eclipse.jpt.common.utility

It was mentioned on the weekly call earlier today (sorry I forgot who mentioned it) that I may have to bump the bundle BREE to JavaSE-1.6. Turns out that worked.

I ended up having to make this change for 2 bundles:

    - org.eclipse.jst.ws.jaxws.core
    - org.eclipse.jst.ws.jaxws.ui

Running another build now. I will see if this change needs to be applied anywhere else and then open a bug.

Thanks,


Thanh


On 10/10/13 01:58 PM, Thanh Ha wrote:
Sorry this was a user error. I had switched out JDK1.5 to JavaEE 1.5 earlier to get by another issue and forgot that I did that.

So I guess my real issue is with "org.eclipse.jst.ws.jaxws.core". The problem is that it's failing with "The import javax.jws cannot be resolved.". My original way to get around this was to swap JDK1.5 with JavaEEJDK1.5 which worked but then it caused the "org.eclipse.jpt.common.utility" because the BREE wasn't right.

I'm not sure what to do here because both of them are "J2SE-1.5" and I don't think I can declare 2 different toolchains for the same BREE. Any advice here?

Thanks,


Thanh


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.19.0-SNAPSHOT:compile (default-compile) on project org.eclipse.jst.ws.jaxws.core: Compilation failure: Compilation failure: [ERROR] /buildroot/webtools.releng.aggregator/webtools.webservices.jaxws/bundles/org.eclipse.jst.ws.jaxws.core/src/org/eclipse/jst/ws/internal/jaxws/core/annotations/validation/WebServiceNoFinalizeMethodRule.java:[17]
[ERROR] import javax.jws.WebService;
[ERROR] ^^^^^^^^^
[ERROR] The import javax.jws cannot be resolved


On 10/10/13 01:18 PM, Thanh Ha wrote:
Hmm your right. I'll keep poking but I don't think I've changed my build environment since then. The original fix was to add the 1.5 JDK to my toolchain and to build with BREE, I can confirm this change still exists in my environment.


Thanh

On 10/10/13 12:14 PM, Neil Hauge wrote:
Thanh,

This looks like the same error described in bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=412468 . Was there a resolution with this on the build side?

Neil

On 10/10/2013 11:39 AM, Thanh Ha wrote:
Hi Everyone,

I'm not running into issues building org.eclipse.jpt.common.utility as shown below. I'm building with the same BREEs as I used previously to build but maybe they changed?


Thanh


[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.19.0-SNAPSHOT:compile (default-compile) on project org.eclipse.jpt.common.utility: Compilation failure: Compilation failure: [ERROR] /buildroot/webtools.releng.aggregator/webtools.dali/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/ClassTools.java:[682] [ERROR] Constructor<T>[] constructors = javaClass.getDeclaredConstructors();
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from Constructor<?>[] to Constructor<T>[]
[ERROR] 1 problem (1 error)

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

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


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


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




Back to the top