csnake-org/CSnake — Issue #81: AddFilesToInstall copies files from wrong TP folder
Author: msteghofer
Created: 2012-02-06 09:57:35+00:00
State: open

When giving relative paths to project.AddFilesToInstall(..) then it checks ALL thirdparty source folders for files that match the pattern. If the given files exist in both thirdparty folders then it copies first the files from one folder and then the ones from the other folder - and overwrites the first one. So which files end up in your build folder depends on the order of your thirdparty folders.

This shouldn't be the case, it would be better to decide this based on the location of the CSnake file that calls project.AddFilesToInstall(..), using project.GetBuildFolder() as a reference.

The current behaviour is implemented in csnInstall.Manager.ResolvePathsOfFilesToInstall().