Welcome!

Eclipse Authors: Pat Romanski, Elizabeth White, Liz McMillan, David H Deans, JP Morgenthal

Related Topics: Eclipse, Java IoT

Eclipse: Article

Lockdown My Tool Stack? You’re Kidding, Right?

Eclipse gives developers the option and ability to create a development environment that is suited to their needs

Eclipse Platform on Ulitzer

When I first started asking Eclipse developers about provisioning and lockdown - do we need it, what did they think about it, etc. - several things became clear very quickly. First, there are two distinct camps - people who manage people using Eclipse and people who use Eclipse. The people who manage developers and projects using Eclipse expressed great interest in being able to manage the Eclipse tool stack running on the developers' desktops. On the other hand, the developers actually using Eclipse expressed not just a lack of interest, but an actual dislike and resentment for anyone having control or lockdown of their Eclipse configuration.

The second observation, which is really derived from the first, is that using the term "lockdown" when talking to developers about provisioning and managing an Eclipse tool stack is certain to alienate many developers. In fact, when asked what he thought about locking down his Eclipse environment, one developer responded, "That would really, really [make me angry]. I can't imagine anyone who uses Eclipse actually being happy about that."

Furthermore, most developers would quickly point out, almost as though issuing a challenge, it is nearly impossible to completely lockdown an installation and prevent a user from adding, removing or updating plug-ins from their Eclipse environment.

In the interest of getting you to read past the first few paragraphs of this article, let me be very clear, this article is not about Eclipse lockdown. I have no persuasive arguments, customer data, analyst research, or even anecdotal evidence that suggests anyone really, truly wants to create a tool stack based on Eclipse and then have it cast in stone never to change again. This article is, however, about provisioning, managing, and maintaining the integrity of an installed Eclipse-based development environment.

Coincidently, the same developer mentioned earlier went on to say this about lockdown, "I could see it being a useful capability to set a baseline within a company. Providing managed, certified builds and a central repository for them - cool idea... but really you can do the same thing from a Wiki". And that is really the point here. Even the act of posting information to a Wiki can be problematic. Why not take it a step further and just make it possible to capture and upload/download the profile directly from the development environment?

For our purposes, let's define the notion of a development environment to include:

  • The Eclipse-based tool stack
    -The base IDE (Eclipse, JBuilder, MyEclipse, IBM RAD, etc.)
    -All additional Eclipse add-ons (Subversive, Mylyn, etc.)
    -All selected add-ons (commercial, open source, internal, third-party, etc.)
  • Relevant projects in the workspace
  • Including versions, branches and working sets
    -Workspace preferences
  • Source code formatting and style preferences
    -Boilerplate copyright notice comments
    -Other company standards

One of the biggest challenges faced by many organizations that use an Eclipse-based tool stack as part of their software development process is how to deal with the growing number of variants of "the standard development environment" that show up within their development teams. One of the greatest strengths and benefits of Eclipse is that it gives developers the option and ability to create a development environment that is perfectly suited to their needs. If you are a team of one this rarely causes an issue, although there is still a case to be made for provisioning even for one person, but more on that later.

What happens when you are part of a team working on a project, and you update a plug-in because you found a newer version that fixes a bug, or you change a workspace property to point to a different JRE than everyone else is using? Yes, you could send out an email or post something on the project Wiki. More often then not once you have something working, which usually means you were distracted from your main development task to begin with, you just go back to what you were doing and ultimately forget to share this information or knowledge with your team members. Eventually, they'll stumble across the same issue with the plug-in you already dealt with, and have to repeat all the work you've already done to find the updated plug-in, install it, verify that it works in your environment, and then hopefully remember to tell the other developers so that this pattern isn't repeated across the team.

There's got to be a better way. What is really needed is a solution that provides centralized management of these configurations including creating, updating, validating, synchronizing and, most important, sharing of profiles. Think of it as a provisioning cloud - either public or private - for your Eclipse-based tools. Now, I'm sure many of you are thinking, "Doesn't Eclipse already provide provisioning with Equinox/p2 or even Buckminster?" and the short answer is "it depends on how you define provisioning." Some things to consider are how much of the stack and development environment can be provisioned by the system, what granularity does the provisioning system support, can you update or version provisioned profiles, does the provisioning system support incremental (e.g., deltas) updates or only complete reinstalls, can you create your own profiles or are you limited to a set of predefined profiles, and so on.

