Coder Social home page Coder Social logo

Comments (9)

phillip-kruger avatar phillip-kruger commented on July 18, 2024 1

Let me have a look and get back to you

from quarkus.

quarkus-bot avatar quarkus-bot commented on July 18, 2024

/cc @cescoffier (devui), @phillip-kruger (devui)

from quarkus.

phillip-kruger avatar phillip-kruger commented on July 18, 2024

@Dudeplayz Do you have a reproducer I can look at ?

from quarkus.

Dudeplayz avatar Dudeplayz commented on July 18, 2024

@phillip-kruger I think the issue is another. We created a deployment-common package where the code rests.
So this line

if (deployment == null || !deployment.getFileName().toString().equals("deployment")) {

fails for us, where our path is: /Users/.../deployment-commons/target/classes.

from quarkus.

Dudeplayz avatar Dudeplayz commented on July 18, 2024

@Dudeplayz Do you have a reproducer I can look at ?

I tired to add the Dev UI here: https://github.com/mcollovati/quarkus-hilla/tree/main/deployment-commons/src/main/java/com/github/mcollovati/quarkus/hilla/deployment

The Dev UI processor is above. I don't have an explicit reproducer by now. But I think it relates to the different package naming I mentioned above. I can create one if still needed?

from quarkus.

phillip-kruger avatar phillip-kruger commented on July 18, 2024

Ok, if you can share something that reproduce this I can see if it's possible to accommodate that structure. But if you can change to use the default structure we can probably close here

from quarkus.

Dudeplayz avatar Dudeplayz commented on July 18, 2024

We will discuss it. Is this restriction/behavior documented somewhere? Maybe just check if it begins or contains the deployment phrase instead of equality?

from quarkus.

Dudeplayz avatar Dudeplayz commented on July 18, 2024

But maybe some catching of the null returning root path or more meaningful error message would be helpful there too.

from quarkus.

phillip-kruger avatar phillip-kruger commented on July 18, 2024

I think the way we have done it in Quarkus, is to move common stuff a separate extension. Example: electon security: https://github.com/quarkusio/quarkus/tree/main/extensions

elytron-security-common
elytron-security-jdbc
elytron-security-ldap
elytron-security-oauth2
elytron-security-properties-file
elytron-security

So a user will add one of the extensions, example elytron-security-oauth2 and that will pull in the elytron-security-common extension.

Doing it this way should allow you to put the common Dev UI in the common extension

from quarkus.

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.