Monthly Archives: October 2013

git and git projects subdirs

if you want to work with git with two projects in two subdirectorys you need to set BOTH git-dir and work-tree

$ git --git-dir=subdir1/.git --work-tree=subdir1 status -s
$ git --git-dir=subdir2/.git --work-tree=subdir2 status -s

howto get #eclipse #pdt open declaration [F3] working again with #php files

howto get #eclipse 4.3.1 #pdt 3.2.0 open declaration [F3] working again with #php files

look in your eclipse logfile do you see :

!ENTRY org.eclipse.dltk.core.index.sql 4 0 2013-10-14 16:45:28.670
!MESSAGE An exception has thrown while performing a search
Unsupported database file version or invalid file header in file "Old database: 
please convert the database to a SQL script and re-create it." [90048-168]
at org.h2.message.DbException.getJdbcSQLException(

if so

just delete your model.h2.db files as per