Some examples of open source and commercial provisioning solutions available today are Eclipse Equinox/p2, Eclipse Buckminster, Genuitec Pulse, EclipseSource Yoxos, and OpenLogic Exchange (OLEX). While each of these tools positions themselves as a way to provision Eclipse, it is clear that they all do something very different. Common differences include what is being provisioned, how it is provisioned, and the extent the user can update or manage provisioned profiles. For instance, Equinox/p2 is targeted at refreshing the client-side provisioning infrastructure in Eclipse and replaces the Update Manager as a mechanism for managing your Eclipse install, searching for updates, and installing new functionality. Buckminster on the other hand is a set of frameworks and tools for automating the build, assemble & deploy (BA&D) development processes in complex or distributed component-based development. Pulse, Yoxos, and OLEX offer verified or certified Eclipse plug-in bundles. In short, each system has its own bells and whistles.

I think it is worth mentioning that even with the improvements that have been made with p2, and there have been many, there are still some limitations. According to the Equinox p2 Getting Started Wiki page, if you manually remove a plug-in installed by p2, or attempt to replace it with a different version, p2 will not detect this and may end up broken. This issue is partially overcome with the new drop-ins folder that is more powerful and allows separation of content managed by p2 from content managed by other means. However, this just means there is another directory of content that has to be managed by someone, somewhere, somehow if that content is to be shared with the development team.

At this point you're probably asking yourself, so what does it take to make a good provisioning system? I think we can safely assume and agree that there are already solutions available that provide a way to create an initial tool stack comprised of certified, validated bundles. What we really want to focus on is how to create a snapshot of a defined development environment including both the complete tool stack and workspaces that can then be easily managed, maintained and shared with other members of the development team. Here are some key capabilities to look for when considering such a provisioning solution:

Quick and Easy Eclipse Installation
A designated person typically spends days downloading, installing, configuring, and testing different combinations/versions of the Eclipse IDE and additional plug-ins from multiple sources (open source, proprietary, internal). Once he or she gets all the ducks to line up, they produce a Wiki page documenting the procedure so that it can be replicated by the entire team.

Having a quick and easy way to capture the certified configuration and then make it available to others as a single pre-packaged install eliminates the redundancy of each person doing this work by hand and minimizes the chance for error.

Quick and Easy Workspace Provisioning
After you install your IDE, the next step is to set up your workspace. The workspace setup typically includes:

  • Workspace preferences: CheckStyle, company copyrights, etc.
  • Workspace content: The projects you need to check out from source control into the workspace, the versions and branches you need, etc.

When done manually, workspace setup is error-prone and time-consuming. The steps are posted in a document on the Wiki and every new developer is pointed to that document.

Even in the best-case scenario where the Wiki is actually kept up-to-date, the setup may take hours. If you misread or skip a step, then it takes much longer and you are very likely to go ask for help from a team mate resulting in more time lost.

Here again having a simple, automated way to capture the workspace settings and properties and then make it available from a central repository means reducing setup time and eliminating error-prone manual steps.

Automatically Detect Out-of-Date Workspace / Maintain Workspace Currency
As time goes on, the workspace content inevitably changes. Plug-ins, dependencies or preferences are added, removed or modified regularly. Even in the ideal world where the Wiki instructions are kept up-to-date and e-mail notifications are sent out regularly by the team, you can still easily fall behind by not keeping up with the latest changes. When you come back to work after a week of vacation, it is not uncommon to see that your workspace does not compile anymore. You try to get out of the broken state by doing incremental updates. Sometimes that works, other times it doesn't. You decide after a few hours of tinkering that starting over from scratch may be the only viable option left, so you spend half a day doing it.

If the development environment could detect or recognize when a workspace was out of date based on an established baseline, present the user with the differences and then allow him to easily reconcile those differences without having to manually compare plug-in by plug-in, workspace property by workspace property there would he a significant time savings.

Maintain the Integrity of the Tool Stack and Workspace
In an Eclipse-based product where all the plug-ins are integrated seamlessly, a single bad plug-in can destabilize the entire product by making it crash (e.g. memory hogs/system resources leakers) or become sluggish.

An unstable configuration therefore results in costly downtime.

Similarly, to ensure code consistency, companies typically have standard CheckStyle settings, company copyrights, compiler warning levels, JDK version, etc., that every developer must use. Deviations typically cause build breakage, resulting in more downtime.

Being able to maintain the integrity of the configuration and provide developers with a well-defined, well-tested configuration which can only be altered under certain circumstances could save companies and developers significant time, which in turn results in cost savings.

