Weirdness in path processing on install

View: New views
1 Messages — Rating Filter:   Alert me  

Weirdness in path processing on install

by Russel Winder-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had:

        gradle_installPath = ${user.home}/lib/JavaPackages/gradle-trunk

in my ~/.gradle/gradle.properties but this led to an error on
installation.

        Execution failed for task ':install'.
        Cause: Warning: Could not find file /home/users/russel/Repositories/Git/Git/Gradle_Working/home/users/russel/lib/JavaPackages/gradle-0.8-20090913165835+0100 to copy.

Note though that ${user.home} starts with a / and so should have been
treated as absolute.  By changing this to:

        gradle_installPath = /${user.home}/lib/JavaPackages/gradle-trunk

Things seem to work as expected.  This just seems rather strange.

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel@...
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder@...
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder


signature.asc (204 bytes) Download Attachment