Managed Only Eclipse Platform

Anyone familiar with WMC, WED, Lotus Expeditor, or any Eclipse based product for that matter may have seen different behaviors in the platform when attempting to use third part plug-ins or features. The soon to be released Lotus Expeditor will be shipping in a mode that prevents third party plug-ins from being “copied” into the plug-ins directory and loaded. This will make security much tighter with Expeditor and then Hannover installations because it forces the product to install the plug-ins from a hopefully secured source (like a locked-down update site). There are also additional measures Expeditor will be going to in order to keep a safe and happy platform but I will not go into those right now.

I got pinged quite a bit in the past month or so about “why can’t I just copy the plug-ins into the plug-ins directory?”. The problem is test and development used that method to quickly deploy a patch to others. Not knowing the “innards” of how this worked I googled and found a lot of information about the concept.

All of this can be referenced in Eclipse bug 53858.

Apparently there are three modes the platform can run in.

  • USER-INCLUDE
  • USER-EXCLUDE
  • MANAGED-ONLY

The MANAGED_ONLY mode looks like it was added late last year to accommodate many “lock-down” based requirements. Here is an excerpt from the bug in bugzilla:

The RCP framework emphasizes the ability to share INSTALL locations among
different "applications". Each application can choose a subset of the features
installed in the INSTALL locations. Currently, the only way to do this is to
set the "/site/policy" attribute to "USER-INCLUDE" or "USER-EXCLUDE" in
platform.xml and populate the "site/list" attribute with plug-ins. This is
prohibitively complex. In particular, "USER-EXCLUDE" requires constant
management to reflect the current list of plug-ins in the INSTALL location. It
also requires that developers of "application" features have some knowledge of
how eclipse has been installed on the client machine.

Adding a "MANAGED-ONLY" setting to the "site/policy" attribute would simplify
this process. Under "MANAGED-ONLY" mode, only those plug-ins referenced by
features that are enabled features would be available to the application. This
would be relatively easy for the framework to derive and would provide a
straight forward way to select which plug-ins are available in an individual
application.

So in your platform.xml you should see one of these variables. If you are in fact testing or developing and “want” to drop plug-ins you can probably just change the platform.xml with the behavior you want. I assume you will probably have to run with -clean after a change like this.

Sample plugin.xml


<site enabled="true" policy=”MANAGED-ONLY updateable=”true” url=“file:../rcp/eclipse/”>

20 Worst Video Games ever

I viewed this posting just to see if any of the games on the list were ones I liked or have played before. #7 Superman 64 was definitely one of the worst games I had ever played. I always liked Superman and when it came out for Nintendo 64 I was very excited. It was the worst gaming experience I had ever seen. It was extremely difficult to control him in the 3D space, the graphics were well below average and Superman looked like Handyman when he changed flying direction.

Addicted to problem solving

I hear many times from my wife that I always want to find a solution to her problems and never just want to listen. I realized this last week during the final days of Expeditor 6.1 that I believe I am addicted to solving problems. I just closed a complicated problem in another developers area and for some reason I feel I hit a home run in the world series. This has happened all week long and each problem I fixed I felt great. Why? Is it because I think I am doing my share or helping out with solutions? The Internet seems to think it is mens natural way of dominating…

“Women saw women as better problem-solvers. Men saw men as better problem-solvers” – Management Issues

I have heard that men in general are problem solvers so I searched Google and of course I had a million hits. I read a bunch of postings, articles and information on the web about this addiction and realized that it is not an addiction, it is just nature. So now I will go on an feel good when I solve problems. And if my wife throws this “character flaw” at me in the future I can simply respond that is how men are wired. 🙂

Button addiction

I know when I used Thunderbird or that other POP client I constantly hit the “Get Mail” button. Now, in the latest Lotus Notes template I have a button that does the same thing and I am already clicking is constantly.

email-refresh.jpg

Of course I do not know if this will make it into Hannover or Lotus Notes 7.x but I love the new UI and it seems to evolve daily as we eat our own dog food. I am so pleased that IBM is investing heavily into client technologies, otherwise I would be looking for work. 🙂

Is spyware accetable in games?

I just read this posting on Slashdot and I think as long as the software only runs when the game runs then it is part of the package. If it installs some kind of daemon or service then I think it needs to be an optional installation piece.

Reference:

Battlefield 2142 to Bundle Spyware?, Slashdot.org, link http://yro.slashdot.org/article.pl?sid=06/10/17/1319235