Yesterday I modified an existing c++ application for Windows. And its default build environment is Makefile and MinGW. However I used a newly Windows API that is not included by header files of MinGW. First of all, I copied the constant definition from header file of Windows SDK, and defined the Windows API method as a …
Read MoreThe documentation of PDE has a chapter for this topic. Basically it's simply. Copy the template scripts what you want from templates/headless-build folder under org.eclipse.pde.build plug-in to your build configuration directory that is the folder has build.properties file. However I found the variables listed in …
Read MoreI did sign the jars via reusing the existing certificate of Windows code signing several months ago. Writing it down for further reference. Whatever your purpose of reusing the existing Windows code certificate, I only document the way from technical perspective. After buying the certificate of Windows code signing …
Read MoreI met that firefox/thunderbird complained another its instance running even if no a running firefox/thunderbird process. Finally let them run again after removing the '.parentlock' file in their default profile. strace utility helps me a lot to find the solution. strace -f -e file firfox
Read MoreI implemented the replication tool at the end of 2009, then published it to Eclipse Marketplace in May 2010. However it's not pervasively used due to users have to install that plug-in firstly. I searched a similar request on bugzilla, then I initialized my contribution in the early of this year. Finally it was …
Read MoreRecently our installer met a strange bug, it didn't uninstall all legacy bundles after updating to new version. Finally I found it's due to a magic fragment is missing in the profile due to some causes. installBundle(bundle:${artifact}) uninstallBundle(bundle:${artifact}) setStartLevel(startLevel:4); It has …
Read MoreYou would see some interesting properties at the bottom of eclipse's profile. For example, It attaches a property named 'org.eclipse.equinox.p2.internal.inclusion.rules' with value 'STRICT' on the IU 'org.eclipse.sdk.ide' with version 3.6.1.M20100909-0800. It's a very important property for the p2 engine. It means the …
Read MoreLatest gcc compiler enables the stack overflow protector that is since GLIBC 2.4. So the library or executable is compiled by latest gcc could be loaded or executed in RHEL4 or Solaris 9 that only have GLIBC 2.3. Hence using option '-fno-stack-protector' to compile the library or executable to make sure it could be …
Read MoreRecently I just know such a useful syntax usage of java. aLoopName: for (;;) { // ... while (someCondition) // ... if (otherCondition) continue aLoopName;
Read More