Gradle

Fix Gradle's developer build on windows

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Currently, some integration tests fail on windows, when they are run in non-forking mode. A work-around is to run gradle clean check integTest.

Activity

Hide
Hans Dockter added a comment -

This is fixed, isn't it?

Show
Hans Dockter added a comment - This is fixed, isn't it?
Hide
Adam Murdoch added a comment -

Currently, there are 2 problems with non-forking integration tests on windows:

  • The Ant junitreport task does not close the junit report index.html file, which locks it and prevents later int tests from performing a clean for the given project. Might be fixed in Ant 1.8.0.
  • The build ClassLoader does not close the buildSrc jar at the end of a build, which locks it and prevents an int test from testing that the jar is rebuilt when the buildSrc src changes.
Show
Adam Murdoch added a comment - Currently, there are 2 problems with non-forking integration tests on windows:
  • The Ant junitreport task does not close the junit report index.html file, which locks it and prevents later int tests from performing a clean for the given project. Might be fixed in Ant 1.8.0.
  • The build ClassLoader does not close the buildSrc jar at the end of a build, which locks it and prevents an int test from testing that the jar is rebuilt when the buildSrc src changes.
Hide
Luke Daley added a comment -

Is this still an issue?

Show
Luke Daley added a comment - Is this still an issue?
Hide
Simon Epstein added a comment -

I just ran gradlew developerBuild successfully on Windows XP:

D:\gradle>gradlew --version

------------------------------------------------------------
Gradle 1.0-milestone-6-20111113105934+0100
------------------------------------------------------------

Gradle build time: Sunday, 13 November 2011 09:59:34 o'clock UTC
Groovy: 1.8.4
Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010
Ivy: 2.2.0
JVM: 1.6.0_29 (Sun Microsystems Inc. 20.4-b02)
OS: Windows XP 5.1 x86

Show
Simon Epstein added a comment - I just ran gradlew developerBuild successfully on Windows XP: D:\gradle>gradlew --version ------------------------------------------------------------ Gradle 1.0-milestone-6-20111113105934+0100 ------------------------------------------------------------ Gradle build time: Sunday, 13 November 2011 09:59:34 o'clock UTC Groovy: 1.8.4 Ant: Apache Ant(TM) version 1.8.2 compiled on December 20 2010 Ivy: 2.2.0 JVM: 1.6.0_29 (Sun Microsystems Inc. 20.4-b02) OS: Windows XP 5.1 x86

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: