Hi Venkat,

On Fri, 2015-10-02 at 17:57 +0000, Venkat Ganesh wrote:
> Hello,
> 
> I am NOT able to run the test in
> sling/contrib/extensions/distribution/it using IntelliJ IDE. Running
> it in IDE will help me debug it. I see the error below when I try to
> run the test from IDE after importing the distribution/it maven
> project.

I am not an IntelliJ user, but the key words I keep hearing around
IntelliJ and Sling are 'disable Osmorc'.

Hope that makes sense to you :-)

Cheers,

Robert

> 
> Information:10/2/15, 10:44 AM - Compilation completed with 2 errors
> and 1 warning in 5s 486ms
> /Users/vganesh/git/sling/contrib/extensions/distribution/it/pom.xml
> Error:osgi: [org.apache.sling.distribution.it] Failed to load plugin
> org.apache.felix.bundleplugin.BlueprintPlugin;, error:
> org.apache.felix.bundleplugin.BlueprintPlugin not found, parent:  
> java.net.URLClassLoader@4dc63996 urls:[]
> exception:java.lang.ClassNotFoundException:
> org.apache.felix.bundleplugin.BlueprintPlugin
> Error:osgi: [org.apache.sling.distribution.it] Cannot load the plugin
> org.apache.felix.bundleplugin.BlueprintPlugin
> Warning:osgi: [org.apache.sling.distribution.it] No translation found
> for macro: sling.bree, in
> 
> 
> 
> Running the mvn command from command line, as shown below, does
> complete successfully, but the breakpoints I have placed in the tests
> do NOT get invoked after I attach to that process using IDE.
> 
> Thanks,
> 
> /Users/vganesh/git/sling/contrib/extensions/distribution/it
> mvn -Dmaven.surefire.debug test
> 
> 
> Information contained in this e-mail message is confidential. This e
> -mail message is intended only for the personal use of the
> recipient(s) named above. If you are not an intended recipient, do
> not read, distribute or reproduce this transmission (including any
> attachments). If you have received this email in error, please
> immediately notify the sender by email reply and delete the original
> message.

Reply via email to