microsoft / azure-devops-intellij

IntelliJ IDEA plug-in for Visual Studio Team Services and Team Foundation Server (TFS)
MIT License
149 stars 94 forks source link

Failed to get changes from command line On IDEA #540

Open Greenplumwine opened 1 year ago

Greenplumwine commented 1 year ago

Hello, developers. First of all, I'm glad you updated Azure Devops to make my Macbook work easily with TFS.But there are some questions, please take care of them.

My Development Environment:

Even though I have the .tfignore file, it still says "Not part of workspace. Please perform a fetch operation on this item."
The error message is as follows:

Failed to get changes from command line. roots=/Users/XXX/Desktop/XXX/Project/BackEnd/*****/product/target/classes/mapper/FileName.xml, /Users/XXX/Desktop/XXX/Project/BackEnd/*****/study/target/classes/mapper/GbrmRunnersMapper.xml, /Users/XXX/Desktop/XXX/Project/BackEnd/*****/study/target/classes/com/smallbox/study/service/impl/GbrmRecommendServiceImpl.class, /Users/XXX/Desktop/XXX/Project/BackEnd/*****/study/target/classes/com/smallbox/study/entity/GbrmRunners.class, /Users/XXX/Desktop/XXX/Project/BackEnd/*****/study/target/classes/com/smallbox/study/query/SaveRunnersParams.class

java.lang.RuntimeException: TF14079: The item  U:\Users\XXX\Desktop\XXX\Project\BackEnd\*****\product\target\classes\mapper\FileName.xml is not part of the workspace. Please perform a get operation on this item.
TF14079: The item  U:\Users\XXX\Desktop\XXX\Project\BackEnd\*****\study\target\classes\mapper\FileName.xml is not part of the workspace. Please perform a get operation on this item.
TF14079: The item  U:\Users\XXX\Desktop\XXX\Project\BackEnd\*****\study\target\classes\com\smallbox\study\service\impl\FileName.class is not part of the workspace. Please perform a get operation on this item.
TF14079: The item  U:\Users\XXX\Desktop\XXX\Project\BackEnd\*****\study\target\classes\com\smallbox\study\entity\FileName.class is not part of the workspace. Please perform a get operation on this item.
TF14079: The item  U:\Users\XXX\Desktop\XXX\Project\BackEnd\*****\study\target\classes\com\smallbox\study\query\FileName.class is not part of the workspace. Please perform a get operation on this item.
    at com.microsoft.alm.plugin.external.commands.Command.throwIfError(Command.java:446)
    at com.microsoft.alm.plugin.external.commands.StatusCommand.throwIfError(StatusCommand.java:96)
    at com.microsoft.alm.plugin.external.commands.StatusCommand.parseOutput(StatusCommand.java:66)
    at com.microsoft.alm.plugin.external.commands.StatusCommand.parseOutput(StatusCommand.java:24)
    at com.microsoft.alm.plugin.external.commands.Command$1.completed(Command.java:182)
    at com.microsoft.alm.plugin.external.ToolRunner$ListenerProxy.completed(ToolRunner.java:306)
    at com.microsoft.alm.plugin.external.ToolRunner$ProcessWaiter.run(ToolRunner.java:344)

I hope you can fix this issue in the next version Have fun every day!