Coder Social home page Coder Social logo

Comments (4)

tinesoft avatar tinesoft commented on May 26, 2024

Hi @jyotibhangale

For using the plugin and for reporting the issue.
Can you provide more information about how your workspace are organized?
It seems that your applications and libraries are not directly under apps/ and `libs/ folders (which is expected).

If you are on a unix machine, can you run the "tree" command (from the root of your workspace) and copy-paste the output here ?

Thanks

from nxrocks.

jyotibhangale avatar jyotibhangale commented on May 26, 2024

Hi @tinesoft,
Right, we don't have application and libraries directly under app/, lib/. We have subfolders within it and apps and libs goes under it.
I tried it with just putting applications and lib under apps and libs, but still get same error.
I have api-server under apps and it's pom.xml have dependency for java-api.
java-api exist under libs/java-api
C:.
├───.vscode
├───apps
│ └───api-server
│ ├───.mvn
│ │ └───wrapper
│ └───src
│ ├───main
│ │ ├───docker
│ │ ├───java
│ │ │ └───com
│ │ │ └───test
│ │ │ └───quarkus
│ │ └───resources
│ │ └───META-INF
│ │ └───resources
│ └───test
│ └───java
│ └───com
│ └───test
│ └───quarkus
├───libs
│ └───java-api
│ ├───.mvn
│ │ └───wrapper
│ └───src
│ ├───main
│ │ ├───docker
│ │ ├───java
│ │ │ └───com
│ │ │ └───test
│ │ │ └───quarkus
│ │ └───resources
│ │ └───META-INF
│ │ └───resources
│ └───test
│ └───java
│ └───com
│ └───test
│ └───quarkus

nx dep-graph
[nx-quarkus]: Looking Quarkus related projects inside the workspace...
[nx-quarkus]: Adding dependencies for project 'api-server'...
Error: Source project api-server does not have a file: apps\api-server\pom.xml
at ProjectGraphBuilder.addExplicitDependency (C:\Users\test\nxq-demo\quarkus-test\node_modules@nrwl\devkit\src\project-graph\project-graph-builder.js:101:19)
at C:\Users\test\nxq-demo\quarkus-test\node_modules@nxrocks\nx-quarkus\src\project-graph.js:53:21
at Array.forEach ()
at addDependenciesForProject (C:\Users\test\nxq-demo\quarkus-test\node_modules@nxrocks\nx-quarkus\src\project-graph.js:50:30)
at C:\Users\test\nxq-demo\quarkus-test\node_modules@nxrocks\nx-quarkus\src\project-graph.js:64:9
at Array.forEach ()
at Object.processProjectGraph (C:\Users\test\nxq-demo\quarkus-test\node_modules@nxrocks\nx-quarkus\src\project-graph.js:63:40)

So I was doing little more debugging on this and found that it's just path separator causing problem. In my case I am running it on windows: and path for pom is this apps\api-server\pom.xml but plugin actually verifies it with path
apps/api-server/pom.xml
ProjectGraphBuilder.ProjectGraph have FileData and within it, files have / as path separator. I haven't reached to why FileData have / as path Seperator.

from nxrocks.

jyotibhangale avatar jyotibhangale commented on May 26, 2024

Hi @tinesoft ,

I see that with latest code changes, I don't see this particular issue, do I need to get latest plugin build in order to fix it for me?

from nxrocks.

tinesoft avatar tinesoft commented on May 26, 2024

Seems fixed by https://github.com/tinesoft/nxrocks/releases/tag/nx-quarkus%2Fv2.1.0

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.