[GRADLE-814] jettyRunWar task only runs once before UP-TO-DATE is printed and task is skipped Created: 08/Feb/10  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: 0.9-rc-1

Type: Bug
Reporter: Spencer Allain Assignee: Adam Murdoch
Resolution: Fixed Votes: 1


 Description   

The jettyRunWar task in the latest 0.9 snapshot can only be run once before UP-TO-DATE is printed and the task is skipped.

Workarounds are to do a clean first or explicitly delete the build/jetty directory.



 Comments   
Comment by Adam Murdoch [ 08/Feb/10 ]

Less awkward work around is to force the jettyRunWar task to be always out-of-date:

jettyRunWar.outputs.upToDateWhen { false }
Generated at Wed Jun 30 11:39:36 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.