Dashboard > WOProject / WOLips > ... > Tutorials > WOLips and P4WSAD
  WOProject / WOLips Log In View a printable version of the current page.  
  WOLips and P4WSAD
Added by Markus Stoll, last edited by Markus Stoll on May 06, 2008
Labels: 
(None)

Incremental Builder fails on P4WSAD

P4WSAD keeps all files in read only mode unless you check it out. Eclipse für Mac sets the uchg flag (which makes a file immutable) on copying read only files. So the incremental builder works fine only once - updating changes will fail (there is a workaroung in WOLips for this, but it slows down your build process and this workaround fails when you restart eclipse).

The best solution is to recompile the native library liblocalfile_1_0_0.jnilib. Here is what to do:

  • Edit eclipse/plugins/org.eclipse.core.filesystem_1.1.0.v20070606/natives/macosx/localfile.c and set "#define USE_IMMUTABLE_FLAG 0"
  • recompile the libraray using "make"
  • copy the new library liblocalfile_1_0_0.jnilib to eclipse/configuration/org.eclipse.osgi/bundles/33/1/.cp/os/macosx
  • cleanup all build-directories
  • restart eclipse

After that eclipse will no longer set the uchg on copying read only files.

Site running on a free Atlassian Confluence Open Source Project License granted to ObjectStyle. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators