--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
Hi, First thing I would ask is: does it build on the CLI outside Eclipse? That'll be a first step to see if this is likely a Maven issue or more an Eclipse or even a jenkins code one.My 2 cents
Hi,
I had several problems with building Jenkins/maven-plugin in the past, but the errors I'm getting now are especial nasty:
Eclipse e.g. complains that it cannot find hudson.model.Queue.Item (in MavenModuleSet) and several other compile errors.
I checked the the Jenkins core jar is intact (building with mvn works) and no amount of refreshing in Eclipse and the usual other tricks to get it working again got me anywhere.
Did anyone have similar problems and maybe a solution?
Eclipse Kepler 4.3.1, M2e 1.4.0
-
Kutzi
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
Kutzi, in the category "Maven Problems" of the view "Markers" inside eclipse, you see any error?
On Fri, Nov 15, 2013 at 5:55 PM, Baptiste Mathus <bma...@batmat.net> wrote:
Hi, First thing I would ask is: does it build on the CLI outside Eclipse? That'll be a first step to see if this is likely a Maven issue or more an Eclipse or even a jenkins code one.My 2 cents
Hi,
I had several problems with building Jenkins/maven-plugin in the past, but the errors I'm getting now are especial nasty:
Eclipse e.g. complains that it cannot find hudson.model.Queue.Item (in MavenModuleSet) and several other compile errors.
I checked the the Jenkins core jar is intact (building with mvn works) and no amount of refreshing in Eclipse and the usual other tricks to get it working again got me anywhere.
Did anyone have similar problems and maybe a solution?
Eclipse Kepler 4.3.1, M2e 1.4.0
-
Kutzi
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Maybe we're missing this bug fix which comes with bridge-method-annotation 1.9
https://github.com/infradna/bridge-method-injector/commit/ea528faf1f92724cc5db036116bae80a234de20d
Am 16.11.2013 10:09, schrieb Vincent Latombe:
Problem appeared in core 1.520. Looking at the changes that happened for
this release,
I see an update of com.infradna.tool:bridge-method-annotation from 1.4
to 1.8
Maybe this is generating some bytecode that is not understood correctly
by the JDT, so it fails to index the corresponding class.
Vincent
2013/11/16 Vincent Latombe <vincent...@gmail.com
<mailto:vincent.latombe@gmail.com>>
For more options, visit
https://groups.google.com/groups/opt_out.
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
--
You received this message because you are subscribed to
the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to
For more options, visit
https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the
Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to
--
You received this message because you are subscribed to the
Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com<mailto:jenkinsci-dev%2Bunsu...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to jenkinsci-dev+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscribe@googlegroups.com.
I could confirm it is definitely the bridge method injector which is causing the issue.In Queue.Item, there is the following getter annotated
@WithBridgeMethods(Future.class)
public QueueTaskFuture<Executable> getFuture() { return future; }Removing the annotation then recompiling core fixes the issue for this class.Also, depending on a jenkins-core that is in the workspace workarounds the issue (because then the bridge method injector isn't called by JDT)
Given the fix you mentioned in 1.9, I doubt it will change anything.
Makes sense.
Maybe we're missing this bug fix which comes with bridge-method-annotation 1.9
https://github.com/infradna/bridge-method-injector/commit/ea528faf1f92724cc5db036116bae80a234de20d
Am 16.11.2013 10:09, schrieb Vincent Latombe:
Problem appeared in core 1.520. Looking at the changes that happened for
this release,
I see an update of com.infradna.tool:bridge-method-annotation from 1.4
to 1.8
Maybe this is generating some bytecode that is not understood correctly
by the JDT, so it fails to index the corresponding class.
Vincent
2013/11/16 Vincent Latombe <vincent...@gmail.com
<mailto:vincent...@gmail.com>>
For more options, visit
https://groups.google.com/groups/opt_out.
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !
--
You received this message because you are subscribed to
the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to
For more options, visit
https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the
Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to
--
You received this message because you are subscribed to the
Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to jenkinsci-de...@googlegroups.com<mailto:jenkinsci-dev%2Bunsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google
Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to jenkinsci-de...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
- download the source.zip from https://github.com/jenkinsci/jenkins(I mean the root of the project, not just core folder since Jenkins CLI module is required for Jenkins core from the this recompilation build ), pick up any commit, branch as you like
- unzip this source.zip to folder jenkins-xxx, (wherever as you like)
- replace @WithBridgeMethods\(.*\) with // patching for debug to jenkins-xxx/core/src/**/*.java
- run mvn package -Dmaven.test.skip=true (you should get your maven working)
- we should only care about the jenkins-core-xxx.jar is finally recompiled though some error may occur on other modules
- done