• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 676
  • Last Modified:

Eclipse project dependency auto created jar.

I asked this question some years ago and got no as an answer. I'm hoping it's different this time.

Let's say that I have a project HelpfulCode which contains code which another project DoesRealWork uses.

Right now if I make a change to HelpfulCode I need to jar up the result and copy that jar over to DoesRealWork. Furthermore, DoesRealWork is a webapp, but I can't make on the fly changes to code in HelpfulCode like I can with code that exists in DoesRealWork.

Has anyone yet come up with a solution to this? I'm thinking that if I have HelpfulCode and DoesRealWork both open in Eclipse then it should be possible to make changes to HelpfulCode and have allow that code be treated as if it were in the DoesRealWork project. At the very least it should auto-jar the result and copy it over to DoesRealWork without requiring the excessive overhead of a huge recompile.

I'm going to guess the answer is no again, but I feel the need to ask.
0
HappyEngineer
Asked:
HappyEngineer
1 Solution
 
wwnosalCommented:
You can do that without jar step. Just add HelpfulCode as a dependency for DoesRealWork..
This will allow you to modify and debug both at the same time. When you're ready with everything you will build jars then.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now