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
↓ 5 callers
Method
setStorepass
Password for keystore integrity. Must be at least 6 characters long. @param storepass password
src/main/org/apache/tools/ant/taskdefs/GenerateKey.java:224
↓ 5 callers
Method
setStreamHandler
Set the stream handler to use. @param streamHandler ExecuteStreamHandler. @since Ant 1.6
src/main/org/apache/tools/ant/taskdefs/Execute.java:301
↓ 5 callers
Method
setTo
Sets the name of the merged file. @param to the name of the merged file.
src/main/org/apache/tools/ant/util/MergingMapper.java:57
↓ 5 callers
Method
setToUri
(final String toUri)
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java:545
↓ 5 callers
Method
setTodir
Sets the destination directory. @param destDir the destination directory
src/main/org/apache/tools/ant/taskdefs/Sync.java:353
↓ 5 callers
Method
setUp
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:853
↓ 5 callers
Method
setVMLauncher
Launch this execution through the VM, where possible, rather than through the OS's shell. In some cases and operating systems using the shell will all
src/main/org/apache/tools/ant/taskdefs/Execute.java:398
↓ 5 callers
Method
setupDirectoryScanner
Set up the specified directory scanner against this AbstractFileSet's Project. @param ds a <code>FileScanner</code> instance.
src/main/org/apache/tools/ant/types/AbstractFileSet.java:538
↓ 5 callers
Method
size
Size operator. This actually creates the command line, so it is not a zero cost operation. @return number of elements in the command, including the ex
src/main/org/apache/tools/ant/types/Commandline.java:548
↓ 5 callers
Method
skipBytes
Skips the given number of bytes or throws an EOFException if skipping failed.
src/main/org/apache/tools/zip/ZipFile.java:837
↓ 5 callers
Method
stop
()
src/tests/junit/org/apache/tools/ant/taskdefs/SleepTest.java:106
↓ 5 callers
Method
storeAttribute
Store an attribute and update the index. @param attribute the attribute to be stored
src/main/org/apache/tools/ant/taskdefs/Manifest.java:692
↓ 5 callers
Method
test3
Cats the string 'Hello, World!' to a temporary file.
src/tests/junit/org/apache/tools/ant/taskdefs/ConcatTest.java:99
↓ 5 callers
Method
testBaseDirs
(String target, String[] dirs)
src/tests/junit/org/apache/tools/ant/taskdefs/AntTest.java:156
↓ 5 callers
Method
toDosTime
Convert a Date object to a DOS date/time field. @param time the <code>Date</code> to convert @return the date as a <code>ZipLong</code>
src/main/org/apache/tools/zip/ZipUtil.java:41
↓ 5 callers
Method
toString
@return a string representation of the selector
src/main/org/apache/tools/ant/types/selectors/OrSelector.java:35
↓ 5 callers
Method
touchFile
run a target to touch the test file; verify the timestamp is as expected @param targetName String @param timestamp long
src/tests/junit/org/apache/tools/ant/taskdefs/TouchTest.java:179
↓ 5 callers
Method
translatePath
Translate a path into its native (platform specific) format. <p> This method uses PathTokenizer to separate the input path into its components. This h
src/main/org/apache/tools/ant/util/FileUtils.java:735
↓ 5 callers
Method
updateCRC
(int inCh)
src/main/org/apache/tools/bzip2/CRC.java:120
↓ 5 callers
Method
waitFor
Wait for a given process. @param process the process one wants to wait for.
src/main/org/apache/tools/ant/taskdefs/Execute.java:528
↓ 5 callers
Method
writeByteArray
()
src/tests/junit/org/apache/tools/ant/util/LineOrientedOutputStreamTest.java:122
↓ 5 callers
Method
writeRecord
Write an archive record to the archive. @param record The record data to write to the archive. @throws IOException on error
src/main/org/apache/tools/tar/TarBuffer.java:329
↓ 5 callers
Method
writeSingleBytes
()
src/tests/junit/org/apache/tools/ant/util/LineOrientedOutputStreamTest.java:126
↓ 4 callers
Method
EscapeUnicode
returns the unicode representation of a char without the leading backslash @param ch a character @return unicode representation of a char for property
src/main/org/apache/tools/ant/util/UnicodeUtil.java:35
↓ 4 callers
Method
add
Add a ResourceComparator to this Sort ResourceCollection. If multiple ResourceComparators are added, they will be processed in LIFO order. @param c th
src/main/org/apache/tools/ant/types/resources/Sort.java:58
↓ 4 callers
Method
add
Add a {@link ResourceCollection}. @param c the {@link ResourceCollection} to add.
src/main/org/apache/tools/ant/types/resources/Resources.java:145
↓ 4 callers
Method
add
Set the compiler adapter explicitly. @param adapter CompilerAdapter @since Ant 1.8.0
src/main/org/apache/tools/ant/taskdefs/Javac.java:1054
↓ 4 callers
Method
add
Add a collection of files to copy. @param res a resource collection to copy. @since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/Copy.java:350
↓ 4 callers
Method
addAlmostAll
Copies all properties from the given table to the new project - omitting those that have already been set in the new project as well as properties nam
src/main/org/apache/tools/ant/taskdefs/Ant.java:612
↓ 4 callers
Method
addArg
(boolean sign, String attribute)
src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java:194
↓ 4 callers
Method
addClassPath
Add a classpath to the classpath being used by the analyzer. The classpath contains the binary classfiles for the classes being analyzed The elements
src/main/org/apache/tools/ant/util/depend/DependencyAnalyzer.java:54
↓ 4 callers
Method
addClasspathEntry
Search for the given resource and add the directory or archive that contains it to the classpath. <p>Doesn't work for archives in JDK 1.1 as the URL
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1807
↓ 4 callers
Method
addConfiguredGrant
Adds a permission to be granted. @param perm The Permissions.Permission to be granted.
src/main/org/apache/tools/ant/types/Permissions.java:89
↓ 4 callers
Method
addConfiguredPatternset
This is a patternset nested element. @param p a configured patternset nested element.
src/main/org/apache/tools/ant/types/PatternSet.java:269
↓ 4 callers
Method
addDependency
Adds a dependency to this target. @param dependency The name of a target this target is dependent on. Must not be <code>null</code>
src/main/org/apache/tools/ant/Target.java:244
↓ 4 callers
Method
addError
Interface TestListener. <p>An error occurred while running the test. @param test the test. @param t the error thrown by the test.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java:765
↓ 4 callers
Method
addFilename
add a selector filename entry on the selector list @param selector the selector to add
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:122
↓ 4 callers
Method
addHeader
Add a header to the concatenated output @param headerToAdd the header @since Ant 1.6
src/main/org/apache/tools/ant/taskdefs/Concat.java:801
↓ 4 callers
Method
addImplementationArgument
Command line argument. @param arg an argument to add.
src/main/org/apache/tools/ant/util/facade/FacadeTaskHelper.java:121
↓ 4 callers
Method
addParentDirs
Ensure all parent dirs of a given entry have been added. @param baseDir the base directory to use (may be null) @param entry the entry name to creat
src/main/org/apache/tools/ant/taskdefs/Zip.java:1916
↓ 4 callers
Method
addPropertyref
Add a property reference (nested element) to the references to be used. @param ref a property reference.
src/main/org/apache/tools/ant/types/PropertySet.java:190
↓ 4 callers
Method
addSystemPackageRoot
Adds a package root to the list of packages which must be loaded on the parent loader. All subpackages are also included. @param packageRoot The roo
src/main/org/apache/tools/ant/AntClassLoader.java:644
↓ 4 callers
Method
addTarget
add a new target @param target target to add
src/main/org/apache/tools/ant/helper/AntXMLContext.java:264
↓ 4 callers
Method
addTask
Adds a task to this task container @param task The task to be added to this container. Must not be <code>null</code>.
src/main/org/apache/tools/ant/TaskContainer.java:40
↓ 4 callers
Method
addText
Adds characters from #PCDATA areas to the wrapped element. @param data Text to add to the wrapped element. Should not be <code>null</code>.
src/main/org/apache/tools/ant/RuntimeConfigurable.java:389
↓ 4 callers
Method
addText
The text of the element. @param val the string to add
src/main/org/apache/tools/ant/taskdefs/Replace.java:115
↓ 4 callers
Method
adjustToLong
Assumes a negative integer really is a positive integer that has wrapped around and re-creates the original value. <p>This methods is no longer used
src/main/org/apache/tools/zip/ZipUtil.java:101
↓ 4 callers
Method
areSame
(final Resource resource1, final Resource resource2)
src/main/org/apache/tools/ant/util/ResourceUtils.java:788
↓ 4 callers
Method
assertElemMethod
(String elemName, String methodName, Class<?> returnType, Class<?> methodArg
src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java:291
↓ 4 callers
Method
assertFilesystemOnly
Verify the specified ResourceCollection is filesystem-only. @param rc the ResourceCollection to check. @throws BuildException if <code>rc</code> is no
src/main/org/apache/tools/ant/types/Path.java:713
↓ 4 callers
Method
assertFixtureSorted
(CBZip2OutputStream.Data data)
src/tests/junit/org/apache/tools/bzip2/BlockSortTest.java:137
↓ 4 callers
Method
assertIndexCreated
()
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitReportTest.java:72
↓ 4 callers
Method
assertMethod
(Method m, String methodName, Class<?> methodArg, Object arg, Object badArg)
src/tests/junit/org/apache/tools/ant/IntrospectionHelperTest.java:780
↓ 4 callers
Method
assertNoPrint
(String result, String where)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest.java:306
↓ 4 callers
Method
assertPresentInLegacyXMLFile
(final String fileName, final String expectedContent)
src/tests/junit/org/apache/tools/ant/taskdefs/optional/junitlauncher/JUnitLauncherTaskTest.java:577
↓ 4 callers
Method
assertResolved
Assert something resolved @param uri original URI @param expectedResult what we expected @param result what we got @param enabled is the test enabled?
src/tests/junit/org/apache/tools/ant/launch/LocatorTest.java:70
↓ 4 callers
Method
assertSizeAndContent
(final File file, final long expectedSize, final String expectedContent)
src/tests/junit/org/apache/tools/ant/taskdefs/CopyTest.java:308
↓ 4 callers
Method
assertValid
(String attr, String value)
src/main/org/apache/tools/ant/types/PropertySet.java:108
↓ 4 callers
Method
assumedJavaVersion
()
src/main/org/apache/tools/ant/taskdefs/Javac.java:147
↓ 4 callers
Method
before
()
src/tests/junit/org/apache/tools/ant/types/selectors/BaseSelectorRule.java:44
↓ 4 callers
Method
buildFinished
Signals that the last target has finished. This event will still be fired if an error occurred during the build. @param event An event with any relev
src/main/org/apache/tools/ant/BuildListener.java:55
↓ 4 callers
Method
cacheCollection
()
src/main/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java:256
↓ 4 callers
Method
cc
(String cc)
src/tests/junit/org/apache/tools/mail/MailMessageTest.java:517
↓ 4 callers
Method
checkInitialized
()
src/main/org/apache/tools/ant/types/resources/MappedResourceCollection.java:217
↓ 4 callers
Method
checkLanguage
Check if the language attribute is set. @throws BuildException if it is not.
src/main/org/apache/tools/ant/util/ScriptRunnerBase.java:360
↓ 4 callers
Method
checkTarFileSetAttributesAllowed
A check attributes for TarFileSet. If there is a reference, and it is a TarFileSet, the tar fileset attributes cannot be used.
src/main/org/apache/tools/ant/types/TarFileSet.java:273
↓ 4 callers
Method
classpathLookup
Utility method to lookup a ResourceLocation in the classpath. @return An InputSource for reading the resource, or <code>null</code> if the resourc
src/main/org/apache/tools/ant/types/XMLCatalog.java:696
↓ 4 callers
Method
clone
Deep clone the object. @return a CommandlineJava object. @throws BuildException if anything went wrong. @throws CloneNotSupportedException never.
src/main/org/apache/tools/ant/types/CommandlineJava.java:741
↓ 4 callers
Method
close
Close the stream. This method will cause the underlying {@link Reader} to be closed. @throws IOException if an I/O error occurs
src/main/org/apache/tools/ant/util/ReaderInputStream.java:226
↓ 4 callers
Method
complete
Complete redirection. This operation will close any streams and create any specified property values. @throws IOException if the output
src/main/org/apache/tools/ant/taskdefs/Redirector.java:966
↓ 4 callers
Method
containsValue
Delegates to {@link #contains contains}. @param value the value to look for. @return true if the table contains the value.
src/main/org/apache/tools/ant/util/LazyHashtable.java:106
↓ 4 callers
Method
convertSlashName
Convert a class name from class file slash notation to java source file dot notation. @param name the class name in slash notation org/apache/ant @re
src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFileUtils.java:37
↓ 4 callers
Method
convertToBuildException
Translate a SAXException into a BuildException @since Ant 1.5
src/main/org/apache/tools/ant/util/JAXPUtils.java:231
↓ 4 callers
Method
createClasspath
Create a classpath. @param p the project to use to create the path. @return a path to be configured.
src/main/org/apache/tools/ant/types/CommandlineJava.java:439
↓ 4 callers
Method
createClasspath
Creates a nested classpath element. @return classpath
src/main/org/apache/tools/ant/taskdefs/Rmic.java:294
↓ 4 callers
Method
createClasspath
Adds path to classpath used for tests. @return reference to the classpath in the embedded java command line @since Ant 1.2
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:505
↓ 4 callers
Method
createClasspath
Adds a path to the classpath. @return a classpath
src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java:273
↓ 4 callers
Method
createClasspath
Adds a path to the classpath. @return a path to be configured.
src/main/org/apache/tools/ant/taskdefs/optional/jsp/JspC.java:291
↓ 4 callers
Method
createExclude
Add a name entry on the exclude list. @return a nameentry to be configured.
src/main/org/apache/tools/ant/taskdefs/Chmod.java:108
↓ 4 callers
Method
createFormat
create a custom format with the current prefix. @return a ready to fill-in format
src/main/org/apache/tools/ant/taskdefs/Tstamp.java:130
↓ 4 callers
Method
createHandler
Create the ExecuteStreamHandler instance that will be used during execution. @return <code>ExecuteStreamHandler</code>. @throws BuildException on erro
src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java:334
↓ 4 callers
Method
createLoader
create a classloader for this definition @return the classloader from the cpDelegate
src/main/org/apache/tools/ant/taskdefs/DefBase.java:139
↓ 4 callers
Method
createModulepath
Add a path to the modulepath. @return created modulepath. @since 1.9.7
src/main/org/apache/tools/ant/taskdefs/Java.java:315
↓ 4 callers
Method
createModulepath
Adds a path to the modulepath. @return a modulepath to be configured @since 1.9.7
src/main/org/apache/tools/ant/taskdefs/Javac.java:441
↓ 4 callers
Method
createModulepath
Add a path to the modulepath. @return created modulepath. @since 1.9.8
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:525
↓ 4 callers
Method
createWorkDir
(String testName)
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/JavacExternalTest.java:218
↓ 4 callers
Method
delete
Delete the file with {@link File#delete()} if the argument is not null. Do nothing on a null argument. @param file file to delete.
src/main/org/apache/tools/ant/util/FileUtils.java:1735
↓ 4 callers
Method
delete
(File f)
src/tests/junit/org/apache/tools/ant/taskdefs/compilers/JavacExternalTest.java:236
↓ 4 callers
Method
deleteCachefile
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:901
↓ 4 callers
Method
deletePropertiesfile
()
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:894
↓ 4 callers
Method
describeArguments
Return a String that describes the arguments suitable for verbose output before a call to <code>Runtime.exec(String[])</code>. @return a string that d
src/main/org/apache/tools/ant/types/Commandline.java:611
↓ 4 callers
Method
dieOnCircularReference
Overrides the version of DataType to recurse on all DataType child elements that may have been added. @param stk the stack of data types to use (recur
src/main/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java:186
↓ 4 callers
Method
dieOnCircularReference
(Stack<Object> stk, Project p)
src/main/org/apache/tools/ant/types/resources/Restrict.java:144
↓ 4 callers
Method
dieOnCircularReference
Overrides the version of DataType to recurse on all DataType child elements that may have been added. @param stk the stack of data types to use (recur
src/main/org/apache/tools/ant/types/resources/AbstractResourceCollectionWrapper.java:159
↓ 4 callers
Method
dieOnCircularReference
(Stack<Object> stk, Project p)
src/main/org/apache/tools/ant/types/resources/AbstractClasspathResource.java:241
↓ 4 callers
Method
different
( boolean caseSensitive, char ch, char other)
src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java:473
↓ 4 callers
Method
directories
(ResourceCollection rc)
src/main/org/apache/tools/ant/taskdefs/optional/depend/Depend.java:827
↓ 4 callers
Method
doAdd
(int index, E o)
src/main/org/apache/tools/ant/util/VectorSet.java:81
↓ 4 callers
Method
elements
Get a enumeration over the elements. @return an enumeration.
src/main/org/apache/tools/ant/util/LazyHashtable.java:58
↓ 4 callers
Method
ensureOpened
()
src/main/org/apache/tools/ant/util/LazyFileOutputStream.java:156
← previous
next →
1,201–1,300 of 14,300, ranked by callers