Ok, the expected output, so:

If you replace SarosComponent.class with e.g LocalFileSystem.class then 
the result should be another location (the IntelliJ PicoContainer).

What wonders me why this is not the case when running test cases in 
headless mode.

On 30.07.2014 10:00, Holger Schmeisky wrote:
> System.out.println("Pico path: " + 
> SarosComponent.class.getClassLoader().getResource(MutablePicoContainer.class.getName().replace(".",
>  
> "/").concat(".class")));
>
> yields
>
>     Pico path: 
> jar:file:/home/holger/.IdeaIC13/system/plugins-sandbox/plugins/de.fu_berlin.inf.dpp.intellij/lib/picocontainer-2.11.2.jar!/org/picocontainer/MutablePicoContainer.class
>
>
>
> Holger Schmeisky; holge...@fu-berlin.de
> Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
> +49 176 64146306
>
> Am 29.07.2014 21:47, schrieb Stefan Rossbach:
>> System.out.println(this.getClassLoader().getResource(<InsertAPicoClassHere>.class.getName().replace(".",
>>  
>>
>> "/").concat(".class"))


------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to