aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sweeney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1169) Version ID in gradle may expand to invalid value
Date Thu, 05 Mar 2015 20:58:38 GMT

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

Kevin Sweeney commented on AURORA-1169:
---------------------------------------

This is how git behaves on Windows unfortunately, see http://stackoverflow.com/questions/5917249/git-symlinks-in-windows

So this ticket suggests our Gradle build is broken on Windows (and in Vagrant linking to a
git checkout on Windows, as symlinks will not be created as symlinks). As a workaround you
can checkout the Aurora git repo in the Vagrant image directly, or write a post-checkout hook
that copies .auroraversion from its referent.

> Version ID in gradle may expand to invalid value
> ------------------------------------------------
>
>                 Key: AURORA-1169
>                 URL: https://issues.apache.org/jira/browse/AURORA-1169
>             Project: Aurora
>          Issue Type: Bug
>          Components: Build
>            Reporter: Bill Farner
>            Priority: Minor
>
> Reported in IRC.  Apparently it's possible for this line in the build.gradle:
> {noformat}
> version = file("${rootDir}/.auroraversion").text.trim().toUpperCase()
> {noformat}
> To expand to:
> {noformat}
> SRC/MAIN/RESOURCES/APACHE/AURORA/CLIENT/CLI/.AURORAVERSION.jar
> {noformat}
> The result is a failure to install jars to the correct locations, and a non-functioning
scheduler.
> Transcript:
> {noformat}
> <wfarner> how about in /home/vagrant/aurora/dist/libs
> <JakeXKS> well there is /home/vagrant/aurora/dist/libs/aurora-SRC/MAIN/RESOURCES/APACHE/AURORA/CLIENT/CLI/.AURORAVERSION.jar
> JakeXKS> Vagrant 1.7.2 Virtualbox 4.3.24
> {noformat}



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

Mime
View raw message