You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Blake Bender (JIRA)" <ji...@apache.org> on 2019/05/21 19:45:00 UTC
[jira] [Resolved] (GEODE-6160) CPack ignore syntax isn't properly
escaped
[ https://issues.apache.org/jira/browse/GEODE-6160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Blake Bender resolved GEODE-6160.
---------------------------------
Resolution: Fixed
> CPack ignore syntax isn't properly escaped
> ------------------------------------------
>
> Key: GEODE-6160
> URL: https://issues.apache.org/jira/browse/GEODE-6160
> Project: Geode
> Issue Type: Bug
> Components: native client
> Reporter: Blake Bender
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In our .cpackignore file, we have lines of the form "\.foo", for example, but the regex syntax also has to be escaped like a C string for some reason, aka "
> .foo".
>
> Repro steps:
> * Configure using cmake in a clean repo
> * cd into cmake build dir
> * run 'cpack -G TGZ ---config CPackSourceConfig.cmake' to generate a source package
> Expected result
> * Source package generated without complaints
> Actual result
> * Source package generated
> * cpack complains about syntax, for example:
> {code:java}
> CMake Warning (dev) at /Users/pivotal/Workspace/cmake-build-debug/geode-native/CPackSourceConfig.cmake:74 (set):
> Syntax error in cmake code at
>
> /Users/pivotal/Workspace/cmake-build-debug/geode-native/CPackSourceConfig.cmake:74
>
> when parsing string
>
> /\.git/;/\.DS_Store;/build-./;/build/;/\.settings/;/\.cproject;/\.project;/\.idea/;\.vs/;\.vscode/;/examples/dotnet/./bin/;/examples/dotnet/.*/obj/;\.ruby-version
>
> Invalid escape sequence \.
> {code}
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)