Extended Plug-in Configuration
Experimentation is good. If a developer independently searches for and finds a well-behaved plug-in that helps increase his productivity, he would want to share this plug-in with the rest of his team. But first, the plug-in should be evaluated by an administrator or someone overseeing the project before it gets added to a profile and deployed to the rest of the developers.

Having a mechanism in place for the developer to nominate a plug-in for inclusion and prompt the admin for evaluation would be extremely beneficial. Upon approval, the approved plug-in then gets deployed to the rest of the team.

Statistics and Reporting
Providing data on which profiles are being used and by how many users, what updates are made to each profile and how frequently, and other such statistics can he useful to managers and administrators.

Before concluding I wanted to come back to that "team of one" idea I mentioned earlier. I would submit that even as an individual developer you could realize substantial benefit from a provisioning solution to help manage and maintain either different tool stack configurations or different workspace configurations. Having the ability to install and test new plug-ins or new versions of plug-ins during development, or change workspace settings for testing purposes, and then quickly rollback to a baseline configuration can save hours of having to manually undo all the changes.

So where does this leave us? Certainly there is much more discussion that should and will take place around the concept of Eclipse provisioning. One of the biggest benefits of the Eclipse framework has led to one of biggest challenges, but also to some incredible opportunities. Software vendors such as Embarcadero Technologies and others are working on Eclipse provisioning solutions that will offer managers, administrators, development teams, or even individual developers the ability to centrally manage, validate, synchronize and share their tool stack and workspace profiles. By marrying together ideas and technologies from application provisioning, SaaS, and cloud computing there promises to be some exciting advancements in this area. Solutions that will help you create, maintain and share profiles of a known, trusted development environment without giving up the flexibility to modify and evolve the environment as necessary. It short - without locking it down.

More Stories By Jeff Anders

Jeff Anders is Senior Director of Product Marketing at Embarcadero Technologies. He is responsible for both the product marketing and product management efforts of Embarcadero’s Java products which includes JBuilder as well as for the overall product direction, creation and placement of messaging and communications, overall go-to-market strategies, and partner management related to these products. Prior to joining Embarcadero he was with SAP as a Director in the Platform Solution Marketing group. Jeff’s academic credentials include a BA in Mathematics from West Chester University, and an MS in Computer Science from Villanova University.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
As businesses evolve, they need technology that is simple to help them succeed today and flexible enough to help them build for tomorrow. Chrome is fit for the workplace of the future — providing a secure, consistent user experience across a range of devices that can be used anywhere. In her session at 21st Cloud Expo, Vidya Nagarajan, a Senior Product Manager at Google, will take a look at various options as to how ChromeOS can be leveraged to interact with people on the devices, and formats th...
SYS-CON Events announced today that Yuasa System will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Yuasa System is introducing a multi-purpose endurance testing system for flexible displays, OLED devices, flexible substrates, flat cables, and films in smartphones, wearables, automobiles, and healthcare.
SYS-CON Events announced today that Taica will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Taica manufacturers Alpha-GEL brand silicone components and materials, which maintain outstanding performance over a wide temperature range -40C to +200C. For more information, visit http://www.taica.co.jp/english/.
SYS-CON Events announced today that SourceForge has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. SourceForge is the largest, most trusted destination for Open Source Software development, collaboration, discovery and download on the web serving over 32 million viewers, 150 million downloads and over 460,000 active development projects each and every month.
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
SYS-CON Events announced today that Dasher Technologies will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...
SYS-CON Events announced today that TidalScale, a leading provider of systems and services, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale has been involved in shaping the computing landscape. They've designed, developed and deployed some of the most important and successful systems and services in the history of the computing industry - internet, Ethernet, operating s...
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
Infoblox delivers Actionable Network Intelligence to enterprise, government, and service provider customers around the world. They are the industry leader in DNS, DHCP, and IP address management, the category known as DDI. We empower thousands of organizations to control and secure their networks from the core-enabling them to increase efficiency and visibility, improve customer service, and meet compliance requirements.
SYS-CON Events announced today that TidalScale will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant tha...
As popularity of the smart home is growing and continues to go mainstream, technological factors play a greater role. The IoT protocol houses the interoperability battery consumption, security, and configuration of a smart home device, and it can be difficult for companies to choose the right kind for their product. For both DIY and professionally installed smart homes, developers need to consider each of these elements for their product to be successful in the market and current smart homes.
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). According to the survey, a quarter of the respondents have already deployed Docker containers and nearly as many (23 percent) are employing the AWS Lambda serverless computing framework. It’s clear: serverless is here to stay. The adoption does come with some needed changes, within both application development and operations. Tha...