| headless not entirely headless [message #329804] | 
Sat, 05 July 2008 00:46   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: irbull.cs.uvic.ca 
 
Hi all, 
 
I am using a Headless antRunner application to build and deploy an RCP  
application.  However, if things go wrong (e.g., a dependency cannot be  
resolved), ant throws a message and wants to open a (GTK) error dialog  
telling me this.  This is fine, until I try doing all this in a cron  
job, and it can't open the error message -- then antRunner dies. 
 
Is there a way to make a fully headless application.  I use -nosplash,  
but this is just for the splash screen.  I saw a previous post about  
this, and it was suggested to use the startup.jar, but this requires me  
to hard code the launcher version in my cron job. 
 
thoughts, 
ian
 |  
 |  
  | 
| Re: headless not entirely headless [message #329997 is a reply to message #329804] | 
Fri, 11 July 2008 14:11    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Ian, 
 
--launcher.suppressErrors 
 
will do the trick. 
 
 
Marco 
 
 
Ian Bull schrieb: 
> Hi all, 
>  
> I am using a Headless antRunner application to build and deploy an RCP  
> application.  However, if things go wrong (e.g., a dependency cannot be  
> resolved), ant throws a message and wants to open a (GTK) error dialog  
> telling me this.  This is fine, until I try doing all this in a cron  
> job, and it can't open the error message -- then antRunner dies. 
>  
> Is there a way to make a fully headless application.  I use -nosplash,  
> but this is just for the splash screen.  I saw a previous post about  
> this, and it was suggested to use the startup.jar, but this requires me  
> to hard code the launcher version in my cron job. 
>  
> thoughts, 
> ian
 |  
 |  
  | 
| Re: headless not entirely headless [message #330131 is a reply to message #329997] | 
Wed, 16 July 2008 02:09   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: irbull.cs.uvic.ca 
 
Thanks Marco! 
 
- Ian 
Marco Lehmann wrote: 
> Hi Ian, 
>  
> --launcher.suppressErrors 
>  
> will do the trick. 
>  
>  
> Marco 
>  
>  
> Ian Bull schrieb: 
>> Hi all, 
>> 
>> I am using a Headless antRunner application to build and deploy an RCP  
>> application.  However, if things go wrong (e.g., a dependency cannot  
>> be resolved), ant throws a message and wants to open a (GTK) error  
>> dialog telling me this.  This is fine, until I try doing all this in a  
>> cron job, and it can't open the error message -- then antRunner dies. 
>> 
>> Is there a way to make a fully headless application.  I use -nosplash,  
>> but this is just for the splash screen.  I saw a previous post about  
>> this, and it was suggested to use the startup.jar, but this requires  
>> me to hard code the launcher version in my cron job. 
>> 
>> thoughts, 
>> ian
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05377 seconds