I have created my own jelly control that I have placed in my maven project at src/main/resources/lib/form/mycontrol.jelly. I then reference this tag in my jelly file like this:

<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
      <f:mycontrol title="title" field="field">
        <f:expandableTextbox/>
      </f:mycontrol>
</j:jelly>

This all seems to work find and my control is rendered correctly when I run with "mvn hpi:run".

However, when I try to run a test using "mvn:test" the control is not rendered correctly. In the testing environment it doesn't seem that Jenkins can find my mycontrol.jelly file.

I assume there is some sort of search path that needs to be set up for testing. What am I missing?

Thanks,

-- Greg

--
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/2d91a9d9-98a0-2b59-f15b-aa240d44dc37%40redhat.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to