- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for logFile (0.05 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
try (Invoker<R> invoker = createInvoker()) { for (String goal : goals) { Path logFile = cwd.resolve(goal + "-build.log").toAbsolutePath(); int exitCode = invoker.invoke(parser.parse(ParserRequest.mvn( List.of("-l", logFile.toString(), goal), new ProtoLogger(), new JLineMessageBuilderFactory())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
O options = context.invokerRequest.options(); if (options.logFile().isPresent()) { Path logFile = context.cwdResolver.apply(options.logFile().get()); try { PrintWriter printWriter = new PrintWriter(Files.newBufferedWriter(logFile)); context.closeables.add(printWriter); return printWriter::println;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
public Optional<String> altInstallationToolchains() { return returnFirstPresentOrEmpty(Options::altInstallationToolchains); } @Override public Optional<String> logFile() { return returnFirstPresentOrEmpty(Options::logFile); } @Override public Optional<Boolean> rawStreams() { return returnFirstPresentOrEmpty(Options::rawStreams); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
/** * Returns the path to the log file. * * @return an {@link Optional} containing the file path, or empty if not set */ @Nonnull Optional<String> logFile(); /** * Returns whether raw streams should be logged. * * @return a boolean indicating whether raw streams should be logged */ @Nonnull Optional<Boolean> rawStreams();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 22 14:53:58 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
// LOG STREAMS if (commandLine.hasOption(CLIManager.LOG_FILE)) { File logFile = new File(commandLine.getOptionValue(CLIManager.LOG_FILE)); logFile = resolveFile(logFile, cliRequest.workingDirectory); // redirect stdout and stderr to file try { PrintStream ps = new PrintStream(new FileOutputStream(logFile)); System.setOut(ps);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
public static final String PROJECT_LIST = "pl"; public static final String ALSO_MAKE = "am"; public static final String ALSO_MAKE_DEPENDENTS = "amd"; public static final String LOG_FILE = "l"; public static final String ENCRYPT_MASTER_PASSWORD = "emp"; public static final String ENCRYPT_PASSWORD = "ep"; public static final String THREADS = "T";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0)