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

gradle build and deploy war from multiple sources #1

Open
petrukhnov opened this issue May 21, 2014 · 3 comments
Open

gradle build and deploy war from multiple sources #1

petrukhnov opened this issue May 21, 2014 · 3 comments

Comments

@petrukhnov
Copy link

As there is no other way to ask you question:

Could you project help with building in a way as described here:
http://stackoverflow.com/questions/23076436/gradle-build-and-deploy-war-to-different-servers
If yes, some example would be helpful.

@akhikhl
Copy link
Owner

akhikhl commented May 21, 2014

I looked at your stackoverflow question. I'd be glad to help you.
My questions:

  • Is placement of "src" outside of project tree a requirement? Does it reside in different source-code repository (git, subversion, etc.)?
  • Did you consider sharing code as JAR-libraries instead of sources?
  • Are you trying to implement so-called WAR-overlays with gradle? If so, please consider using Gretty plugin - it supports WAR-overlays out-of-the-box.

@petrukhnov
Copy link
Author

Source could be inside the tree. But it is separate project in git.
Final result is multiple war files. Each war have several resource files differ from each other. There is no need to exchange jars, as there is only one "source" project.
Yes, WAR-overlays is what i need. After searching 10 min for that in google, i think I already have solution :) Thank you for help.

@akhikhl
Copy link
Owner

akhikhl commented May 21, 2014

You are welcome :)

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

2 participants