congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CommandlineJava$SysProperties
Code IndexAdd Tabnine to your IDE (free)

How to use
CommandlineJava$SysProperties
in
org.apache.tools.ant.types

Best Java code snippets using org.apache.tools.ant.types.CommandlineJava$SysProperties (Showing top 20 results out of 315)

origin: apache/groovy

final String[] strings = getSysProperties().getVariables();
if (strings != null) {
  for (String prop : strings) {
origin: org.apache.ant/ant

setupLoader();
if (sysProperties.size() > 0) {
  sysProperties.setSystem();
  loader = null;
if (sysProperties.size() > 0) {
  sysProperties.restoreSystem();
origin: org.apache.ant/ant

sysProperties.addDefinitionsToList(listIterator);
  SysProperties clonedSysProperties = new SysProperties();
  PropertySet ps = new PropertySet();
  PropertySet.BuiltinPropertySetName sys = new PropertySet.BuiltinPropertySetName();
  sys.setValue("system");
  ps.appendBuiltin(sys);
  clonedSysProperties.addSyspropertyset(ps);
  clonedSysProperties.addDefinitionsToList(listIterator);
origin: org.daisy.libs/com.xmlcalabash

if (sysProperties.size() > 0) {
  sysProperties.setSystem();
mapper = null;
force = false;
if (sysProperties.size() > 0) {
  sysProperties.restoreSystem();
  sysProperties = new CommandlineJava.SysProperties();
origin: com.xmlcalabash/xmlcalabash

if (sysProperties.size() > 0) {
  sysProperties.setSystem();
mapper = null;
force = false;
if (sysProperties.size() > 0) {
  sysProperties.restoreSystem();
  sysProperties = new CommandlineJava.SysProperties();
origin: axis/axis-ant

    commandline.getSystemProperties();
if (sysProperties != null) {
  sysProperties.setSystem();
} finally {
  if (sysProperties != null) {
    sysProperties.restoreSystem();
origin: axis/axis-ant

    commandline.getSystemProperties();
if (sysProperties != null) {
  sysProperties.setSystem();
} finally {
  if (sysProperties != null) {
    sysProperties.restoreSystem();
origin: org.apache.ant/ant-junit

    getCommandline().getSystemProperties();
if (sysProperties != null) {
  sysProperties.setSystem();
} finally {
  if (sysProperties != null) {
    sysProperties.restoreSystem();
origin: org.codehaus.groovy/groovy-ant

final String[] strings = getSysProperties().getVariables();
if (strings != null) {
  for (String prop : strings) {
origin: org.codehaus.groovy/groovy-all-minimal

final String[] strings = getSysProperties().getVariables();
for (int i = 0; i < strings.length; i++) {
  String string = strings[i];
origin: org.kohsuke.droovy/groovy

final String[] strings = getSysProperties().getVariables();
for (int i = 0; i < strings.length; i++) {
  String string = strings[i];
origin: com.thinkaurelius.groovy-shaded-asm/groovy-shaded-asm

final String[] strings = getSysProperties().getVariables();
if (strings != null) {
  for (String prop : strings) {
origin: org.codehaus.groovy/groovy-jdk14

final String[] strings = getSysProperties().getVariables();
for (String prop : strings) {
  if (prop.startsWith("-Dgroovy.home=")) {
origin: org.jclouds/jclouds-antcontrib

   && commandLine.getSystemProperties().getVariables() != null
   && commandLine.getSystemProperties().getVariables().length > 0) {
commandBuilder.append(" ").append(
    Joiner.on(' ').join(commandLine.getSystemProperties().getVariables()));
origin: org.jboss.ws/jbossws-common-tools

/**
* Converts array of JVM arguments to ANT SysProperties object.
* 
* @param arguments to be converted.
* @return ANT SysProperties object.
*/
static SysProperties toSystemProperties(final String[] arguments)
{
 final SysProperties retVal = new SysProperties();
 if (arguments != null && arguments.length != 0)
 {
   for (final String argument : arguments)
   {
    if (argument.startsWith("-D"))
    {
      Variable var = AntTaskHelper.toVariable(argument);
      retVal.addVariable(var);
    }
   }
 }
 return retVal;
}
origin: com.xmlcalabash/xmlcalabash

public void addSysproperty(Environment.Variable sysp) {
  sysProperties.addVariable(sysp);
}
origin: org.daisy.libs/com.xmlcalabash

public void addSyspropertyset(PropertySet sysp) {
  sysProperties.addSyspropertyset(sysp);
}
origin: com.xmlcalabash/xmlcalabash

public void addSyspropertyset(PropertySet sysp) {
  sysProperties.addSyspropertyset(sysp);
}
origin: org.daisy.libs/com.xmlcalabash

public void addSysproperty(Environment.Variable sysp) {
  sysProperties.addVariable(sysp);
}
origin: org.apache.ant/ant

try {
  if (sysProperties != null) {
    sysProperties.setSystem();
    sysProperties.restoreSystem();
org.apache.tools.ant.typesCommandlineJava$SysProperties

Javadoc

Specialized Environment class for System properties.

Most used methods

  • getVariables
    Get the properties as an array; this is an override of the superclass, as it evaluates all the prope
  • restoreSystem
    Restore the system properties to the cached value.
  • setSystem
    Cache the system properties and set the system properties to the new values.
  • <init>
  • addVariable
  • addSyspropertyset
    Add a propertyset to the total set.
  • size
    Get the size of the sysproperties instance. This merges all property sets, so is not an O(1) operati
  • addDefinitionsToList
    Add all definitions (including property sets) to a list.
  • addSysproperties
    Add a propertyset to the total set.
  • clone
    Create a deep clone.
  • getVariablesVector
  • mergePropertySets
    Merge all property sets into a single Properties object.
  • getVariablesVector,
  • mergePropertySets

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Path (java.nio.file)
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now