Have you tried @Initializer(after = *EXTENSIONS_AUGMENTED
<http://javadoc.jenkins-ci.org/hudson/init/InitMilestone.html#EXTENSIONS_AUGMENTED>*
)?

/B

On Thu, Jan 21, 2016 at 11:22 AM, Vinodhini Vijay <vinodhini.vi...@gmail.com
> wrote:

>
>
> Hello Team
>
> I have created 2 Jenkins plugins. 1st plugin is dependent on 2nd plugin.
>
> I wanted to access 2nd plugin's properties file (bundled with 2nd Plugin
> hpi) from the 1st Plugin in a method which has this annotation
> @Initializer(after = PLUGINS_STARTED)
>
> But always I am getting FileNotFoundException. But when Jenkins is fully
> up, I checked the 2nd plugin folder to find the properties file.
>
> Are all the plugins parallely loaded?
>
> Can some body please help me in understanding the Initializer?
>
> Is is not possible to access the properties file of a dependent plugin
> from the 1st Plugin during @ Initializer?
>
> Thank you in advance!
>
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/1136a9ae-5983-476e-99ae-d49e85387c06%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/1136a9ae-5983-476e-99ae-d49e85387c06%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS0g_h3mEqANQA4g0P4pJn4R4PL8Cu7ECjELOQj_9_984w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to