edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale LaBossiere (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QUARKS-190) Build fails with 'invalid header field' error message
Date Wed, 01 Jun 2016 20:59:59 GMT

    [ 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'
> 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

View raw message