| 
| Eclipse command line worspace refresh [message #323346] | Tue, 18 December 2007 11:51  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: arturslicis.inbox.lv 
 Hello,
 
 I'm exporting my plugins running antRunner from headless Eclipse. Since
 source is updated from non-Eclipse environment, the workspace becomes
 out-of-date and build procedure might report unexisting errors.
 
 What I tried was '-refresh' argument (seen in docs that such exists), but
 Eclipse reports that it's an invalid argument; what I do:
 
 eclipsec.exe -nosplash -refresh -application
 org.eclipse.ant.core.antRunner -data .\.. -buildfile build.xml
 Unknown argument: -refresh
 Buildfile: build.xml
 
 plugin_export:
 
 Tried eclipse.exe with -consolelog as well to see what happens when
 ordinary eclipse launched, but result is the same.
 Otherwise it works fine, but refresh functionality is really needed.
 
 Any ideas how could I refresh workspace on headless Eclipse startup?
 
 Thank you in advance,
 Arturs
 |  |  |  | 
| 
| Re: Eclipse command line worspace refresh [message #323352 is a reply to message #323346] | Tue, 18 December 2007 12:19  |  | 
| Eclipse User  |  |  |  |  | If you need a workspace refresh, there is an ant task <eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
 that you could use.
 
 -Andrew
 
 Arturs Licis wrote:
 > Hello,
 >
 > I'm exporting my plugins running antRunner from headless Eclipse. Since
 > source is updated from non-Eclipse environment, the workspace becomes
 > out-of-date and build procedure might report unexisting errors.
 >
 > What I tried was '-refresh' argument (seen in docs that such exists),
 > but Eclipse reports that it's an invalid argument; what I do:
 >
 > eclipsec.exe -nosplash -refresh -application
 > org.eclipse.ant.core.antRunner -data .\.. -buildfile build.xml
 > Unknown argument: -refresh
 > Buildfile: build.xml
 >
 > plugin_export:
 >
 > Tried eclipse.exe with -consolelog as well to see what happens when
 > ordinary eclipse launched, but result is the same.
 > Otherwise it works fine, but refresh functionality is really needed.
 >
 > Any ideas how could I refresh workspace on headless Eclipse startup?
 >
 > Thank you in advance,
 > Arturs
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03634 seconds