Eclipse Java - Use output of one project as lib in other -


i have 2 projects, "foo engine" , "foo webapp". obviously, run webapp, can package foo jar, , link jar. time consuming when making changes foo well. there way tell eclipse continually update jar in same way in-editor instant-compile system (is possible?), , specify path jar (so it's in lib folder of webapp).

thanks!

edit: advice! i've realised webapp project isn't being compiled eclipse, webapp framework (play) - reference projects option isn't available. i'll see if can refer project in play, if not i'll go jar packaging...

wtf? i'm not allowed vote answers... sorry guys

from eclipse user guide:

open java build path dialog (project > properties > java build path) , go projects tab.

in required projects on build path list, can add project dependencies selecting other workbench projects add build path new project.

adding required project indirectly adds classpath entries marked 'exported'. setting classpath entry exported done in order , export tab


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -