Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for CommandLineArgumentException (0.59 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/BuildEnvironmentConfigurationConverter.java

     */
    
    package org.gradle.launcher.cli;
    
    import org.gradle.api.internal.StartParameterInternal;
    import org.gradle.api.internal.file.FileCollectionFactory;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.initialization.layout.BuildLayoutFactory;
    import org.gradle.jvm.toolchain.internal.ToolchainConfiguration;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/commandline/CommandLineTaskConfigurer.java

    import org.gradle.api.internal.tasks.TaskOptionsGenerator.TaskOptions;
    import org.gradle.api.internal.tasks.options.OptionDescriptor;
    import org.gradle.api.internal.tasks.options.OptionReader;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.cli.ParsedCommandLineOption;
    import org.gradle.internal.service.scopes.Scope;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.buildoption
    
    import org.gradle.cli.CommandLineArgumentException
    import spock.lang.Specification
    
    class BuildOptionTest extends Specification {
        private static final String VALUE = '0'
        private static final String HINT = 'must be positive'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/LoggingCommandLineConverterTest.groovy

    import org.gradle.api.logging.configuration.ConsoleOutput
    import org.gradle.api.logging.configuration.ShowStacktrace
    import org.gradle.api.logging.configuration.WarningMode
    import org.gradle.cli.CommandLineArgumentException
    import spock.lang.Specification
    
    class LoggingCommandLineConverterTest extends Specification {
        def converter = new LoggingConfigurationBuildOptions().commandLineConverter()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

            1 * executionListener.onFailure({it instanceof CommandLineArgumentException})
            0 * executionListener._
        }
    
        def "reports failure to build action due to command-line parse failure"() {
            def failure = new CommandLineArgumentException("<broken>")
    
            when:
            def commandLineExecution = factory.convert(['--some-option'])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/cli/src/main/java/org/gradle/cli/AbstractPropertiesCommandLineConverter.java

            option.hasDescription(getPropertyOptionDescription());
        }
    
        @Override
        public Map<String, String> convert(ParsedCommandLine options, Map<String, String> properties) throws CommandLineArgumentException {
            for (String keyValueExpression : options.option(getPropertyOption()).getValues()) {
                int pos = keyValueExpression.indexOf("=");
                if (pos < 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderStartParameterConverter.java

     * limitations under the License.
     */
    package org.gradle.tooling.internal.provider;
    
    import org.gradle.TaskExecutionRequest;
    import org.gradle.api.internal.StartParameterInternal;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.internal.DefaultTaskExecutionRequest;
    import org.gradle.launcher.configuration.AllProperties;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/cli/src/main/java/org/gradle/cli/AbstractCommandLineConverter.java

     */
    package org.gradle.cli;
    
    public abstract class AbstractCommandLineConverter<T> implements CommandLineConverter<T> {
        @Override
        public T convert(Iterable<String> args, T target) throws CommandLineArgumentException {
            CommandLineParser parser = new CommandLineParser();
            configure(parser);
            return convert(parser.parse(args), target);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 985 bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

    import org.gradle.api.launcher.cli.WelcomeMessageConfiguration;
    import org.gradle.api.launcher.cli.WelcomeMessageDisplayMode;
    import org.gradle.api.logging.configuration.LoggingConfiguration;
    import org.gradle.cli.CommandLineArgumentException;
    import org.gradle.cli.CommandLineParser;
    import org.gradle.cli.ParsedCommandLine;
    import org.gradle.configuration.DefaultBuildClientMetaData;
    import org.gradle.configuration.GradleLauncherMetaData;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.cli.CommandLineArgumentException> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (CommandLineArgumentException.java:0)
    Class <org.gradle.cli.CommandLineConverter> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (CommandLineConverter.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top