Changeset 401
- Timestamp:
- 02/28/10 21:36:41 (5 months ago)
- Location:
- trunk/src/main
- Files:
-
- 1 added
- 3 modified
-
java/org/apache/easyant/tasks/EasyAntTask.java (modified) (2 diffs)
-
java/org/apache/easyant/tasks/FindClasspath.java (added)
-
java/org/apache/easyant/tasks/LoadModule.java (modified) (1 diff)
-
resources/org/apache/easyant/antlib.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main/java/org/apache/easyant/tasks/EasyAntTask.java
r322 r401 6 6 import org.apache.tools.ant.BuildException; 7 7 import org.apache.tools.ant.Task; 8 import org.apache.tools.ant.types.Reference; 8 9 9 10 /** … … 34 35 return getEasyAntIvyAntSettings().getConfiguredIvyInstance(this); 35 36 } 37 38 /** 39 * Utilitary method to configure a task with the current one 40 * @param task task to configure 41 * @return the configured task 42 */ 43 protected Task initTask(Task task) { 44 task.setLocation(getLocation()); 45 task.setProject(getProject()); 46 task.setTaskName(getTaskName()); 47 task.setOwningTarget(getOwningTarget()); 48 return task; 49 } 50 51 /** 52 * Get a reference of the project ivy instance 53 * @return a reference of the project ivy instance 54 */ 55 protected Reference getProjectIvyReference() { 56 return new Reference(getProject(), getProject().getProperty( 57 EasyAntMagicNames.PROJECT_IVY_INSTANCE)); 58 } 36 59 37 60 } -
trunk/src/main/java/org/apache/easyant/tasks/LoadModule.java
r386 r401 363 363 } 364 364 } 365 366 private Task initTask(Task task) {367 task.setLocation(getLocation());368 task.setProject(getProject());369 task.setTaskName(getTaskName());370 task.setOwningTarget(getOwningTarget());371 return task;372 }373 365 374 366 /** -
trunk/src/main/resources/org/apache/easyant/antlib.xml
r364 r401 30 30 31 31 <typedef name="configure-build-scoped-repository" classname="org.apache.easyant.tasks.ConfigureBuildScopedRepository"/> 32 <typedef name="findclasspath" classname="org.apache.easyant.tasks.FindClasspath"/> 32 33 33 34 <presetdef name="include">