Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.project.ant/1 1.12.22
PREV NEXT | FRAMES NO FRAMES

## Deprecated API

Contents

- Deprecated Methods

Deprecated Methods
org.netbeans.spi.project.support.ant.ReferenceHelper.addReference(AntArtifact) to add reference use `ReferenceHelper.addReference(AntArtifact, URI)`; to check whether reference exist or not use `ReferenceHelper.isReferenced(AntArtifact, URI)`. This method creates reference for the first artifact location only.
org.netbeans.spi.project.support.ant.ReferenceHelper.createForeignFileReference(AntArtifact) use `ReferenceHelper.addReference(AntArtifact, URI)` instead
org.netbeans.spi.project.support.ant.ReferenceHelper.destroyForeignFileReference(String) use `ReferenceHelper.destroyReference(java.lang.String)` instead which does exactly the same but has more appropriate name
org.netbeans.api.project.ant.AntArtifact.getArtifactFile() use `AntArtifact.getArtifactFiles()` instead
org.netbeans.api.project.ant.AntArtifact.getArtifactLocation() use `AntArtifact.getArtifactLocations()` instead
org.netbeans.spi.project.support.ant.ReferenceHelper.getForeignFileReferenceAsArtifact(String) use `ReferenceHelper.findArtifactAndLocation(java.lang.String)` instead
org.netbeans.spi.project.support.ant.ReferenceHelper.RawReference.getScriptLocation() use `ReferenceHelper.RawReference.getScriptLocationValue()` instead; may return null now
org.netbeans.spi.project.support.ant.ReferenceHelper.removeReference(String) use `ReferenceHelper.destroyReference(java.lang.String)` instead; was unused anyway
org.netbeans.spi.project.support.ant.ReferenceHelper.removeReference(String, String) use `ReferenceHelper.destroyReference(java.lang.String)` instead; was unused anyway

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.modules.project.ant/1 1.12.22
PREV NEXT | FRAMES NO FRAMES

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.