Eclipse project dependency auto created jar.

Posted on 2008-11-09
Last Modified: 2013-12-15
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.
Question by:HappyEngineer
    1 Comment
    LVL 6

    Accepted Solution

    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.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now