From conditional compilation to aspects: a case study in software product lines migration
Vander Alves, Alberto Costa Neto, Sérgio Soares, Gustavo Santos, Fernando Calheiros, Vilmar Nepomuceno, Davi Pires, Jorge Leal, Paulo Henrique Monteiro Borba · 2006
Apart from adoption strategies, an existing Software Prod-uct Line (SPL) implemented using some variability mecha-nisms can be migrated to use another variability mechanism. In this paper, we present some migration strategies from one SPL implemented with conditional compilation to one using Aspect-Oriented Programming (AOP). The strategies present a variability pattern handled by the first mechanism and shows how it can be translated into a pattern using AOP constructs. We also show and discuss that some variability patterns cannot be migrated into AOP. The discussion cen-ters around a commercial SPL in the mobile games domain. 1.