eclipse - Project setup: Having one web project depend on another -


i have 2 "dynamic web projects" in eclipse. 1 "extends" other define second having access code , jars of first.

is possible in eclipse? if so, how?

in "java build path" of second project, in "projects" tab have included first project. in "java build path" of first project, in "order , export" have marked jars etc should exported. compilation works fine.

when deploy second project, cannot find of jars or code of first project. if go "deployment assembly" of second project , add first project, inserts "web-inf/lib/first.war" deployment assembly; isn't helpful, war doesn't belong there. see no other way add compiled code , jars first project deployment of second.

what do?

i think want open plugin.xml of project want add dependency to. on dependencies tab can add project needs depends on. think keep going.

regads


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -