Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to fetch value #28

Open
ieiayaobb opened this issue Sep 2, 2015 · 2 comments
Open

Failed to fetch value #28

ieiayaobb opened this issue Sep 2, 2015 · 2 comments

Comments

@ieiayaobb
Copy link

Hi guys, I've got to say it's a good idea to keep configuration in MANIFEST.MF
I've tried to follow your instruction but didn't run well on my environment.
I'm going to describe the structure of my project and what problems I met.

root-app
| -- pom.xml
| -- core-app
|     | -- src
|     |     ` -- main
|     |           ` -- java
|     |                 ` -- Configuration.java
|     ` -- pom.xml
` -- web-app
      | -- src
      |     ` -- main
      |           | -- java
      |           ` -- resources
      |                 ` -- META-INF
      |                       ` -- MANIFEST.MF
      ` -- pom.xml

As you see, I have 2 projects : core-app and web-app.
What I want to do is quite simple:

  1. Set configuration(Key-Value) into web-app's MANIFEST.MF while packaging phase.
  2. Read configuration in core-app's Configuration class.

I'm not sure whether it's clear for you.
Willing to discuss with you, thank you.

@dmarkov
Copy link

dmarkov commented Sep 7, 2015

@yegor256 please do something about this issue

@yegor256
Copy link
Member

yegor256 commented Sep 7, 2015

@ieiayaobb what exactly doesn't work? I'm actually surprised that you're including web-app into core-app. Usually, it's done the other way around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants