Git Product home page Git Product logo

Comments (4)

gnodet avatar gnodet commented on August 20, 2024

hi, i have a java app that spawn mvn and now i try to replace with mvnd

i got

Fri Feb 02 11:03:41 CET 2024 Feb 02, 2024 11:03:41 AM org.jline.utils.Log logr Fri Feb 02 11:03:41 CET 2024 WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) Fri Feb 02 11:03:41 CET 2024 [main] WARNING org.jline - Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)

as warning, and no log are returned in output.

i start the process with ProcessBuilder pb = new ProcessBuilder(commands); pb.redirectErrorStream(true);

i can say that aside from log mvnd is working

any way to get the log from mvnd?

Isn't it written to the output stream of the spawned process ?

from maven-mvnd.

ramarro123 avatar ramarro123 commented on August 20, 2024

i don'tknow why but no, a simple "mvn clean install" actually build the artifact
but there is no log, i do redir stderr as you can see and then do

proc.getinputstream() (wrapped with a reader) to read it, that should be just right as far as i know.

unfortunately it only display the warning i copied, no other things (that log come from the prog.getinputstream)

from maven-mvnd.

gnodet avatar gnodet commented on August 20, 2024

Try running mvnd in batch mode with -B ?

from maven-mvnd.

ramarro123 avatar ramarro123 commented on August 20, 2024

umm, nope, didn't changed i try with debug mode as well, not sure it apply
"-DconsoleLevel=debug",
"-B",
"clean",
"install"

from maven-mvnd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.