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