Using the examples above I get the error:  unable to resolve class Props

I can't see this in the API docs for 0.9-rc-3.  What import do I need to use
the Props class?

    Properties props = new Props()
    props.load(new FileInputStream("$rootDir/build.properties"))
    
    copy {
       from 'GUI/src/BuildVersionTemplate'
       into 'GUI/src/BuildVersion.properties'
       props.each { key, value ->
          filter(ReplaceTokens, tokens: props) // It depends on you set up
if this is exactly what you want.
       }
    }
-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/How-to-do-a-copy-filter-the-gradle-way-tp1435633p3270867.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to