wttech/gradle-aem-plugin

GAP Launcher moves Git folder

piotr-andruszkiewicz-wttech opened this issue · 2 comments

Hello,

I have this project which I am migrating from Gradle to Maven archetype so it would build nicely in Cloud env. It is already stored in a Git repository. I made the migration to Maven archetype successfully, and then ran GAP Launcher.

The project files were moved into the maven directory. To my surprise, git stopped recognizing the root folder as a Git repo. Turned out that GAP Launcher moved .git directory along with the code into maven dir.

I think that .git dir and .git* files should be excluded from this operation.

Cheers!
Piotr

IMO that was done intentionally; that's simply a new behaviour of GAP launcher. however after doing some research I am convinced that previous behaviour needs to be recovered and be the default one. this new will be optional only when specifying appdir parameter. thanks @piotr-andruszkiewicz-wttech