Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/ant
/ functions
Functions
14,300 in github.com/apache/ant
⨍
Functions
14,300
◇
Types & classes
1,839
↓ 12 callers
Method
setContextClassLoader
Set the context classloader @param loader the ClassLoader to be used as the context class loader on the current thread.
src/main/org/apache/tools/ant/util/LoaderUtils.java:42
↓ 12 callers
Method
setTo
Set the argument to FileNameMapper.setTo @param to the to attribute to pass to the FileNameMapper
src/main/org/apache/tools/ant/types/Mapper.java:175
↓ 12 callers
Method
toURLString
(File file)
src/tests/junit/org/apache/tools/ant/types/XMLCatalogTest.java:62
↓ 11 callers
Method
addArg
add a single argument to the argument list, if the value isn't null @param cmd the command line @param argument The argument
src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/DefaultJspCompilerAdapter.java:89
↓ 11 callers
Method
addVariable
add a variable. Validity checking is <i>not</i> performed at this point. Duplicates are not caught either. @param var new variable.
src/main/org/apache/tools/ant/types/Environment.java:146
↓ 11 callers
Method
append
Adds the patterns of the other instance to this set. @param other the other PatternSet instance. @param p the current project.
src/main/org/apache/tools/ant/types/PatternSet.java:441
↓ 11 callers
Method
assertFileMissing
assert that a file doesn't exist, relative to the project @param message message if there is no mpatch @param filename filename to resolve against t
src/tests/junit/org/apache/tools/ant/taskdefs/UnzipTest.java:213
↓ 11 callers
Method
assumeJava10Plus
Shall we assume JDK 10+ command line switches? @return true if JDK 10+ @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:836
↓ 11 callers
Method
bsR
(final int n)
src/main/org/apache/tools/bzip2/CBZip2InputStream.java:414
↓ 11 callers
Method
checkCommandLines
Iterate through the generated command line comparing it to reference one. @param sTestCmdLine The reference command line; @param sGeneratedCm
src/tests/junit/org/apache/tools/ant/taskdefs/optional/vss/MSVSSTest.java:441
↓ 11 callers
Method
clone
@since Ant 1.5 @return a clone of this test.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java:515
↓ 11 callers
Method
closeEntry
Writes all necessary data for this entry. @since 1.1 @throws IOException on error @throws Zip64RequiredException if the entry's uncompressed or compr
src/main/org/apache/tools/zip/ZipOutputStream.java:548
↓ 11 callers
Method
copyFile
Copy fromFile to toFile. @param fromFile File @param toFile File @param filtering boolean @param overwrite boolean
src/main/org/apache/tools/ant/taskdefs/Move.java:235
↓ 11 callers
Method
createPathElement
Creates the nested <code><pathelement></code> element. @return the <code>PathElement</code> to be configured @throws BuildException on error
src/main/org/apache/tools/ant/types/Path.java:213
↓ 11 callers
Method
doTest
Actually run a test, finding all input files (and corresponding goldfile)
src/tests/junit/org/apache/tools/ant/taskdefs/XmlPropertyTest.java:149
↓ 11 callers
Method
execute
Executes the task. @return has the compilation been successful @throws BuildException on error
src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JspCompilerAdapter.java:50
↓ 11 callers
Method
getClassName
@return the class name for
src/main/org/apache/tools/ant/types/spi/Provider.java:37
↓ 11 callers
Method
getContextClassLoader
JDK1.1 compatible access to set the context class loader. @return the ClassLoader instance being used as the context classloader on the current
src/main/org/apache/tools/ant/util/LoaderUtils.java:54
↓ 11 callers
Method
getFailonerror
Get the failonerror flag. @return the failonerror flag
src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHBase.java:97
↓ 11 callers
Method
getImplementation
Returns a fully configured FileNameMapper implementation. @return a FileNameMapper object to be configured @throws BuildException on error
src/main/org/apache/tools/ant/types/Mapper.java:203
↓ 11 callers
Method
getIncludedDirectories
Returns the names of the directories which matched at least one of the include patterns and none of the exclude patterns. The names are relative to th
src/main/org/apache/tools/ant/FileScanner.java:70
↓ 11 callers
Method
getInstance
()
src/tests/junit/org/apache/tools/ant/types/DirSetTest.java:47
↓ 11 callers
Method
getJavacExecutable
The name of the javac executable to use in fork-mode. <p>This is either the name specified with the executable attribute or the full path of the java
src/main/org/apache/tools/ant/taskdefs/Javac.java:882
↓ 11 callers
Method
getKey
Attribute holding the release info property key to delete. @return property key to be deleted
src/main/org/apache/tools/ant/taskdefs/modules/Link.java:1501
↓ 11 callers
Method
getPlatform
Platform specification to put into the "version made by" part of the central file header. @return PLATFORM_FAT unless {@link #setUnixMode s
src/main/org/apache/tools/zip/ZipEntry.java:290
↓ 11 callers
Method
getRef
()
src/main/org/apache/tools/ant/types/resources/URLResource.java:404
↓ 11 callers
Method
getRefid
get the reference set on this object @return the reference or null
src/main/org/apache/tools/ant/types/DataType.java:334
↓ 11 callers
Method
getResource
De-references refids if any, ensures a wrapped resource has been specified. @return Resource
src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java:206
↓ 11 callers
Method
getRetCode
Returns what System.exit() would return in the standalone version. @return 2 if errors occurred, 1 if tests failed else 0.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:146
↓ 11 callers
Method
getTask
Returns the task that fired this event. @return the task that fired this event, or <code>null</code> if this event is a project or target lev
src/main/org/apache/tools/ant/BuildEvent.java:157
↓ 11 callers
Method
getText
@return the nested text element @since ant 1.6.1
src/main/org/apache/tools/ant/taskdefs/MacroDef.java:92
↓ 11 callers
Method
getZipEncoding
Instantiates a zip encoding. @param name The name of the zip encoding. Specify {@code null} for the platform's default encoding. @return
src/main/org/apache/tools/zip/ZipEncodingHelper.java:222
↓ 11 callers
Method
isFollowSymlinks
Find out whether symbolic links should be followed. @return <code>boolean</code> indicating whether symbolic links should be followed.
src/main/org/apache/tools/ant/types/resources/Files.java:303
↓ 11 callers
Method
log
(final String msg, final int msgLevel)
src/main/org/apache/tools/ant/taskdefs/Get.java:265
↓ 11 callers
Method
removeBuildListener
Remove a build listener from the list. This listener will no longer be notified of build events for this project. @param listener The listener to rem
src/main/org/apache/tools/ant/Project.java:414
↓ 11 callers
Method
setFile
(String file)
src/tutorial/tasks-filesets-properties/final/src/Find.java:40
↓ 11 callers
Method
setFile
Sets the file to be transferred. This can either be a remote file or a local file. Remote files take the form: <p> <i>user:password@host:/directory/
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java:77
↓ 11 callers
Method
setFileLastModified
Calls File.setLastModified(long time). Originally written to to dynamically bind to that call on Java1.2+. @param file the file whose modified time i
src/main/org/apache/tools/ant/util/FileUtils.java:614
↓ 11 callers
Method
setLocation
Sets the location of this target's definition. @param location <code>Location</code> @since 1.6.2
src/main/org/apache/tools/ant/Target.java:118
↓ 11 callers
Method
setLogin
Login to use when accessing VSS, formatted as "username,password". <p> You can omit the password if your database is not password protected. If you ha
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:127
↓ 11 callers
Method
setSource
Value of the -source command-line switch; will be ignored by all implementations except modern, jikes and gcj (gcj uses -fsource). <p>If you use this
src/main/org/apache/tools/ant/taskdefs/Javac.java:208
↓ 11 callers
Method
setTaskName
Sets the name to use in logging messages. @param name The name to use in logging messages. Should not be <code>null</code>.
src/main/org/apache/tools/ant/Task.java:114
↓ 11 callers
Method
setValue
Accept additional values for backwards compatibility (some java.io encoding names not available in java.nio) @param value the <code>String</code> valu
src/main/org/apache/tools/ant/types/CharSet.java:111
↓ 11 callers
Method
setViewPath
Set the path to the item in a ClearCase view to operate on. @param viewPath Path to the view directory or file
src/main/org/apache/tools/ant/taskdefs/optional/clearcase/ClearCase.java:145
↓ 11 callers
Method
setVsspath
SourceSafe path which specifies the project/file(s) you wish to perform the action on. <p> A prefix of 'vss://' will be removed if specified. @param
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:139
↓ 11 callers
Method
stdout
Receive notification about the process writing to standard output. @param line the line to process
src/main/org/apache/tools/ant/taskdefs/cvslib/ChangeLogParser.java:113
↓ 11 callers
Method
waitFor
()
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest.java:644
↓ 11 callers
Method
write
(final JUnitLauncherTask task, final XMLStreamWriter writer)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/TestClasses.java:110
↓ 10 callers
Method
addFileset
Adds a set of files. @param set the fileset to add
src/main/org/apache/tools/ant/taskdefs/Zip.java:334
↓ 10 callers
Method
addTaskDefinition
Add a new task definition to the project. Attempting to override an existing definition with an equivalent one (i.e. with the same classname) results
src/main/org/apache/tools/ant/Project.java:982
↓ 10 callers
Method
assumeJava1_7Plus
Shall we assume JDK 1.7+ command line switches? @return true if jdk 1.7 and above @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:772
↓ 10 callers
Method
available
Get the available data that can be read from the current entry in the archive. This does not indicate how much data is left in the entire archive, onl
src/main/org/apache/tools/tar/TarInputStream.java:178
↓ 10 callers
Method
bsW
(final int n, final int v)
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:930
↓ 10 callers
Method
checkEntry
Validate settings and ensure that the represented "archive entry" has been established.
src/main/org/apache/tools/ant/types/resources/ArchiveResource.java:257
↓ 10 callers
Method
commonIndexFileAssertions
()
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java:80
↓ 10 callers
Method
copyOf
(ZipExtraField[] src)
src/main/org/apache/tools/zip/ZipEntry.java:358
↓ 10 callers
Method
createNewFile
This was originally an emulation of File.createNewFile for JDK 1.1, but it is now implemented using that method (Ant 1.6.3 onwards). <p>This method h
src/main/org/apache/tools/ant/util/FileUtils.java:1212
↓ 10 callers
Method
decode
@param data The byte values to decode. @return The decoded string. @throws IOException if something goes wrong
src/main/org/apache/tools/zip/ZipEncoding.java:83
↓ 10 callers
Method
disconnect
()
src/tests/junit/org/apache/tools/ant/DummyMailServer.java:134
↓ 10 callers
Method
encodedata
Drop characters that are illegal in XML documents. <p>Also ensure that we are not including an <code>]]></code> marker by replacing that sequence
src/main/org/apache/tools/ant/util/DOMElementWriter.java:486
↓ 10 callers
Method
expectFileContains
(String target, String filename, String contains)
src/tests/junit/org/apache/tools/ant/taskdefs/StyleTest.java:226
↓ 10 callers
Method
expectSpecificBuildException
(String target, String exceptionMessage)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/vss/MSVSSTest.java:273
↓ 10 callers
Method
getArchive
Get the archive that holds this Resource. @return the archive as a Resource.
src/main/org/apache/tools/ant/types/resources/ArchiveResource.java:120
↓ 10 callers
Method
getDelegate
()
src/main/org/apache/tools/ant/taskdefs/DefBase.java:163
↓ 10 callers
Method
getDir
@return the dir attribute
src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java:245
↓ 10 callers
Method
getDir
(Project p)
src/tests/junit/org/apache/tools/ant/types/resources/MultiRootFileSetTest.java:57
↓ 10 callers
Method
getFullpath
Return the full pathname of the single entry in this fileset. @param p the project to use @return the full path
src/main/org/apache/tools/ant/types/ArchiveFileSet.java:263
↓ 10 callers
Method
getInstance
()
src/main/org/apache/tools/ant/ProjectHelperRepository.java:72
↓ 10 callers
Method
getJavac
Get the Javac task instance associated with this compiler adapter @return the configured Javac task instance used by this adapter.
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:146
↓ 10 callers
Method
getJspc
get the owner @return the owner; should never be null
src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/DefaultJspCompilerAdapter.java:80
↓ 10 callers
Method
getManifest
Reads mftest.mf.
src/tests/junit/org/apache/tools/ant/taskdefs/ManifestTest.java:439
↓ 10 callers
Method
getOwner
()
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/TestRequest.java:46
↓ 10 callers
Method
getRef
Perform the check for circular references and return the referenced Files collection. @return <code>FileCollection</code>.
src/main/org/apache/tools/ant/types/resources/Files.java:460
↓ 10 callers
Method
getResourceCollection
Get the nested ResourceCollection. @return a ResourceCollection. @throws BuildException if no nested ResourceCollection has been provided.
src/main/org/apache/tools/ant/types/resources/AbstractResourceCollectionWrapper.java:179
↓ 10 callers
Method
getResources
{@inheritDoc}
src/main/org/apache/tools/ant/AntClassLoader.java:1558
↓ 10 callers
Method
getTag
Returns the name of the XML element which generated this unknown element. @return the name of the XML element which generated this unknown el
src/main/org/apache/tools/ant/UnknownElement.java:93
↓ 10 callers
Method
getTaskDefinitions
Return the current task definition hashtable. The returned hashtable is "live" and so should not be modified. @return a map of from task na
src/main/org/apache/tools/ant/Project.java:1039
↓ 10 callers
Method
getTypeClass
Get the definition class. @param project the current project. @return the type of the definition.
src/main/org/apache/tools/ant/AntTypeDefinition.java:166
↓ 10 callers
Method
getURL
Get the URL represented by this Resource. @return the file.
src/main/org/apache/tools/ant/types/resources/URLProvider.java:34
↓ 10 callers
Method
getURL
Get the URL used by this URLResource. @return a URL object.
src/main/org/apache/tools/ant/types/resources/URLResource.java:144
↓ 10 callers
Method
getXMLReader
Returns a newly created SAX 2 XMLReader, using the default parser factory. @return a SAX 2 XMLReader. @throws BuildException on error. @see #getParse
src/main/org/apache/tools/ant/util/JAXPUtils.java:156
↓ 10 callers
Method
isCaseSensitive
Find out whether include exclude patterns are matched in a case sensitive way. @return whether or not the scanning is case sensitive. @since Ant 1.6
src/main/org/apache/tools/ant/DirectoryScanner.java:667
↓ 10 callers
Method
isReference
Learn whether the refid attribute of this element been set. @return true if refid is valid.
src/main/org/apache/tools/ant/taskdefs/PathConvert.java:355
↓ 10 callers
Method
listFiles
list the files present in one directory. @param directory full path on the remote side @param changedir if true change to directory directory before l
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:557
↓ 10 callers
Method
log
The thing that actually sends the information to the output. @param mesg The message to log. @param level The verbosity level of the message.
src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java:218
↓ 10 callers
Method
merge
Merge the contents of the given manifest into this manifest without merging Class-Path attributes. @param other the Manifest to be merged with this o
src/main/org/apache/tools/ant/taskdefs/Manifest.java:877
↓ 10 callers
Method
readFile
(File f)
src/tests/junit/org/apache/tools/ant/util/LayoutPreservingPropertiesTest.java:277
↓ 10 callers
Method
realLog
(final Log log, final String message, final int priority, final Throwable t)
src/main/org/apache/tools/ant/listener/CommonsLoggingListener.java:257
↓ 10 callers
Method
resolveEntity
(String publicId, String systemId)
src/main/org/apache/tools/ant/types/XMLCatalog.java:790
↓ 10 callers
Method
setClassname
Set the Java class to execute. @param s the name of the main class. @throws BuildException if there is also a {@code jar} or {@code sourcefile} attr
src/main/org/apache/tools/ant/taskdefs/Java.java:382
↓ 10 callers
Method
setCompressedSize
The uncompressed size stored in this extra field. @param compressedSize ZipEightByteInteger
src/main/org/apache/tools/zip/Zip64ExtendedInformationExtraField.java:291
↓ 10 callers
Method
setEncoding
Encoding to use for filenames, defaults to the platform's default encoding. <p>For a list of possible values see <a href="https://docs.oracle.com/jav
src/main/org/apache/tools/ant/taskdefs/Zip.java:414
↓ 10 callers
Method
setLocalFileDataData
Set the extra field data in the local file data - without Header-ID or length specifier. @param data the field data to use
src/main/org/apache/tools/zip/UnrecognizedExtraField.java:68
↓ 10 callers
Method
setName
Set the name attribute. @param name the name of the local property.
src/main/org/apache/tools/ant/taskdefs/Local.java:67
↓ 10 callers
Method
setRefid
Set the refid attribute. @param r a Reference value
src/main/org/apache/tools/ant/taskdefs/condition/IsReference.java:41
↓ 10 callers
Method
setTaskType
Sets the name with which the task has been invoked. @param type The name the task has been invoked as. Should not be <code>null</code>.
src/main/org/apache/tools/ant/Task.java:133
↓ 10 callers
Method
setTo
Sets the to part of the transformation rule. @param to a string.
src/main/org/apache/tools/ant/util/FileNameMapper.java:44
↓ 10 callers
Method
stop
Stop handling of the streams - will not be restarted.
src/main/org/apache/tools/ant/taskdefs/ExecuteStreamHandler.java:67
↓ 10 callers
Method
store
(final byte[] data)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/AbstractJUnitResultFormatter.java:227
↓ 10 callers
Method
testReference
(String target, String[] keys, boolean[] expect, Object value)
src/tests/junit/org/apache/tools/ant/taskdefs/AntTest.java:219
← previous
next →
501–600 of 14,300, ranked by callers