On Mon, Dec 8, 2014 at 5:48 AM, Ivo Bellin Salarin <
[email protected]> wrote:

> Let me give you some more information:
>
> I have been able to attach NetBeans to the Jenkins instance. (thanks,
> James Nord).
>
> But, there's something strange in the git-client.hpl that I can find in
> the work\plugins\git-client.hpl. Here's an excerpt:
>
> Manifest-Version: 1.0
> Group-Id: org.jenkins-ci.plugins
> Short-Name: git-client
> Long-Name: Jenkins GIT client plugin
> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin
> Plugin-Version: 1.12.1-SNAPSHOT (private-12/08/2014 13:41-BELLINSALARIN)
> Hudson-Version: 1.509
> Jenkins-Version: 1.509
> Plugin-Dependencies: ssh-credentials:1.10,git-server:1.5,ui-samples-pl
> ugin:1.509
> Plugin-Developers: Nicolas De Loof:ndeloof:[email protected],Ma
>  rk Waite:markewaite:[email protected]
>
> The line Plugin-dependencies lists git-server and ui-samples-plugin. This
> hpl differs from the MANIFEST-MF that I can find in the git-client.hpi.
> How's that possible? How is it generated?
>
>
I'm not a maven expert, but I wonder if the git-server is inserted in one
place and not another because it is a test dependency.  The git-server
dependency is not required outside of tests.

Mark Waite



> Le Fri Dec 05 2014 at 5:32:14 PM, James Nord <[email protected]> a
> écrit :
>
>  I use eclipse but it should be very similar as outlined at
>> https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial#Plugintutorial-DebuggingaPlugin
>>
>> the bits that is missing is in eclipse I then "attach to a process" and
>> add the source location from my local workspace...
>>
>> /James
>>
>>
>> On 05/12/2014 15:38, Ivo Bellin Salarin wrote:
>>
>> Well,
>>
>>  I would try to setup a debug environment for a jenkins plugin
>> (git-client-plugin) on windows 8.1.
>> But I'm failing at it, and I don't know how to proceed.
>>
>>  So far: I have installed netbeans 8.0.1 and the sources of
>> git-client-plugin from github. I have built the sources using
>> netbeans/maven, and I am able to run jenkins using mvn hpi:run.
>>
>> But:
>> 1) NetBeans doesn't propose me to debug the plugin. The debug button is
>> grayed out.
>> 2) Git-client-plugin is part of a chain of plugins. The final user of
>> this plugin chain is git-plugin. If I deploy git-plugin and all of its
>> dependencies, I get other exceptions, like "cycle detected (git-client ->
>> git-server -> git-client)"
>> 3) deleting git-server, I get an error concerning the absence of
>> git-client 1.11.1...
>>
>>  Well, do somebody have noob instructions about how to setup a debug
>> environment for git-client-plugin?
>>
>>  thanks in advance,
>> Ivo
>>
>>  --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF9bU09M4%2BXb7Ox1sYhnCOX1iJBis6O2uJx%2BBkKT%2Ba9jbQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF9bU09M4%2BXb7Ox1sYhnCOX1iJBis6O2uJx%2BBkKT%2Ba9jbQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>  --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/5481DE18.2000309%40teilo.net
>> <https://groups.google.com/d/msgid/jenkinsci-dev/5481DE18.2000309%40teilo.net?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF_BZE%3D4LBr25y%3DPGZ6UOKbzQTN7iVFuGdQjToW3k1peTg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF_BZE%3D4LBr25y%3DPGZ6UOKbzQTN7iVFuGdQjToW3k1peTg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEDTZ0syxsuY3ZB-F66TkHtkExPyscdSrGXgh%3DT-6i8uQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to