maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1623) TempWmicBatchFile.bat is left in project dirs after surefire tests are run
Date Fri, 01 Feb 2019 08:28:00 GMT

    [ https://issues.apache.org/jira/browse/SUREFIRE-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758087#comment-16758087
] 

Tibor Digana commented on SUREFIRE-1623:
----------------------------------------

[~ChrisGWarp]
Regarding driver, the {{WMIC}} is run without path to {{WMIC}}. It should be in PATH.
The path might be {{%SystemRoot%\\System32\Wbem\wmic.exe}} used directly in command (not the
CWD) if exist; otherwise {{CMD /A /X /C wmic process where (ProcessId=123) get CreationDate}}.
What you mean by {{driver for the change }}? What change? The {{CreationDate}}?

> TempWmicBatchFile.bat is left in project dirs after surefire tests are run
> --------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1623
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1623
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 3.0.0-M3
>            Reporter: Chris Graham
>            Priority: Blocker
>
> WINDOWS ONLY:
> When the WMIC command it run to obtain the process start time, the current implementation
leaves behind a batch file, TempWmicBatchFile.bat, which is zero bytes long.
> This file needs to be removed post execution.
> Leaving it behind will interfere with the release plugin as a scm status call will fail
with files needing to be added. Simply ignoring the file is a very sloppy approach.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message