Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse command line worspace refresh
Eclipse command line worspace refresh [message #323346] Tue, 18 December 2007 11:51 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:How to center ComboBox-Editor in a Table/Tree-Viewer?
Next Topic:Extending or Enhancing the Package Explorer? using Common Navigator?
Goto Forum:
  


Current Time: Sun Jul 27 11:07:51 EDT 2025

Powered by FUDForum. Page generated in 0.04172 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top