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
↓ 3 callers
Method
mergePropertySets
Merge all property sets into a single Properties object. @return the merged object.
src/main/org/apache/tools/ant/types/CommandlineJava.java:214
↓ 3 callers
Method
mirrorSelectionString
This is a helper method that takes a selector and calls its isSelected() method on each file in the mirror testbed. This variation is used for depende
src/tests/junit/org/apache/tools/ant/types/selectors/BaseSelectorRule.java:105
↓ 3 callers
Method
modify
(String s)
src/main/org/apache/tools/ant/types/resources/selectors/Name.java:144
↓ 3 callers
Method
nestedConditionPresent
test whether there is a nested condition. @return <code>boolean</code>.
src/main/org/apache/tools/ant/taskdefs/Exit.java:233
↓ 3 callers
Method
newInstance
()
src/main/org/apache/tools/ant/filters/FixCrLfFilter.java:912
↓ 3 callers
Method
newJarFile
@param file The file representing the jar @return Returns a {@link JarFile} instance, which is constructed based upon the Java runtime version.
src/main/org/apache/tools/ant/AntClassLoader.java:1623
↓ 3 callers
Method
next
()
src/main/org/apache/tools/ant/types/resources/LazyResourceCollectionWrapper.java:160
↓ 3 callers
Method
next
()
src/main/org/apache/tools/ant/util/CollectionUtils.java:195
↓ 3 callers
Method
normalizeFileName
Strips Windows' drive letter as well as any leading slashes, turns path separators into forward slashes.
src/main/org/apache/tools/tar/TarEntry.java:1032
↓ 3 callers
Method
nsToComponentName
Convert an attribute namespace to a "component name". @param ns the xml namespace uri. @return the converted value. @since Ant 1.9.1
src/main/org/apache/tools/ant/ProjectHelper.java:551
↓ 3 callers
Method
open
Explicitly open the file for writing. <p>Returns silently if the file has already been opened.</p> @throws IOException if there is an error.
src/main/org/apache/tools/ant/util/LazyFileOutputStream.java:102
↓ 3 callers
Method
openElement
Writes the opening tag - including all attributes - corresponding to a DOM element. @param element the DOM element to write @param out where to send
src/main/org/apache/tools/ant/util/DOMElementWriter.java:277
↓ 3 callers
Method
openExecChannel
Open an ssh channel. @param command the command to use @return the channel @throws JSchException on error
src/main/org/apache/tools/ant/taskdefs/optional/ssh/AbstractSshMessage.java:85
↓ 3 callers
Method
parseDepends
(String depends, String targetName,
src/main/org/apache/tools/ant/Target.java:145
↓ 3 callers
Method
parseFromLocalFileData
Populate data from this array as if it was in local file data. @param buffer the buffer to read data from @param offset offset into buffer to read da
src/main/org/apache/tools/zip/UnparseableExtraFieldData.java:94
↓ 3 callers
Method
parseUri
(final String uri)
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java:414
↓ 3 callers
Method
password
()
src/main/org/apache/tools/ant/listener/MailLogger.java:216
↓ 3 callers
Method
performRotate
Rotate an image. @param image the image to rotate. @return the rotated image.
src/main/org/apache/tools/ant/types/optional/image/Rotate.java:53
↓ 3 callers
Method
performRotate
Rotate an image. @param image the image to rotate. @return the rotated image.
src/main/org/apache/tools/ant/types/optional/imageio/Rotate.java:54
↓ 3 callers
Method
performScale
Scale an image. @param image the image to scale. @return the scaled image.
src/main/org/apache/tools/ant/types/optional/image/Scale.java:109
↓ 3 callers
Method
performScale
Scale an image. @param image the image to scale. @return the scaled image.
src/main/org/apache/tools/ant/types/optional/imageio/Scale.java:107
↓ 3 callers
Method
port
()
src/main/org/apache/tools/ant/listener/MailLogger.java:200
↓ 3 callers
Method
prepareBufferForRead
Prepares a buffer to be read after writing. @param b The buffer
src/main/org/apache/tools/zip/ZipEncodingHelper.java:164
↓ 3 callers
Method
printMessage
Prints the message of the Throwable if it (the message) is not <code>null</code>. @param t Throwable to print the message of. Must not be <c
src/main/org/apache/tools/ant/Main.java:168
↓ 3 callers
Method
printParserInfo
(PrintStream out, String parserType, String parserName, String parserLocation)
src/main/org/apache/tools/ant/Diagnostics.java:534
↓ 3 callers
Method
processBuffer
Converts the buffer to a string and sends it to the project. @param buffer the ByteArrayOutputStream used to collect the output until a line separato
src/main/org/apache/tools/ant/DemuxOutputStream.java:167
↓ 3 callers
Method
processDescriptor
Process a deployment descriptor, generating the necessary vendor specific deployment files. @param descriptorFilename the name of the deployment desc
src/main/org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.java:38
↓ 3 callers
Method
processFile
Perform the replacement on the given file. The replacement is performed on a temporary file which then replaces the original file. @param src the so
src/main/org/apache/tools/ant/taskdefs/Replace.java:642
↓ 3 callers
Method
processIncluded
(final TokenizedPath path, final File file, final List<String> inc, final Lis
src/main/org/apache/tools/ant/DirectoryScanner.java:1344
↓ 3 callers
Method
putNextEntry
Put an entry on the output stream. This writes the entry's header record and positions the output stream for writing the contents of the entry. Once t
src/main/org/apache/tools/tar/TarOutputStream.java:283
↓ 3 callers
Method
read
Reads characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is r
src/main/org/apache/tools/ant/filters/BaseFilterReader.java:81
↓ 3 callers
Method
regexpMatcherPresent
Checks if a RegExp-Matcher is available. @param project The project to check for (may be <code>null</code>) @return <code>true</code> if available ot
src/main/org/apache/tools/ant/util/regexp/RegexpMatcherFactory.java:100
↓ 3 callers
Method
remove
()
src/main/org/apache/tools/ant/types/resources/Resources.java:107
↓ 3 callers
Method
removeElement
(Object o)
src/main/org/apache/tools/ant/util/VectorSet.java:209
↓ 3 callers
Method
replace
Performs the replace operation. @return The position of the last character that was inserted as replacement.
src/main/org/apache/tools/ant/taskdefs/Replace.java:331
↓ 3 callers
Method
request
(final HttpURLConnection http, final URL url)
src/main/org/apache/tools/ant/taskdefs/condition/Http.java:146
↓ 3 callers
Method
resolve
Resolve this class info against the given constant pool. @param constantPool the constant pool with which to resolve the class.
src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ClassCPInfo.java:79
↓ 3 callers
Method
resolve
Resolve this constant pool entry with respect to its dependents in the constant pool. @param constantPool the constant pool of which this entry is a
src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/NameAndTypeCPInfo.java:83
↓ 3 callers
Method
resolve
Resolves a diff-String (@see diff()) against the (inherited) filenames- and files arrays. @param filelist Diff-String @return String containing the
src/tests/junit/org/apache/tools/ant/types/selectors/ModifiedSelectorTest.java:993
↓ 3 callers
Method
restoreSecurityManager
To be used by tasks that just finished executing the parts subject to these permissions. <p> This method is no longer supported in Java 18 and higher
src/main/org/apache/tools/ant/types/Permissions.java:199
↓ 3 callers
Method
rtrimWildcardTokens
removes from a pattern all tokens to the right containing wildcards @param input the input string @return the leftmost part of the pattern without wil
src/main/org/apache/tools/ant/types/selectors/SelectorUtils.java:679
↓ 3 callers
Method
selectBestAddress
(InetAddress bestSoFar, InetAddress current)
src/main/org/apache/tools/ant/taskdefs/HostInfo.java:167
↓ 3 callers
Method
sendAndClose
Sends the message and closes the connection to the server. The MailMessage object cannot be reused. @exception IOException if there's any problem rep
src/main/org/apache/tools/mail/MailMessage.java:333
↓ 3 callers
Method
sendRcpt
(String rcpt)
src/main/org/apache/tools/mail/MailMessage.java:406
↓ 3 callers
Method
setAdaptToClass
Set the assignable class for this definition. @param adaptToClass the assignable class.
src/main/org/apache/tools/ant/AntTypeDefinition.java:121
↓ 3 callers
Method
setAdapterClass
Set the adapter class for this definition. This class is used to adapt the definitions class if required. @param adapterClass the adapterClass.
src/main/org/apache/tools/ant/AntTypeDefinition.java:112
↓ 3 callers
Method
setAlias
The alias to add under. @param alias alias to add under
src/main/org/apache/tools/ant/taskdefs/GenerateKey.java:206
↓ 3 callers
Method
setArg2
Set the second argument @param arg2 the second argument. @since Ant 1.8
src/main/org/apache/tools/ant/taskdefs/condition/Equals.java:69
↓ 3 callers
Method
setArgs
Deprecated: use nested arg instead. Set the command line arguments for the class. @param s arguments. @ant.attribute ignore="true"
src/main/org/apache/tools/ant/taskdefs/Java.java:434
↓ 3 callers
Method
setAssertions
Add an assertion set to the command. @param assertions assertions to make.
src/main/org/apache/tools/ant/types/CommandlineJava.java:312
↓ 3 callers
Method
setAttribute
Sets the named attribute in the given element, which is part of the given project. @param p The project containing the element. This is used when fil
src/main/org/apache/tools/ant/IntrospectionHelper.java:392
↓ 3 callers
Method
setAttributes
Sets the attributes for the wrapped element. @param attributes List of attributes defined in the XML for this element. May be <code
src/main/org/apache/tools/ant/RuntimeConfigurable.java:271
↓ 3 callers
Method
setBuildFile
sets the build file to which the XML context belongs @param buildFile ant build file
src/main/org/apache/tools/ant/helper/AntXMLContext.java:124
↓ 3 callers
Method
setCache
Set whether to cache collections. @param b {@code boolean} cache flag. @since Ant 1.8.0
src/main/org/apache/tools/ant/types/resources/Resources.java:137
↓ 3 callers
Method
setCentralDirectoryExtra
Sets the central directory part of extra fields. @param b {@code boolean}
src/main/org/apache/tools/zip/ZipEntry.java:551
↓ 3 callers
Method
setCharset
(final String charset)
src/main/org/apache/tools/ant/taskdefs/email/JakartaMimeMailer.java:121
↓ 3 callers
Method
setCharset
(final String charset)
src/main/org/apache/tools/ant/taskdefs/email/MimeMailer.java:123
↓ 3 callers
Method
setClasspath
Set the classpath to be used for this compilation. @param classpath the classpath used for this compilation
src/main/org/apache/tools/ant/taskdefs/Rmic.java:282
↓ 3 callers
Method
setComment
Set the file comment. @param comment the comment
src/main/org/apache/tools/zip/ZipOutputStream.java:859
↓ 3 callers
Method
setComparator
Set the comparator type to use. @param name an enumerated comparator type.
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:943
↓ 3 callers
Method
setComparator
Set the comparator to be used as sorting criterion. @param comparator the comparator to set
src/main/org/apache/tools/ant/filters/SortFilter.java:293
↓ 3 callers
Method
setCurrentTargets
Set the map of the targets in the current source file. @param currentTargets a map of targets.
src/main/org/apache/tools/ant/helper/AntXMLContext.java:408
↓ 3 callers
Method
setDebugOutput
If true, enables debugging output when ejbc is executed. @param debugOutput A boolean indicating if debugging output should be gen
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbc.java:178
↓ 3 callers
Method
setDefaultexcludes
Sets whether default exclusions should be used or not. @param useDefaultExcludes "true"|"on"|"yes" when default exclusions
src/main/org/apache/tools/ant/taskdefs/Chmod.java:151
↓ 3 callers
Method
setDestdir
Sets the base directory to output the generated files. @param destdir the base directory to output the generated files. @since Ant 1.8.0
src/main/org/apache/tools/ant/taskdefs/Rmic.java:161
↓ 3 callers
Method
setDir
Set the working directory of the process. @param d working directory.
src/main/org/apache/tools/ant/taskdefs/Java.java:564
↓ 3 callers
Method
setDynamicAttribute
Set a named attribute to the given value @param name the name of the attribute @param value the new value of the attribute @throws BuildException whe
src/main/org/apache/tools/ant/DynamicAttribute.java:35
↓ 3 callers
Method
setElementTag
Set the element tag. @param elementTag The tag name generating this element.
src/main/org/apache/tools/ant/RuntimeConfigurable.java:430
↓ 3 callers
Method
setError
(boolean err)
src/main/org/apache/tools/ant/taskdefs/JikesOutputParser.java:163
↓ 3 callers
Method
setErrorStream
sets a stream to which the stderr from the cvs exe should go @param errorStream an output stream willing to process stderr
src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java:223
↓ 3 callers
Method
setExecutable
We don't want to expose the executable attribute, so override it. @param e User supplied executable that we won't accept.
src/main/org/apache/tools/ant/taskdefs/optional/unix/Chgrp.java:80
↓ 3 callers
Method
setFile
Set the File for this FileResource. @param f the File to be represented.
src/main/org/apache/tools/ant/types/resources/FileResource.java:96
↓ 3 callers
Method
setFile
Set the name of a single file to be removed. @param file the file to be deleted
src/main/org/apache/tools/ant/taskdefs/Delete.java:140
↓ 3 callers
Method
setFileMode
Set the file mode, defaults to "644". @param fileMode String @since Ant 1.9.5
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java:211
↓ 3 callers
Method
setFiles
Set the filenames attribute. @param filenames a string containing filenames, separated by comma or by whitespace.
src/main/org/apache/tools/ant/types/FileList.java:107
↓ 3 callers
Method
setFork
If true, JVM should be forked for each test. <p>It avoids interference between testcases and possibly avoids hanging the build. this property is app
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:304
↓ 3 callers
Method
setFromUri
(final String fromUri)
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java:538
↓ 3 callers
Method
setHaltOnFailure
(final boolean haltonfailure)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/TestDefinition.java:72
↓ 3 callers
Method
setImplicitTarget
sets the implicit target @param target the implicit target
src/main/org/apache/tools/ant/helper/AntXMLContext.java:297
↓ 3 callers
Method
setIncludeantruntime
Sets whether or not to include ant's own classpath in this task's classpath. Optional; default is <code>true</code>. @param include if true include an
src/main/org/apache/tools/ant/taskdefs/Rmic.java:419
↓ 3 callers
Method
setInternalAttributes
Sets the internal file attributes. @param value an <code>int</code> value @since 1.1
src/main/org/apache/tools/zip/ZipEntry.java:228
↓ 3 callers
Method
setInternalFilename
Set the file name. @param file the filename to use.
src/main/org/apache/tools/ant/taskdefs/optional/sos/SOS.java:186
↓ 3 callers
Method
setInternalLabel
Set the label attribute. @param label the value to use.
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:253
↓ 3 callers
Method
setInternalLocalPath
Set the local path comment attribute. @param localPath the value to use.
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:261
↓ 3 callers
Method
setInternalRecursive
Set the recursive flag. @param recurse if true use the recursive flag on the command line.
src/main/org/apache/tools/ant/taskdefs/optional/sos/SOS.java:194
↓ 3 callers
Method
setInternalVersion
Set the version attribute. @param version the value to use.
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:333
↓ 3 callers
Method
setInternalWritable
Set the writable attribute. @param writable the value to use.
src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSS.java:341
↓ 3 callers
Method
setIsolated
Sets whether this classloader should run in isolated mode. In isolated mode, classes not found on the given classpath will not be referred to the pare
src/main/org/apache/tools/ant/AntClassLoader.java:587
↓ 3 callers
Method
setKeepGoingMode
Set "keep-going" mode. In this mode Ant will try to execute as many targets as possible. All targets that do not depend on failed target(s)
src/main/org/apache/tools/ant/Project.java:897
↓ 3 callers
Method
setKeystore
Keystore location. @param keystore location
src/main/org/apache/tools/ant/taskdefs/GenerateKey.java:215
↓ 3 callers
Method
setLastModified
Override setLastModified. @param lastmodified not used. @throws BuildException always.
src/main/org/apache/tools/ant/types/resources/ResourceDecorator.java:262
↓ 3 callers
Method
setLinkName
Set this entry's link name. @param link the link name to use.
src/main/org/apache/tools/tar/TarEntry.java:432
↓ 3 callers
Method
setLinkedFile
Indicate that this entry is a symbolic link to the given filename. @param name Name of the file this entry links to, empty String if it i
src/main/org/apache/tools/zip/AsiExtraField.java:221
↓ 3 callers
Method
setLocalPath
Override the working directory and get to the specified path. @param path The new localPath value.
src/main/org/apache/tools/ant/taskdefs/optional/sos/SOS.java:167
↓ 3 callers
Method
setLogListener
Set a log listener. @param aListener the log listener
src/main/org/apache/tools/ant/taskdefs/optional/ssh/AbstractSshMessage.java:165
↓ 3 callers
Method
setMessage
A message giving further information on why the build exited. @param value message to output
src/main/org/apache/tools/ant/taskdefs/Exit.java:73
↓ 3 callers
Method
setMillis
Set the date/time in milliseconds since 1970. @param m the number of millis.
src/main/org/apache/tools/ant/types/resources/selectors/Date.java:53
↓ 3 callers
Method
setModTime
Set this entry's modification time. The parameter passed to this method is in "Java time". @param time This entry's new modification time.
src/main/org/apache/tools/tar/TarEntry.java:582
↓ 3 callers
Method
setName
The name of the file, or the pattern for the name, that should be used for selection. @param pattern the file pattern that any filename must match
src/main/org/apache/tools/ant/types/selectors/FilenameSelector.java:78
↓ 3 callers
Method
setName
Set the name of the test class. @param value the name to use.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java:165
← previous
next →
2,001–2,100 of 14,300, ranked by callers