Browse Source

getProperty on context rather than project

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270579 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
09dd862ae6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java
  2. +1
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/IContract.java

+ 1
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java View File

@@ -731,7 +731,7 @@ public class IContract extends MatchingTask
Path baseClasspath = createClasspath(); Path baseClasspath = createClasspath();


// Might need to add the core classes if we're not using Sun's Javac (like Jikes) // Might need to add the core classes if we're not using Sun's Javac (like Jikes)
String compiler = getProject().getProperty( "build.compiler" );
String compiler = getProperty( "build.compiler" ).toString();
ClasspathHelper classpathHelper = new ClasspathHelper( compiler ); ClasspathHelper classpathHelper = new ClasspathHelper( compiler );
classpathHelper.modify( baseClasspath ); classpathHelper.modify( baseClasspath );




+ 1
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/IContract.java View File

@@ -731,7 +731,7 @@ public class IContract extends MatchingTask
Path baseClasspath = createClasspath(); Path baseClasspath = createClasspath();


// Might need to add the core classes if we're not using Sun's Javac (like Jikes) // Might need to add the core classes if we're not using Sun's Javac (like Jikes)
String compiler = getProject().getProperty( "build.compiler" );
String compiler = getProperty( "build.compiler" ).toString();
ClasspathHelper classpathHelper = new ClasspathHelper( compiler ); ClasspathHelper classpathHelper = new ClasspathHelper( compiler );
classpathHelper.modify( baseClasspath ); classpathHelper.modify( baseClasspath );




Loading…
Cancel
Save