Refresh an Eclipse project with Ant

后端 未结 5 1901
一个人的身影
一个人的身影 2020-12-13 06:30

We have some Ant script fosr building the different jars we use, in several Eclipse projects. There is some interdependency

At the end of the build, we have to refr

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-13 07:00

    This might not be answering your question exactly but I don't quite understand what is causing the problem.

    As I understand it you have a project A that creates a jar file and that jar file is referenced by project B. When you re-build project A, you need to refresh so that project B can see the new jar file. Is that correct?

    I do something similar but I don't get any build path errors because the name of the project A jar file hasn't changed.

    Another option is for Project B to reference Project A directly instead of referencing its jar file.

    I think I may have misunderstood the problem you are having but I hope this helps anyway.

提交回复
热议问题