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
setNegate
Set the negation mode. Default false (no negation). @param b the boolean negation mode to set.
src/main/org/apache/tools/ant/filters/LineContainsRegExp.java:198
↓ 3 callers
Method
setNewenvironment
Set whether to propagate the default environment or not. @param newenv whether to propagate the process environment.
src/main/org/apache/tools/ant/taskdefs/Execute.java:328
↓ 3 callers
Method
setParentFirst
Control whether class lookup is delegated to the parent loader first or after this loader. Use with extreme caution. Setting this to false violates th
src/main/org/apache/tools/ant/AntClassLoader.java:420
↓ 3 callers
Method
setParentFirst
Set reverse attribute. @param b if true reverse the normal classloader lookup.
src/main/org/apache/tools/ant/taskdefs/Classloader.java:107
↓ 3 callers
Method
setPolyType
Set the polymorphic type for this element. @param polyType the ant component type name, null if not set.
src/main/org/apache/tools/ant/RuntimeConfigurable.java:260
↓ 3 callers
Method
setPort
Set the smtp port. @param port the SMTP port.
src/main/org/apache/tools/ant/taskdefs/email/Mailer.java:73
↓ 3 callers
Method
setPositive
Set the positive flag. @param positive the value to use.
src/main/org/apache/tools/ant/attribute/BaseIfAttribute.java:41
↓ 3 callers
Method
setPreRelease
Sets this element's pre-release version. This can be any value which doesn't contain an ASCII plus ({@code +}). @param pre pre-release version, or {
src/main/org/apache/tools/ant/types/ModuleVersion.java:85
↓ 3 callers
Method
setProjectOnObject
helper method to set the project on an object. the reflection setProject does not work for anonymous/protected/private classes, even if they have publ
src/main/org/apache/tools/ant/filters/util/ChainReaderHelper.java:269
↓ 3 callers
Method
setProperty
set a system property, optionally log what is going on @param name property name @param value value
src/main/org/apache/tools/ant/launch/Launcher.java:399
↓ 3 callers
Method
setProperty
(String name, String value)
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:1137
↓ 3 callers
Method
setProperty
helper that encapsulates prefix logic and property setting policy (i.e. we use setNewProperty instead of setProperty).
src/main/org/apache/tools/ant/taskdefs/Tstamp.java:140
↓ 3 callers
Method
setRetainSource
If true, the Java source files which are generated by the ejbc process are retained. @param retainSource A boolean indicating if the Java source file
src/main/org/apache/tools/ant/taskdefs/optional/ejb/IPlanetEjbc.java:168
↓ 3 callers
Method
setSeldirs
Support for <i>seldirs</i> attribute. @param seldirs new value
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:574
↓ 3 callers
Method
setSrcResource
Set the source Archive file for the archivefileset. Prevents both "dir" and "src" from being specified. @param src The archive from which to extract
src/main/org/apache/tools/ant/types/ArchiveFileSet.java:153
↓ 3 callers
Method
setSrcResource
Set the source resource attribute. @param src the source file @since Ant 1.7
src/main/org/apache/tools/ant/taskdefs/SQLExec.java:1020
↓ 3 callers
Method
setStroke
Set the stroke attribute. @param col the color value to use.
src/main/org/apache/tools/ant/types/optional/image/BasicShape.java:44
↓ 3 callers
Method
setStroke
Set the stroke attribute. @param col the color value to use.
src/main/org/apache/tools/ant/types/optional/imageio/BasicShape.java:59
↓ 3 callers
Method
setSystem
Set the System file attribute. @param value a <code>boolean</code> value
src/main/org/apache/tools/ant/taskdefs/optional/windows/Attrib.java:81
↓ 3 callers
Method
setTask
Set the task which owns this tool @param task the task.
src/main/org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.java:51
↓ 3 callers
Method
setTodir
Sets the destination directory. @param destDir the destination directory.
src/main/org/apache/tools/ant/taskdefs/optional/junit/BaseTest.java:187
↓ 3 callers
Method
setURI
Set the URI for this antlib. @param uri the namespace uri
src/main/org/apache/tools/ant/taskdefs/Antlib.java:136
↓ 3 callers
Method
setURIResolver
Set the class to resolve URIs during the transformation @param aResolver a <code>EntityResolver</code> value
src/main/org/apache/tools/ant/taskdefs/optional/TraXLiaison.java:490
↓ 3 callers
Method
setURL
Set the URL for this URLResource. @param u the URL to expose.
src/main/org/apache/tools/ant/types/resources/URLResource.java:93
↓ 3 callers
Method
setUpFixture2
()
src/tests/junit/org/apache/tools/bzip2/BlockSortTest.java:141
↓ 3 callers
Method
setUpdate
Support for <i>update</i> attribute. @param update new value
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:565
↓ 3 callers
Method
setValue
(final String value)
src/main/org/apache/tools/ant/util/LayoutPreservingProperties.java:694
↓ 3 callers
Method
setWithOutAndErr
Set where standard out and standard error should be included. @param value if true include the outputs in the summary.
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskMirror.java:96
↓ 3 callers
Method
setupBlock
()
src/main/org/apache/tools/bzip2/CBZip2InputStream.java:838
↓ 3 callers
Method
setupJUnitDelegate
Sets up the delegate that will actually run the tests. <p>Will be invoked implicitly once the delegate is needed.</p> @since Ant 1.7.1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:807
↓ 3 callers
Method
setupJavacCommandlineSwitches
Get the command line arguments for the switches. @param cmd the command line @return the command line
src/main/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapter.java:247
↓ 3 callers
Method
shouldIgnoreInvalidRecipients
Whether invalid recipients should be ignored. @return boolean @since Ant 1.8.0
src/main/org/apache/tools/ant/taskdefs/email/Mailer.java:288
↓ 3 callers
Method
shouldUse
Ensures that the selector passes the conditions placed on it with <code>if</code> and <code>unless</code> properties. @param t the task the this forma
src/main/org/apache/tools/ant/taskdefs/optional/junit/FormatterElement.java:256
↓ 3 callers
Method
skip
Skips characters. This method will block until some characters are available, an I/O error occurs, or the end of the stream is reached. @param n T
src/main/org/apache/tools/ant/filters/BaseFilterReader.java:108
↓ 3 callers
Method
ssl
()
src/main/org/apache/tools/ant/listener/MailLogger.java:224
↓ 3 callers
Method
storeToFile
(final byte[] data, final int offset, final int length)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/AbstractJUnitResultFormatter.java:256
↓ 3 callers
Method
streamArchives
()
src/main/org/apache/tools/ant/types/resources/Archives.java:161
↓ 3 callers
Method
subject
()
src/main/org/apache/tools/ant/listener/MailLogger.java:272
↓ 3 callers
Method
testAssumptionFailure
Receive a report that a test has failed an assumption. Within JUnit4 this is normally treated as a test being skipped, although how any listener handl
src/main/org/apache/tools/ant/taskdefs/optional/junit/IgnoredTestListener.java:51
↓ 3 callers
Method
testIgnored
Reports when a test has been marked with the @Ignore annotation. The parameter should normally be typed to JUnit's {@link junit.framework.JUnit4TestCa
src/main/org/apache/tools/ant/taskdefs/optional/junit/IgnoredTestListener.java:39
↓ 3 callers
Method
testRealTest
()
src/tests/junit/org/apache/tools/ant/taskdefs/GUnzipTest.java:65
↓ 3 callers
Method
testWithSingleByteRead
(final String testString, final String charsetName)
src/tests/junit/org/apache/tools/ant/util/ReaderInputStreamTest.java:154
↓ 3 callers
Method
toBuildException
A method to convert an invocationTargetException to a BuildException. @param t the invocation target exception. @return the converted exception. @sinc
src/main/org/apache/tools/ant/util/ReflectUtil.java:187
↓ 3 callers
Method
toCommand
create a full command string from this class @throws BuildException in case of trouble @return The command string
src/main/org/apache/tools/ant/types/Assertions.java:306
↓ 3 callers
Method
toFileArray
Return a <code>File[]</code> from the specified set of filenames. @param name <code>String[]</code> @return <code>File[]</code>.
src/main/org/apache/tools/ant/types/RedirectorElement.java:570
↓ 3 callers
Method
toForkedRepresentation
(final XMLStreamWriter writer)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/ListenerDefinition.java:196
↓ 3 callers
Method
toString
Get a string description. @return the command line as a string.
src/main/org/apache/tools/ant/types/CommandlineJava.java:580
↓ 3 callers
Method
toString
@return The original path String
src/main/org/apache/tools/ant/types/selectors/TokenizedPath.java:91
↓ 3 callers
Method
toString
Returns a string representation of the object for error messages and the like @return a string representation of the object.
src/main/org/apache/tools/ant/taskdefs/optional/SchemaValidate.java:494
↓ 3 callers
Method
toString
Gets a String containing filename and difference from previous version @return a string representation of this CVSTagEntry
src/main/org/apache/tools/ant/taskdefs/cvslib/CvsTagEntry.java:92
↓ 3 callers
Method
topoSort
Topologically sort a set of targets. Equivalent to calling <code>topoSort(new String[] {root}, targets, true)</code>. @param root The name of the ro
src/main/org/apache/tools/ant/Project.java:1772
↓ 3 callers
Method
touch
Method called to "touch" the resource. @param modTime the time to set the modified "field" of the resource, measured in milliseconds si
src/main/org/apache/tools/ant/types/resources/Touchable.java:31
↓ 3 callers
Method
trackProgress
Track progress every 10% if 100kb < filesize < 1Mb. For larger files track progress for every percent transmitted. @param filesize the size of t
src/main/org/apache/tools/ant/taskdefs/optional/ssh/AbstractSshMessage.java:221
↓ 3 callers
Method
traverseAndFindTestClass
(final TestPlan testPlan, final TestIdentifier testIdentifier)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/AbstractJUnitResultFormatter.java:144
↓ 3 callers
Method
trimSeparator
Remove trailing slash if present. @param s the file name to trim. @return the trimmed file name.
src/main/org/apache/tools/ant/types/ArchiveScanner.java:361
↓ 3 callers
Method
tryToSetAParameter
Try to set a value on an object using reflection. Helper method for easier access to IntrospectionHelper.setAttribute(). @param obj the object on whic
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:759
↓ 3 callers
Method
updateDataTypeDefinition
Update the component definition table with a new or modified definition. @param def the definition to update or insert.
src/main/org/apache/tools/ant/ComponentHelper.java:700
↓ 3 callers
Method
user
()
src/main/org/apache/tools/ant/listener/MailLogger.java:208
↓ 3 callers
Method
validateFile
verify that the file exists, if {@link #validate} is set @param fileToCheck file that may need to exist @throws BuildException with text beginning {@
src/main/org/apache/tools/ant/taskdefs/MakeUrl.java:216
↓ 3 callers
Method
validateRemoteUri
(final String type, final String aToUri)
src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java:166
↓ 3 callers
Method
valueOf
(String name)
src/main/org/apache/tools/ant/ProjectHelper.java:146
↓ 3 callers
Method
vectorToList
(Vector<String> v)
src/main/org/apache/tools/mail/MailMessage.java:313
↓ 3 callers
Method
verifyLaunchersExist
()
src/tests/junit/org/apache/tools/ant/taskdefs/modules/LinkTest.java:229
↓ 3 callers
Method
verifyLocales
()
src/tests/junit/org/apache/tools/ant/taskdefs/modules/LinkTest.java:273
↓ 3 callers
Method
waitForString
Read from the rexec session until the string we are waiting for is found @param s The string to wait on
src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java:194
↓ 3 callers
Method
waitForString
Read from the telnet session until the string we are waiting for is found @param s The string to wait on
src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java:336
↓ 3 callers
Method
wrapStream
Get a content-filtering/transforming InputStream. @param in InputStream to wrap, will never be null. @return a compressed InputStream. @throws IOExce
src/main/org/apache/tools/ant/types/resources/ContentTransformingResource.java:152
↓ 3 callers
Method
write
Write the manifest out to a print writer without flattening multi-values attributes (i.e. Class-Path). @param writer the Writer to which the manifest
src/main/org/apache/tools/ant/taskdefs/Manifest.java:947
↓ 3 callers
Method
writeBlock
Write a TarBuffer block to the archive.
src/main/org/apache/tools/tar/TarBuffer.java:403
↓ 3 callers
Method
writeRun
Writes the current byte to the buffer, run-length encoding it if it has been repeated at least four times (the first step RLEs sequences of four ident
src/main/org/apache/tools/bzip2/CBZip2OutputStream.java:668
↓ 3 callers
Method
zipDir
Add a directory to the zip stream. @param dir the directory to add to the archive @param zOut the stream to write to @param vPath the name this entry
src/main/org/apache/tools/ant/taskdefs/Zip.java:1649
↓ 3 callers
Method
zipFile
Overridden from Zip class to deal with manifests and index lists. @param is the stream to read data for the entry from. The caller of the method is r
src/main/org/apache/tools/ant/taskdefs/Jar.java:701
↓ 2 callers
Method
accountForIncludedDir
Process included directory. @param name path of the directory relative to the directory of the FileSet. @param file directory as File. @pa
src/main/org/apache/tools/ant/DirectoryScanner.java:1315
↓ 2 callers
Method
accountForIncludedDir
@param name path of the directory relative to the directory of the fileset @param file directory as file @param fast boolean
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java:603
↓ 2 callers
Method
accountForIncludedDir
@param name path of the directory relative to the directory of the fileset @param file directory as file @param fast boolean
src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTaskMirrorImpl.java:478
↓ 2 callers
Method
accountForIncludedFile
Process included file. @param name path of the file relative to the directory of the FileSet. @param file included File.
src/main/org/apache/tools/ant/DirectoryScanner.java:1303
↓ 2 callers
Method
accountForNotFollowedSymlink
(final String name, final File file)
src/main/org/apache/tools/ant/DirectoryScanner.java:1333
↓ 2 callers
Method
actOnTestResult
Logs information about failed tests, potentially stops processing (by throwing a BuildException) if a failure/error occurred or sets a property. @para
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:2185
↓ 2 callers
Method
add
Add a chainfilter filter. @param filter a <code>ChainableReader</code> value @since Ant 1.6
src/main/org/apache/tools/ant/types/FilterChain.java:390
↓ 2 callers
Method
add
Add the ResourceComparator to reverse. @param c the ResourceComparator to add.
src/main/org/apache/tools/ant/types/resources/comparators/Reverse.java:57
↓ 2 callers
Method
add
Add a FileSet. @param fs the <code>FileSet</code> to add.
src/main/org/apache/tools/ant/taskdefs/Length.java:89
↓ 2 callers
Method
add
Add a <code>FileNameMapper</code>. @param fileNameMapper a <code>FileNameMapper</code>. @throws IllegalArgumentException if attempting to add this
src/main/org/apache/tools/ant/util/ContainerMapper.java:65
↓ 2 callers
Method
addAddFile
Adds a file to be added into the output. @param fileToAdd the file to add to the output.
src/main/org/apache/tools/ant/taskdefs/optional/jlink/jlink.java:87
↓ 2 callers
Method
addAnd
add an "And" selector entry on the selector list @param selector the selector to add
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:80
↓ 2 callers
Method
addArgIfNotEmpty
Utility method to add a Javadoc argument. @param key the argument name. @param value the argument value.
src/main/org/apache/tools/ant/taskdefs/Javadoc.java:425
↓ 2 callers
Method
addArgumentsToList
Append all the arguments to the tail of a supplied list. @param list the list of arguments. @since Ant 1.6
src/main/org/apache/tools/ant/types/Commandline.java:406
↓ 2 callers
Method
addBuildEvent
(final String message, final int priority)
src/tests/junit/org/apache/tools/ant/MockBuildListener.java:71
↓ 2 callers
Method
addClasspath
Add the classpath. @param path the classpath
src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java:628
↓ 2 callers
Method
addClasspathResource
Implementation of addClasspathEntry. @param resource resource that one wants to lookup @return true if something was in fact added @since Ant 1.7.1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java:1818
↓ 2 callers
Method
addConfiguredBaseDir
Adds a basedir as nested element. @param r basedir
src/main/org/apache/tools/ant/types/resources/MultiRootFileSet.java:93
↓ 2 callers
Method
addConfiguredListener
(final ListenerDefinition listener)
src/main/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/TestDefinition.java:84
↓ 2 callers
Method
addConfiguredRevoke
Adds a permission to be revoked. @param perm The Permissions.Permission to be revoked
src/main/org/apache/tools/ant/types/Permissions.java:97
↓ 2 callers
Method
addConfiguredSection
Add a section to the manifest @param section the manifest section to be added @exception ManifestException if the secti0on is not valid.
src/main/org/apache/tools/ant/taskdefs/Manifest.java:840
↓ 2 callers
Method
addConfiguredXMLCatalog
Loads a nested <code><xmlcatalog></code> into our definition. Not allowed if this catalog is itself a reference to another catalog -- that is,
src/main/org/apache/tools/ant/types/XMLCatalog.java:326
↓ 2 callers
Method
addContains
add a contains selector entry on the selector list @param selector the selector to add
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:134
↓ 2 callers
Method
addContainsRegexp
add a regular expression selector entry on the selector list @param selector the selector to add
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:158
↓ 2 callers
Method
addCustom
add an extended selector entry on the selector list @param selector the selector to add
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:128
↓ 2 callers
Method
addDataTypeDefinition
Adds a new datatype definition. Attempting to override an existing definition with an equivalent one (i.e. with the same classname) results in a verbo
src/main/org/apache/tools/ant/ComponentHelper.java:467
↓ 2 callers
Method
addDate
add a selector date entry on the selector list @param selector the selector to add
src/main/org/apache/tools/ant/types/selectors/SelectorContainer.java:110
↓ 2 callers
Method
addDefinition
Add a definition using the attributes of Definer @param al the ClassLoader to use @param name the name of the definition @param classname the classna
src/main/org/apache/tools/ant/taskdefs/Definer.java:561
← previous
next →
2,101–2,200 of 14,300, ranked by callers