|Re: ERROR: Resource is out of sync with the file system [message #1387108 is a reply to message #1387029]
||Tue, 24 June 2014 08:10
|| Lorenzo Bettini
Registered: July 2009
Location: Firenze, Italy
On 23/06/2014 16:59, Boris Brodski wrote:|
> I build a simple plugin project with Jenkins and Buchminster. The
> process is:
> - check out a Git repo (done my Jenkins)
> - change the target definition file (rewrite URLs to the local p2 mirror)
> - Run buckminster script
> - importtargetdefinition '-A' <target definition>
> - ...
> Running the build for the first time after cleaning the entire build
> workspace runs successfully. Running consequent builds produces the error:
> INFO: importtargetdefinition '-A' '/path/project/kepler.target'
> Resource is out of sync with the file system: '/project/kepler.target'
> This is very strange for me, since Kepler has activated refresh on
> access option by default...
> How can I solve this problem?
> My ideas:
> - Activate refresh on startup by coping proper .prefs file into .metadata
> => didn't worked for me
> - Call a buchminster refresh command prior to importtargetdefinition =>
> No such command exists yet
> - Update everything to the last stable version
> => the error is still there
> Thank you very much in advance!
in my Jenkins builds based on Buckminster I always delete the Eclipse
workspace before the build. NOTE: I'm NOT talking about Jenkins
workspace, but the Eclipse workspace used by Buckminster; I do that
using an ant target (e.g., the "cleanup" target you can find here
This ant target does NOT clear the bundlepool subdirectory of the
Eclipse workspace, but it deletes the projects area so that all the
projects are always reimported from scratch on each Jenkins build.
This ant script is based on the one generated by the Xtext Buckminster
wizard, by the way.
Hope this helps
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
Powered by FUDForum
. Page generated in 0.01647 seconds