|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON WebSphere Teamwork in WebSphere Studio - Software configuration management makes it easy
Teamwork in WebSphere Studio - Software configuration management makes it easy
By: Adam Terrenzio
Nov. 24, 2003 12:00 AM
So what does teamwork in WebSphere Studio mean anyway? At one level it means being able to work on code within a shared environment through which your application can be executed and tested. WebSphere Studio already has great support for the deployment and testing of such shared development. At another level, however, it means being able to share the development effort itself. Software configuration management (SCM) is one means through which development effort can be shared. Even prior to deployment and testing, developers can become aware of other developers' changes and assess their impact. With a good SCM tool, this form of interaction can take place between developers even in separate geographic locations and time zones - all in a controlled manner. Along with actual code changes, the history and the design reasoning can be preserved, and there is an overall improved sense of communication between all developers. State of Play See the Resources section for the link to IBM's Plug-in Central, which offers a complete list of IBM "Ready For WebSphere" Certified plug-ins. Some of the earliest adopters of WebSphere Studio were SCM companies. Historically, integrated development environments have had many different ways to access source code controlled in repositories. Some of these methods include standard and custom APIs or script/command line-based access. All SCM integrations out there do pretty much the same thing in very similar ways. They allow complex development teams to manage and develop multiple projects by sharing the code base in a controlled manner. Developers have access to the tools they need to perform their day-to-day activities within the WebSphere Studio interface, reducing the amount of application and window switching. This helps them stay organized and efficient because they can get all of their information on the projects they are working on from within one tool. So, how do SCM plug-ins help developers? Access to SCM Commands
![]() Many providers will also include a menu in the main toolbar, or a set of buttons to access the tool. As with other features of WebSphere Studio, this is totally configurable on a perperspective basis. For more information, see the WebSphere Studio help on how to customize a perspective. Text/Label Decorators This information is helpful for many reasons. Perhaps you run a build of your project and get some compile errors in files you haven't touched recently. Perhaps those files are simply out of date because another user has changed them. You can quickly see which files have changed in your workspace and evaluate which you may (or may not) need to resynchronize to get a successful build. Locking a file (which will show in other users' workspaces) informs developers that they may wish to wait to make changes to a specific file. There are also different locking styles that SCM vendors use. One of these models is optimistic locking. You can get any file at any time and conflicts are resolved on check-in by performing merges. Optimistic models require what is known as "conflict resolution." The contrast to this is pessimistic locking, which means that once a file is locked by a user, all other users are made aware ahead of time that if they make a change to that file they will need to do a merge later. A pessimistic model is often referred to as a "conflict avoidance" approach. Some SCM tools allow you to see what you have locked, as well as what files are currently locked by other users. This allows the user to decide whether to perform a merge once changes have been made, or to just wait until the file is checked in by the previous user and then make changes (see Figure 2).
![]() Team Project Sets The way this works is your team lead sets up his or her workspace and all of the project relationships, classpath, compile options, and other WebSphere Studio-specific project information. Then they create a Team Project Set file (.psf extension) from the File menu by choosing Export. This file is really just XML-formatted instructions that tell the application how to re-create the workspace. Don't worry if you don't see everything in there that you think it should have. This information is cryptic and meant to be read by the application and not by the user. All of the project metadata and relationship information is kept in the .project file that WebSphere Studio creates for each project. When the workspace is populated during an import, all of that information is still there because the .project file is archived. Preferences Are Your Friends Another vendor-generic page is the Ignored Resources page. This page allows you to use regular expressions to specify files or directories that you would like the SCM system to ignore completely. Common things to specify here are bin directories and test file extensions (.bak, for example). This can be an incredibly useful tool when performing large operations. Some of the vendor-specific information that may also be here includes things such as connection and server information, and behavior specifics. You may choose to have every action in the workspace echoed directly in the repository, for example. Conclusion Resources Tips for Developers Using an SCM Tool 2. Integrate early and often. Incorporate others' changes to stay current. 3. Mark milestones (checkpoint) via your SCM tool. This also allows you to roll back to a stable state in the future, if needed. Milestones also provide a basis for branching and parallel development. 4. Use SCM to implement process-driven change management. Other things to consider are notifications, integrations, and administration with tools and defect-tracking systems. WEBSPHERE LATEST STORIES . . .
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING WEBSPHERE NEWS
|
||||||||||||||||||||||||||||||||||||