Authors:
Martin Eyl
1
;
Clemens Reichmann
1
and
Klaus D. Müller-Glaser
2
Affiliations:
1
Vector Informatik GmbH, Germany
;
2
Karlsruhe Institute of Technology (KIT), Germany
Keyword(s):
Fine Grained Software Configuration Management System, Abstract Syntax Tree, Pessimistic Locking.
Related
Ontology
Subjects/Areas/Topics:
Domain-Specific Modeling and Domain-Specific Languages
;
Languages, Tools and Architectures
;
Methodologies, Processes and Platforms
;
Model Transformations and Generative Approaches
;
Model-Driven Architecture
;
Model-Driven Software Development
;
Software Engineering
Abstract:
There are two main strategies to support the collaboration of software team members working concurrently
on the same source code: pessimistic locking and optimistic locking. Optimistic locking is used far more
often because a pessimistic lock on the smallest unit stored in the Software Configuration Management
(SCM), which is a usually a file, often causes conflict situations, where a developer wants to change the
already locked code. Optimistic locking can cause direct and indirect merge conflicts which are costly to
resolve and affect productivity. The novelty of our approach is to define a meta-model for the source code
(Abstract Syntax Tree) and use pessimistic locking on model artefacts and therefore allow parallel editing of
the same class or even method but still preventing direct and indirect merge conflicts. Thereby the developer
keeps an isolated workspace and the developer decides when to commit the finished source code. This paper
introduces a concept for this solution an
d a prototype based on Eclipse.
(More)