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
Post a Comment