
G:\Java\cvs>cvs -d :pserver:anoncvs@jakarta.apache.org:/home/cvspublic diff jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSTargetElement.java 
Index: jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSTargetElement.java
===================================================================
RCS file: /home/cvspublic/jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSTargetElement.java,v
retrieving revision 1.5
diff -r1.5 ACSTargetElement.java
65c65
< public class ACSTargetElement extends ACSNamedElement {
---
> public class ACSTargetElement extends ACSNamedElement implements Cloneable{
153a154,180
>     }
>     
> 	/** 
> 	 * Copys the depends of a given target to the current.
> 	 * 
> 	 * @param Source target for the copy operation.
> 	 */
>     public void copyDependsFromTarget(ACSTargetElement newTarget) {
>         setDepends(newTarget.getDepends());
>     }
>     
> 	/** 
> 	 * Copys the depends of a given target to the current.
>          * I can't override clone, because I need an ACSTargetElement
>          * to be returned!
> 	 * 
> 	 * @return A clones target element
> 	 */
>     public ACSTargetElement getClone() {
>         ACSTargetElement retVal = null;
>         try {
>             retVal = (ACSTargetElement)clone();
>             retVal.setDepends(getDepends());
>         } catch (java.lang.CloneNotSupportedException ex) {
>             // Cannot occur, for ACSTarget implements Clonable!
>         }
>         return retVal;
