{"action":"created","issue":{"url":"https://api.github.com/repos/coapp/coapp.powershell/issues/97","labels_url":"https://api.github.com/repos/coapp/coapp.powershell/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/coapp/coapp.powershell/issues/97/comments","events_url":"https://api.github.com/repos/coapp/coapp.powershell/issues/97/events","html_url":"https://github.com/coapp/coapp.powershell/issues/97","id":52595427,"number":97,"title":"Absolute file paths seem to be unsupported","user":{"login":"dinazil","id":5171005,"avatar_url":"https://avatars.githubusercontent.com/u/5171005?v=3","gravatar_id":"","url":"https://api.github.com/users/dinazil","html_url":"https://github.com/dinazil","followers_url":"https://api.github.com/users/dinazil/followers","following_url":"https://api.github.com/users/dinazil/following{/other_user}","gists_url":"https://api.github.com/users/dinazil/gists{/gist_id}","starred_url":"https://api.github.com/users/dinazil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinazil/subscriptions","organizations_url":"https://api.github.com/users/dinazil/orgs","repos_url":"https://api.github.com/users/dinazil/repos","events_url":"https://api.github.com/users/dinazil/events{/privacy}","received_events_url":"https://api.github.com/users/dinazil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-21T13:38:41Z","updated_at":"2015-07-09T12:19:10Z","closed_at":null,"body":"I'm trying to create an internal Boost Date Time package. I don't want to use the one already available online because we do internal builds and store the symbols.\r\nThere's a convention in my company that all the external code resides in a folder whose path is specified by an environment variable.\r\nHere's the script i'm using:\r\n\r\n```\r\nnuget {\r\n    \r\n    nuspec {\r\n        id = boost.date_time;\r\n        version: 1.57.0;\r\n        title: Boost Date Time Library;\r\n        authors: {BOOST};\r\n        owners: {BOOST};\r\n        licenseUrl: \"http://www.boost.org/users/license.html\";\r\n        projectUrl: \"http://www.boost.org/\";\r\n        iconUrl:\r\n        requireLicenseAcceptance: false;\r\n        summary: A set of date-time libraries based on generic programming concepts.;\r\n        description: A set of date-time libraries based on generic programming concepts.; \r\n        releaseNotes: \"See http://www.boost.org/doc/libs/1_57_0/doc/html/date_time.html\";\r\n        copyright: Copyright 2014;\r\n        tags: {};\r\n    };\r\n    \r\n    files {\r\n    \r\n            #defines {\r\n                INCLUDE = ${EXTERNALS_PATH}\\boost_1_57_0\\include\\boost\\;\r\n                SDK = ${EXTERNALS_PATH}\\boost_1_57_0\\v120\\;\r\n                VERSION = 1_57;\r\n            };\r\n            \r\n        nestedInclude: {\r\n            #destination = ${d_include}\\boost_1_57_0\\include\\boost\\date_time;\r\n             \"${INCLUDE}date_time\\**\\*\"\r\n        };\r\n       \r\n        [x86,v120,debug] {  \r\n            lib: ${SDK}Win32\\boost_date_time-vc120-mt-gd-${VERSION}.lib;\r\n            bin: ${SDK}Win32\\boost_date_time-vc120-mt-gd-${VERSION}.dll;\r\n        }\r\n\r\n        [x86,v120,release] {  \r\n            lib: ${SDK}Win32\\boost_date_time-vc120-mt-${VERSION}.lib;\r\n            bin: ${SDK}Win32\\boost_date_time-vc120-mt-${VERSION}.dll;\r\n        }\r\n        \r\n        [x64,v120,debug] {  \r\n            lib: ${SDK}x64\\boost_date_time-vc120-mt-gd-${VERSION}.lib;\r\n            bin: ${SDK}x64\\boost_date_time-vc120-mt-gd-${VERSION}.dll;\r\n        }\r\n\r\n        [x64,v120,release] {  \r\n            lib: ${SDK}x64\\boost_date_time-vc120-mt-${VERSION}.lib;\r\n            bin: ${SDK}x64\\boost_date_time-vc120-mt-${VERSION}.dll;\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nWhen I run this script i get the following warnings:\r\n```\r\nPS C:\\Workspace\\foundations\\sw_foundations\\release\\boost> Write-NuGetPackage .\\date_time.autopkg\r\nWARNING: ProcessNugetFiles:WARNING: file selection 'C:\\workspace\\externals\\boost_1_57_0\\include\\boost\\date_time\\**\\*'\r\nfailed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\Win32\\boost_date_time-vc120-mt-gd-1_57.lib' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\Win32\\boost_date_time-vc120-mt-gd-1_57.dll' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\Win32\\boost_date_time-vc120-mt-1_57.lib' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\Win32\\boost_date_time-vc120-mt-1_57.dll' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\x64\\boost_date_time-vc120-mt-gd-1_57.lib' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\x64\\boost_date_time-vc120-mt-gd-1_57.dll' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\x64\\boost_date_time-vc120-mt-1_57.lib' failed to find any files\r\nWARNING: ProcessNugetFiles:WARNING: file selection\r\n'C:\\workspace\\externals\\boost_1_57_0\\v120\\x64\\boost_date_time-vc120-mt-1_57.dll' failed to find any files\r\n```\r\n\r\nBut all these files exist and these are their correct paths.\r\n\r\nWhen I put the same script in the directory where boost resides and change INCLUDE and SDK to use relative paths the package builds successfully and correctly."},"comment":{"url":"https://api.github.com/repos/coapp/coapp.powershell/issues/comments/119938083","html_url":"https://github.com/coapp/coapp.powershell/issues/97#issuecomment-119938083","issue_url":"https://api.github.com/repos/coapp/coapp.powershell/issues/97","id":119938083,"user":{"login":"AnEnglishmanInNorway","id":12747177,"avatar_url":"https://avatars.githubusercontent.com/u/12747177?v=3","gravatar_id":"","url":"https://api.github.com/users/AnEnglishmanInNorway","html_url":"https://github.com/AnEnglishmanInNorway","followers_url":"https://api.github.com/users/AnEnglishmanInNorway/followers","following_url":"https://api.github.com/users/AnEnglishmanInNorway/following{/other_user}","gists_url":"https://api.github.com/users/AnEnglishmanInNorway/gists{/gist_id}","starred_url":"https://api.github.com/users/AnEnglishmanInNorway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnEnglishmanInNorway/subscriptions","organizations_url":"https://api.github.com/users/AnEnglishmanInNorway/orgs","repos_url":"https://api.github.com/users/AnEnglishmanInNorway/repos","events_url":"https://api.github.com/users/AnEnglishmanInNorway/events{/privacy}","received_events_url":"https://api.github.com/users/AnEnglishmanInNorway/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T12:19:10Z","updated_at":"2015-07-09T12:19:10Z","body":"Fair enough, getboost may have solved his problem. But what about the issue of absolute paths? I have exactly this problem when I have to specify the top level of my files with a full path (which varies, depending on whether it is a local build on my pc or a build on a TFS build machine)."}}