You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2016/06/01 20:59:59 UTC

[jira] [Commented] (QUARKS-190) Build fails with 'invalid header field' error message

    [ https://issues.apache.org/jira/browse/QUARKS-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15311099#comment-15311099 ] 

Dale LaBossiere commented on QUARKS-190:
----------------------------------------

can be fixed by adding `errorproperty"`when collecting the `commithash` in build.xml
`<exec executable="git" outputproperty="commithash" errorproperty="commithash.error">`
commithash ends up empty which is fine


> Build fails with 'invalid header field' error message
> -----------------------------------------------------
>
>                 Key: QUARKS-190
>                 URL: https://issues.apache.org/jira/browse/QUARKS-190
>             Project: Quarks
>          Issue Type: Bug
>          Components: ld
>            Reporter: Victor Dogaru
>            Priority: Minor
>
> When the build does not run in a git repository, it fails with 'invalid header field' error.
> This happens because the expansion of ${commithash} in the "Implementation-Version" manifest header of target/java8/lib/quarks.api.function.jar contains the following error message: 
> fatal: Not a git repository (or any parent up to mount point /tmp)
> Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)