~russel/gant/trunk

« back to all changes in this revision

Viewing changes to src/test/groovy/org/codehaus/gant/ant/tests/build.gant

  • Committer: Russel Winder
  • Date: 2010-04-07 17:25:05 UTC
  • Revision ID: git-v1:20252b169a23f90e3ed6169126a802e17a1be537
When an artefact is in Codehaus repository but not yet in Maven central (due to the delay of synchronization), a test fails since it cannot download the artefact.  Fix this by adding the Codehaus repository to the search list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
  }
45
45
  def dependencyClasspathId = 'dependencyClasspath'
46
46
  "${artifact}:dependencies" ( pathId : dependencyClasspathId ) {
 
47
    remoteRepository ( id : 'Codehaus' , url : 'http://repository.codehaus.org/' )
47
48
    dependency ( groupId : 'org.codehaus.groovy' , artifactId : 'groovy' , version : System.getenv ( ).GROOVY_ANT_TASK_TEST_VERSION )
48
49
  }
49
50
  taskdef ( name : 'groovyc' , classname: 'org.codehaus.groovy.ant.Groovyc' , classpathref : dependencyClasspathId )