Coder Social home page Coder Social logo

Run arguments on project level are not pass to ./mvnw spring-boot:run only the ones that are coded to the project.json about nxrocks HOT 5 CLOSED

SchwarzAmihay avatar SchwarzAmihay commented on July 21, 2024
Run arguments on project level are not pass to ./mvnw spring-boot:run only the ones that are coded to the project.json

from nxrocks.

Comments (5)

SchwarzAmihay avatar SchwarzAmihay commented on July 21, 2024 1

Thank you @tinesoft .
I am using the webstorm with the official plugin https://plugins.jetbrains.com/plugin/21060-nx-console.

It appears that adding --args="-Dspring-boot.run.jvmArguments='........'" solves the problem, there is another problem that commas , are not excepted inside but after replacing it with ; it all works.

You can go ahead and close this issue,
Thank you

from nxrocks.

tinesoft avatar tinesoft commented on July 21, 2024

Hi @SchwarzAmihay

First of all, I apologised for the (very) late answer... somehow it got off my radar and I didn't noticed it until now.

Could you try wrapping your options into --args="<YOUR OPTIONS HERE>", which is the expected format to send additional args to the executor.

from nxrocks.

SchwarzAmihay avatar SchwarzAmihay commented on July 21, 2024

Hi @tinesoft, thank you for getting back.
I did as you suggested and still it didn't work

from nxrocks.

tinesoft avatar tinesoft commented on July 21, 2024

Humm 🤔

Can you try running the same task directly, via a command line:

npx nx run back-ends-insights:run --args="<Your Options Here>"

Also, I'm not familiar with "Edit Run/Debug configuration" dialog you showcased in your first post...

  • Where is it coming from?
  • I suppose you are using Intellij IDEA? Which version ?
  • Are you using a custom Nx Console plugin too or the official one (from @nrwl)?

from nxrocks.

tinesoft avatar tinesoft commented on July 21, 2024

I'm glad I could help!

Don't hesitate to ⭐ the project, it helps me too ;-)

from nxrocks.

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.