question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Introduce dev only resource directory support

See original GitHub issue

Description

I would like to be able to put resources or code that is used only in dev mode into a source folder that is only added to the classpath for dev mode, ie src/quarkusDev (src/quarkusDev/java, src/quarkusDev/resources etc)

At the moment I am able to add dependencies specifically for dev mode, but it seems not code or resources.

It might be nice to also have these added to the test classpath.

Implementation ideas

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
aloubyanskycommented, Aug 4, 2022

@HknLof please use a dedicated channel to ask these kind of questions (github or zulip). You are commenting on an issue report that is not related to your question.

0reactions
HknLofcommented, Aug 4, 2022

Out of curiosity, what would be the best practice to add an endpoint conditionally and from a seperate jar / quarkus project?

Read more comments on GitHub >

github_iconTop Results From Across the Web

App resources overview - Android Developers
Resource directories supported inside project res/ directory. Directory, Resource Type. animator/, XML files that define property animations.
Read more >
Add resources to your project - Microsoft Support
On the Resource tab, in the Insert group, choose Add Resources, and then choose Build Team from Enterprise (Project Professional only), Active Directory, ......
Read more >
Introduction to the Standard Directory Layout - Apache Maven
Having a common directory layout allows users familiar with one Maven ... The only other directories that would be expected here are metadata...
Read more >
Cross-Origin Resource Sharing (CORS) - MDN Web Docs
This means that a web application using those APIs can only request ... The CORS mechanism supports secure cross-origin requests and data ...
Read more >
USDA and EDA Launch Resource Guide to Boost Economic ...
USDA and EDA Launch Resource Guide to Boost Economic Development in Rural Communities. Name. USDA Press. Email. press@oc.usda.gov.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found