Thanks to visit codestin.com
Credit goes to github.com

Skip to content

对java8、11/go/dotnet等语言的项目执行s build时warn日志内容有误 #916

@jinyang-dev

Description

@jinyang-dev

Describe the bug
对java8、11/go/dotnet等语言的项目执行s build时warn日志内容有误。例如,在java8项目执行s build时,控制台打印:
[2025-03-04 14:58:57][WARN][fcDemo] build is not supported in java11, Using "mvn package -DskipTests" directly with java runtime, assuming you have installed the OpenJDK locally.
[2025-03-04 14:58:57][WARN][fcDemo] build is not supported in java11, Using "GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o target/main main.go" directly with go runtime, assuming you have installed the Golang SDK locally.
[2025-03-04 14:58:57][WARN][fcDemo] build is not supported in java11, Using "dotnet publish -c Release -o ./target" directly with go runtime, assuming you have installed the DotnetCore SDK locally.
[2025-03-04 14:58:57][WARN][fcDemo] build is not supported in java11, you can use --use-sandbox to enter the sandbox container of java11 runtime.

很显然,上述日志只有第一条符合预期。

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows
  • Version: 11

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions