Browse Source

Revert my previous change and place a note why we leave apply=Transform.class.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@329387 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 20 years ago
parent
commit
b4b0a55f5a
2 changed files with 7 additions and 4 deletions
  1. +5
    -2
      src/main/org/apache/tools/ant/taskdefs/Transform.java
  2. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/defaults.properties

+ 5
- 2
src/main/org/apache/tools/ant/taskdefs/Transform.java View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2002,2004 The Apache Software Foundation
* Copyright 2000-2002,2004,2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,8 +19,11 @@ package org.apache.tools.ant.taskdefs;

/**
* Has been merged into ExecuteOn, empty class for backwards compatibility.
* We leave that in case that external programs access this class direclty,
* for example via
* <tt> Transform tr = (Transform) getProject().createTask("apply") </tt>
*
* @ant.task ignore="true"
*/
public class Transform extends ExecuteOn {
}
}

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/defaults.properties View File

@@ -2,7 +2,7 @@
ant=org.apache.tools.ant.taskdefs.Ant
antcall=org.apache.tools.ant.taskdefs.CallTarget
antstructure=org.apache.tools.ant.taskdefs.AntStructure
apply=org.apache.tools.ant.taskdefs.ExecuteOn
apply=org.apache.tools.ant.taskdefs.Transform
available=org.apache.tools.ant.taskdefs.Available
basename=org.apache.tools.ant.taskdefs.Basename
buildnumber=org.apache.tools.ant.taskdefs.BuildNumber
@@ -221,4 +221,4 @@ rename=org.apache.tools.ant.taskdefs.Rename
renameext=org.apache.tools.ant.taskdefs.optional.RenameExtensions
starteam=org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
style=org.apache.tools.ant.taskdefs.XSLTProcess
WsdlToDotnet=org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
WsdlToDotnet=org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet

Loading…
Cancel
Save