On 05/03/2011, at 5:09 PM, Kenneth Kousen wrote: > I'll look into that, though if you have a pointer to an example I'd > appreciate it.
There's an example in the user guide: http://gradle.org/1.0-milestone-1/docs/userguide/more_about_tasks.html#N10D52 > In the meantime, can you suggest what the "onlyIf" statement would look like? > When I try it, it either always returns true or always returns false. > > Ken > > On Sat, Mar 5, 2011 at 12:50 AM, Peter Niederwieser <[email protected]> > wrote: > > Kenneth Kousen wrote: > > > > Thanks for the answer. I'm not sure how to use inputs and outputs in this > > situation, because I'm not sure what the inputs would be. > > > > I guess you'd have three input properties (destdir, sourcedestdir, wsdl), > and two output directories (destdir, sourcedestdir). It might pay off to > create a small task class for this. > > -- > Peter Niederwieser > Developer, Gradle > http://www.gradle.org > Trainer & Consultant, Gradleware > http://www.gradleware.com > Creator, Spock Framework > http://spockframework.org > > > > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Referring-to-main-source-dir-tp3410389p3410458.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 > > > > > > -- > Kenneth A. Kousen > President > Kousen IT, Inc. > > Email: [email protected] > Site: http://www.kousenit.com > Blog: http://kousenit.wordpress.com > Twitter: @kenkousen > Making Java Groovy > -- Adam Murdoch Gradle Developer http://www.gradle.org Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting http://www.gradleware.com
