This option is to be given to the laucher that will start the tests,
    ie to the tycho-surefire-plugin <argLine>...</argLine>
    configuration element. 
     
    HTH 
     
    On 16/01/2012 14:07, ramesh gunjal wrote:
    
      
          Thank you Alex. Do you mean I have to run as
              follows 
          $ mvn -launcher.suppressErrors install 
            
          Unfortunately that did not work for me. Please let me
            know if I am doing something wrong.  
          -- 
            God bless you and all, 
            Ramesh 
           
          
            
              
              
              
                
                  Specifying -launcher.suppressErrors on the
                    command line will avoid this dialog 
                     
                    Sent from my iPhone 4S 
                  
                  
                    
                      
                      
                        Check the code of the
                            pop-up dialog. I vaguely remember that there
                            is a system property you can set to suppress
                            these pop-ups. 
                           
                        Regards 
                        Tobias 
                           
                           
                        
                          
                             
                          
                            
                            
                            
                              Thanks for
                                  prompt response. Yes, you are right.
                                  This is not a tycho but my Eclipse
                                  code is displaying dialog when there
                                  is any error. How can I disable these
                                  message dialogs in test mode. Is there
                                  any command line option to maven to
                                  ignore such pop-ups? 
                             
                            
                            
                              -- 
                                  God bless you and all, 
                                  Ramesh 
                             
                            
                              
                                
                                 
                                    Tycho does not display any popup
                                    dialogs. 
                                     
                                    -- 
                                    Regards, 
                                    Igor 
                                     
                                    On 12-01-13 5:54 AM, ramesh gunjal
                                    wrote: 
                                    > 
                                    > Hello, 
                                    > Is there any option in tycho to
                                    suppress the pop-up dialogs when
                                    running 
                                    > JUnit tests? 
                                    > I have some JUnit plugin test;
                                    which I am running in headless mode
                                    (with 
                                    > enabling UIHarness in my POM).
                                    It works fine if my code is good.
                                    But if 
                                    > there is any problem in my code
                                    it pops up message dialog; which
                                    blocks 
                                    > the test from running. I have
                                    to manually press "OK" and it
                                    continues. 
                                    > Is there any way to disable
                                    dialog when running JUnit tests? 
                                    > Pasting related part from my
                                    test POM 
                                    > <build> 
                                    > <plugins> 
                                    > <plugin> 
                                    >
                                    <groupId>org.eclipse.tycho</groupId> 
                                    >
                                    <artifactId>tycho-surefire-plugin</artifactId> 
                                    >
                                    <version>${tycho.version}</version> 
                                    > <configuration> 
                                    >
                                    <useUIHarness>true</useUIHarness> 
                                    >
                                    <useUIThread>true</useUIThread> 
                                    >
                                    <argLine>-XX:MaxPermSize=256m
                                    -Xms40m -Xmx512m</argLine> 
                                    > </configuration> 
                                    > </plugin> 
                                    > </plugins> 
                                    > </build> 
                                    > -- 
                                    > God bless you and all, 
                                    > Ramesh G 
                                    > 
                                    > 
                                    > 
                                    > 
                                    >
                                    _______________________________________________ 
                                    > tycho-user mailing list 
                                    > tycho-user@xxxxxxxxxxx 
                                    > https://dev.eclipse.org/mailman/listinfo/tycho-user 
_______________________________________________ 
                                    tycho-user mailing list 
                                    tycho-user@xxxxxxxxxxx 
                                    https://dev.eclipse.org/mailman/listinfo/tycho-user 
                                     
                                   
                               
                             
                           
                         
                       
                     
                   
                  
                    
                   
                 
               
              
              
             
           
         
      
 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
     
     
     
    
  
 |