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
↓ 4 callers
Method
testEchoPrefixVarious
(String target)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java:195
↓ 4 callers
Method
testoutput
(Resource dest)
src/tests/junit/org/apache/tools/ant/types/ResourceOutputTest.java:165
↓ 4 callers
Method
testoutputbe
(Resource dest)
src/tests/junit/org/apache/tools/ant/types/ResourceOutputTest.java:157
↓ 4 callers
Method
toExtension
Convert this adapter object into an extension object. @return the extension object
src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java:180
↓ 4 callers
Method
toString
Get the string representation of this Resource. @return this Resource formatted as a String. @since Ant 1.7
src/main/org/apache/tools/ant/types/Resource.java:384
↓ 4 callers
Method
toString
Format this Files collection as a String. @return a descriptive <code>String</code>.
src/main/org/apache/tools/ant/types/resources/Files.java:380
↓ 4 callers
Method
toString
get the value of this property @return the current value or the empty string
src/main/org/apache/tools/ant/taskdefs/Property.java:489
↓ 4 callers
Method
toURL
convert a file to a URL; @param fileToConvert File @return the file converted to a URL
src/main/org/apache/tools/ant/taskdefs/MakeUrl.java:280
↓ 4 callers
Method
tooManyDefinitions
handle too many definitions by raising an exception. @throws BuildException always.
src/main/org/apache/tools/ant/taskdefs/Definer.java:625
↓ 4 callers
Method
totalSizeOf
(final Path path)
src/tests/junit/org/apache/tools/ant/taskdefs/modules/LinkTest.java:611
↓ 4 callers
Method
validate
()
src/main/org/apache/tools/ant/types/resources/Resources.java:251
↓ 4 callers
Method
validateAttributes
Validates the passed in attributes. @exception BuildException if the attributes are invalid or incomplete.
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/HotDeploymentTool.java:48
↓ 4 callers
Method
validateConfigured
Called to validate that the tool parameters have been configured. @throws BuildException if there is an error.
src/main/org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.java:45
↓ 4 callers
Method
write
Writes a byte to ZIP entry. @param b the byte to write @throws IOException on error @since Ant 1.10.10
src/main/org/apache/tools/zip/ZipOutputStream.java:918
↓ 4 callers
Method
writeAsArray
(char c)
src/tests/junit/org/apache/tools/ant/util/LineOrientedOutputStreamTest.java:132
↓ 4 callers
Method
zipFile
Adds a new entry to the archive, takes care of duplicates as well. @param in the stream to read data for the entry from. The caller of the method is
src/main/org/apache/tools/ant/taskdefs/Zip.java:1769
↓ 4 callers
Method
zipResource
zip a resource to an output stream @param resource the resource to zip @param zOut the output stream @throws IOException on error
src/main/org/apache/tools/ant/taskdefs/Pack.java:182
↓ 3 callers
Method
accountForIncludedFile
process included file @param name path of the file relative to the directory of the fileset
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:579
↓ 3 callers
Method
accountForIncludedFile
process included file @param name path of the file relative to the directory of the fileset
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:454
↓ 3 callers
Method
add
Add a <code>FileNameMapper</code>. @param fileNameMapper the <code>FileNameMapper</code> to add. @since Ant 1.6.3 @throws BuildException if multiple m
src/main/org/apache/tools/ant/taskdefs/Touch.java:178
↓ 3 callers
Method
add
Add an arbitrary ResourceCollection. @param c the ResourceCollection to add. @since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/Concat.java:757
↓ 3 callers
Method
add
Add a collection of resources to be archived. @param a the resources to archive @since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/Zip.java:352
↓ 3 callers
Method
add
Adds a resource collection to the implicit build path. @param rc the resource collection to add. @since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/SubAnt.java:508
↓ 3 callers
Method
add
(E o)
src/main/org/apache/tools/ant/util/VectorSet.java:63
↓ 3 callers
Method
addAsFirstExtraField
Adds an extra field - replacing an already present extra field of the same type. <p>The new extra field will be the first one.</p> @param ze an extr
src/main/org/apache/tools/zip/ZipEntry.java:433
↓ 3 callers
Method
addAttributeAndCheck
Add an attribute to the section @param attribute the attribute to be added. @return the value of the attribute if it is a name attribute - n
src/main/org/apache/tools/ant/taskdefs/Manifest.java:631
↓ 3 callers
Method
addBeans
Add a list of named objects to the list to be exported to the script @param dictionary a map of objects to be placed into the script context i
src/main/org/apache/tools/ant/util/ScriptRunnerBase.java:75
↓ 3 callers
Method
addClass
Add a classname to the list of dependency classes @param classname the class to be added to the list of dependencies.
src/main/org/apache/tools/ant/util/depend/bcel/DependencyVisitor.java:164
↓ 3 callers
Method
addClasses
Add all the classes from a descriptor string. @param string the descriptor string, being descriptors separated by ';' characters.
src/main/org/apache/tools/ant/util/depend/bcel/DependencyVisitor.java:174
↓ 3 callers
Method
addCleanup
(File file)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/ssh/ScpTest.java:189
↓ 3 callers
Method
addCommandToList
Add the entire command, including (optional) executable to a list. @param list the list to add to. @since Ant 1.6
src/main/org/apache/tools/ant/types/Commandline.java:383
↓ 3 callers
Method
addDefaultExcludes
Adds default exclusions to the current exclusions set.
src/main/org/apache/tools/ant/FileScanner.java:31
↓ 3 callers
Method
addDefinitionsToList
Add all definitions (including property sets) to a list. @param listIt list iterator supporting add method.
src/main/org/apache/tools/ant/types/CommandlineJava.java:107
↓ 3 callers
Method
addDirectory
Add a directory to the child directories. @param directory a Directory
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Directory.java:63
↓ 3 callers
Method
addFile
Adds a file to the CVSEntry @param file the file to add @param revision the revision
src/main/org/apache/tools/ant/taskdefs/cvslib/CVSEntry.java:50
↓ 3 callers
Method
addFileset
(FileSet fileset)
src/tests/junit/org/apache/tools/ant/types/PolyTest.java:81
↓ 3 callers
Method
addListener
(TestListener listener)
src/main/org/apache/tools/ant/taskdefs/optional/junit/IgnoredTestResult.java:44
↓ 3 callers
Method
addLoaderPackageRoot
Adds a package root to the list of packages which must be loaded using this loader. All subpackages are also included. @param packageRoot The root o
src/main/org/apache/tools/ant/AntClassLoader.java:657
↓ 3 callers
Method
addLocal
Add a local property to the current scope. @param property the property name to add.
src/main/org/apache/tools/ant/property/LocalProperties.java:82
↓ 3 callers
Method
addOrReplaceTarget
Add a target to the project, or replaces one with the same name. @param target The target to be added or replaced in the project. Must
src/main/org/apache/tools/ant/Project.java:1139
↓ 3 callers
Method
addPatternToList
add a name entry to the given list
src/main/org/apache/tools/ant/types/PatternSet.java:371
↓ 3 callers
Method
addPermissions
(Set<PosixFilePermission> permissions, String prefix, long mode)
src/main/org/apache/tools/ant/util/PermissionUtils.java:259
↓ 3 callers
Method
addProperty
Actually add the given property/value to the project after writing a log message.
src/main/org/apache/tools/ant/taskdefs/XmlProperty.java:459
↓ 3 callers
Method
addSource
Add a single source file. @param sf the source file to be processed.
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:681
↓ 3 callers
Method
addTask
Add a nested task to Sequential. @param nestedTask Nested task to execute Sequential
src/main/org/apache/tools/ant/taskdefs/Sequential.java:51
↓ 3 callers
Method
addText
Set a multiline message. @param msg the message to display
src/main/org/apache/tools/ant/taskdefs/Exit.java:175
↓ 3 callers
Method
addText
(String text)
src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java:109
↓ 3 callers
Method
addVmArgument
helper method to add a string JVM argument to a command @param command ditto @param arg ditto
src/main/org/apache/tools/ant/types/Assertions.java:234
↓ 3 callers
Method
allStars
(char[] chars, int start, int end)
src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java:464
↓ 3 callers
Method
appendElapsed
(StringBuilder sb)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LegacyPlainResultFormatter.java:281
↓ 3 callers
Method
applyPreSet
This is used then the realobject of the UE is a PreSetDefinition. This is also used when a presetdef is used on a presetdef The attributes, elements a
src/main/org/apache/tools/ant/UnknownElement.java:403
↓ 3 callers
Method
areSame
Are the two File instances pointing to the same object on the file system? @param f1 File @param f2 File @return boolean @throws IOException if file
src/main/org/apache/tools/ant/util/FileUtils.java:1423
↓ 3 callers
Method
as
Suppress FileProvider @param clazz the type to implement
src/main/org/apache/tools/ant/types/resources/MappedResource.java:75
↓ 3 callers
Method
assertByteEquals
(byte[] expected, ByteBuffer actual)
src/tests/junit/org/apache/tools/zip/ZipEncodingTest.java:114
↓ 3 callers
Method
assertCanRead
(ZipFile zf, String fileName)
src/tests/junit/org/apache/tools/zip/UTF8ZipFilesTest.java:233
↓ 3 callers
Method
assertEmpty
()
src/tests/junit/org/apache/tools/ant/MockBuildListener.java:67
↓ 3 callers
Method
assertFixture2Sorted
(CBZip2OutputStream.Data data)
src/tests/junit/org/apache/tools/bzip2/BlockSortTest.java:145
↓ 3 callers
Method
assertGoodFile
()
src/tests/junit/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java:216
↓ 3 callers
Method
assertLogoUncorrupted
test that the logo gif file has not been corrupted @throws IOException if something goes wrong
src/tests/junit/org/apache/tools/ant/taskdefs/UnzipTest.java:82
↓ 3 callers
Method
assertResultFileExists
(String classNameFragment, String ext)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest.java:297
↓ 3 callers
Method
assertResultFilesExist
(String target, String extension)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest.java:290
↓ 3 callers
Method
assumeJava1_1Plus
Shall we assume JDK 1.1+ command line switches? @return true if jdk 1.1 and above @since Ant 1.10.7
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:643
↓ 3 callers
Method
badRecipient
(EmailAddress rcpt, IOException reason)
src/main/org/apache/tools/ant/taskdefs/email/PlainMailer.java:153
↓ 3 callers
Method
bcc
(String bcc)
src/tests/junit/org/apache/tools/mail/MailMessageTest.java:521
↓ 3 callers
Method
buildArgsPrefix
Builds the prefix arguments to pass to weblogic.deploy. These arguments are generic across all actions. @return A StringBuffer containing the prefix
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java:161
↓ 3 callers
Method
buildCmdLine
Builds a command line to execute ss. @return The constructed commandline.
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSHISTORY.java:39
↓ 3 callers
Method
buildMap
Add to a map of files/directories to copy. @param fromDir the source directory. @param toDir the destination directory. @param names a list of fi
src/main/org/apache/tools/ant/taskdefs/Copy.java:772
↓ 3 callers
Method
cache
()
src/main/org/apache/tools/ant/types/resources/ResourceList.java:234
↓ 3 callers
Method
calculateBootclasspath
Calculate the bootclasspath based on the bootclasspath specified, the build.sysclasspath and ant.build.clonevm magic properties as well as the cloneVm
src/main/org/apache/tools/ant/types/CommandlineJava.java:831
↓ 3 callers
Method
charsetFor
(String encoding)
src/main/org/apache/tools/ant/util/ResourceUtils.java:680
↓ 3 callers
Method
check
Checks whether the archive is out-of-date with respect to the resources of the given collection. <p>Also checks that either all collections only cont
src/main/org/apache/tools/ant/taskdefs/Tar.java:593
↓ 3 callers
Method
checkTaskClass
Checks whether or not a class is suitable to be adapted by TaskAdapter. If the class is of type Dispatchable, the check is not performed because the m
src/main/org/apache/tools/ant/TaskAdapter.java:78
↓ 3 callers
Method
clear
Reset the list of files
src/main/org/apache/tools/ant/types/optional/ScriptMapper.java:54
↓ 3 callers
Method
clone
Clone this Path. @return Path with shallowly cloned Resource children.
src/main/org/apache/tools/ant/types/Path.java:476
↓ 3 callers
Method
close
Closes this output stream and releases any system resources associated with the stream. @throws IOException if an I/O error occurs. @throws Zip64Req
src/main/org/apache/tools/zip/ZipOutputStream.java:1001
↓ 3 callers
Method
close
Closes the file. @throws IOException When the file cannot be closed.
src/main/org/apache/tools/ant/taskdefs/Replace.java:407
↓ 3 callers
Method
close
()
src/main/org/apache/tools/ant/taskdefs/Redirector.java:75
↓ 3 callers
Method
close
()
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/LauncherSupport.java:632
↓ 3 callers
Method
close
Ends the TAR archive and closes the underlying OutputStream. This means that finish() is called followed by calling the TarBuffer's close(). @throws I
src/main/org/apache/tools/tar/TarOutputStream.java:249
↓ 3 callers
Method
close
Closes this stream. Calls the TarBuffer's close() method. @throws IOException on error
src/main/org/apache/tools/tar/TarInputStream.java:152
↓ 3 callers
Method
close
Closes the underlying stream. @throws IOException on error.
src/main/org/apache/tools/mail/SmtpResponseReader.java:79
↓ 3 callers
Method
closeElement
Writes a DOM tree to a stream. @param element the Root DOM element of the tree @param out where to send the output @param indent number of @param ind
src/main/org/apache/tools/ant/util/DOMElementWriter.java:384
↓ 3 callers
Method
closeEntry
Close an entry. This method MUST be called for all file entries that contain data. The reason is that we must buffer data written to the stream in ord
src/main/org/apache/tools/tar/TarOutputStream.java:343
↓ 3 callers
Method
closeFile
Closes the file associated with this recorder. Used by Recorder. @since 1.6.3
src/main/org/apache/tools/ant/taskdefs/RecorderEntry.java:343
↓ 3 callers
Method
compare
Implements Comparator.compare(). @param o1 the first object @param o2 the second object @return 0, if both are equal, otherwise 1
src/main/org/apache/tools/ant/types/selectors/modifiedselector/EqualComparator.java:41
↓ 3 callers
Method
compare
(Object o1, Object o2)
src/tests/junit/org/apache/tools/ant/types/selectors/MockComparator.java:25
↓ 3 callers
Method
compareFiles
(String name1, String name2)
src/tests/junit/org/apache/tools/ant/types/FilterSetTest.java:199
↓ 3 callers
Method
containsPattern
Does the tokenized pattern contain the given string? @param pat {@link String} @return {@code boolean}
src/main/org/apache/tools/ant/types/selectors/TokenizedPattern.java:139
↓ 3 callers
Method
convertResult
convert the result. @param val the result to convert @return val if positive or !val if not.
src/main/org/apache/tools/ant/attribute/BaseIfAttribute.java:58
↓ 3 callers
Method
create
Create an instance of the definition. The instance may be wrapped in a proxy class. @param project the current project. @return the created object.
src/main/org/apache/tools/ant/AntTypeDefinition.java:205
↓ 3 callers
Method
createAndSet
Get the constructor of the definition and invoke it. @return the instantiated <code>Object</code>, will never be null.
src/main/org/apache/tools/ant/AntTypeDefinition.java:262
↓ 3 callers
Method
createArg
Add a nested argument element to hand to the deployment tool; optional. @return A Commandline.Argument object representing the command line argument
src/main/org/apache/tools/ant/taskdefs/optional/j2ee/GenericHotDeploymentTool.java:50
↓ 3 callers
Method
createCompilerArg
Adds an implementation specific command line argument. @return an object to be configured with a command line argument @since Ant 1.5
src/main/org/apache/tools/ant/taskdefs/Rmic.java:520
↓ 3 callers
Method
createEngine
()
src/main/org/apache/tools/ant/util/optional/JavaxScriptRunner.java:192
↓ 3 callers
Method
createFormatter
@since Ant 1.2
src/main/org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.java:265
↓ 3 callers
Method
createIncludesFile
add a name entry on the include files list @return a PatternFileNameEntry object to be configured
src/main/org/apache/tools/ant/taskdefs/Delete.java:272
↓ 3 callers
Method
createJunction
(File junction, File junctionTarget)
src/tests/junit/org/apache/tools/ant/util/FileUtilsTest.java:1009
↓ 3 callers
Method
createMangler
@return an instance of the mangler this compiler uses
src/main/org/apache/tools/ant/taskdefs/optional/jsp/compilers/JspCompilerAdapter.java:56
↓ 3 callers
Method
createManifest
()
src/main/org/apache/tools/ant/taskdefs/Jar.java:506
↓ 3 callers
Method
createMergeMapper
Create a merge mapper pointing to the specified destination file. @param destfile <code>File</code> @return <code>Mapper</code>.
src/main/org/apache/tools/ant/types/RedirectorElement.java:558
← previous
next →
1,601–1,700 of 14,300, ranked by callers