Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for parseInvocation (0.14 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                    throw new IllegalArgumentException(e);
                }
            }
        };
    
        @Test
        void happy() {
            InvokerRequest invokerRequest =
                    subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class))
                            .cwd(Path.of(System.getProperty("userDir")))
                            .userHome(Path.of(System.getProperty("userHome")))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                    saveException(e);
                }
            }
    
            private void mvn(CommandInput input) {
                try {
                    shellMavenInvoker.invoke(mavenParser.parseInvocation(
                            ParserRequest.mvn(input.args(), shellContext.invokerRequest.messageBuilderFactory())
                                    .cwd(shellContext.cwd.get())
                                    .build()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

         * if there are parser errors, this request may not be fully processed and should immediately be failed.
         */
        @Nonnull
        InvokerRequest parseInvocation(@Nonnull ParserRequest parserRequest);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 31 20:56:58 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

                boolean embedded)
                throws IOException {
            try (Invoker invoker = createInvoker()) {
                return invoker.invoke(createParser()
                        .parseInvocation(createParserRequestBuilder(args)
                                .stdIn(stdIn)
                                .stdOut(stdOut)
                                .stdErr(stdErr)
                                .embedded(embedded)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    int exitCode = -1;
                    Exception exception = null;
                    try {
                        exitCode = invoker.invoke(
                                parser.parseInvocation(ParserRequest.mvn(mvnArgs, new JLineMessageBuilderFactory())
                                        .cwd(cwd)
                                        .userHome(userHome)
                                        .stdOut(stdout)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        ParserRequest parserRequest();
    
        /**
         * Flag representing parser processing result: if there were some fatal errors during
         * {@link Parser#parseInvocation(ParserRequest)} this method will return {@code true} and invoker should
         * handle this request as "early failure". In these cases, {@link #options()} usually is absent.
         */
        boolean parsingFailed();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    extra.put("session.rootDirectory", rootDirectory.toString());
                }
                return extra;
            }
        }
    
        @Override
        public InvokerRequest parseInvocation(ParserRequest parserRequest) {
            requireNonNull(parserRequest);
    
            LocalContext context = new LocalContext(parserRequest);
    
            // the basics
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  8. tests/sql_builder_test.go

    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    	date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
    
    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Where("id = ?", 100).Limit(10).Order("age desc").Find(&[]User{})
    	})
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  9. api/go1.1.txt

    pkg time, const Sunday = 0
    pkg time, const Thursday = 4
    pkg time, const Tuesday = 2
    pkg time, const UnixDate = "Mon Jan _2 15:04:05 MST 2006"
    pkg time, const Wednesday = 3
    pkg time, func ParseInLocation(string, string, *Location) (Time, error)
    pkg time, method (*Timer) Reset(Duration) bool
    pkg time, method (Time) Round(Duration) Time
    pkg time, method (Time) Truncate(Duration) Time
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top