2
I’m doing a project to test iReport reports, and I was wondering if there’s a way not to include the same jars that already exist in a particular project. Eclipse itself offers the option to reference the classes of this other project, the problem that it shows the path as for example c:\eclipse\projeto
. And this worries me because I will share the project in SVN, and it will be that if another developer downloading it will not cause error of targeting the jar?
I would then like to know how to do the directing of the jars, and whether this will cause the above mentioned problem.
I suggest a dependency manager to solve your problem, Maven. See here all its advantages, like installing and things like.
– Math
@Math for now it gets complicated to insert a dependency manager like the
Maven
.– Macario1983
Well, you can then pass along with your project all the dependencies you use and ask the other developer to include in their project. For I do believe it will give the problem you mentioned due to the real way, and not the relative.
– Math
Or wait for an answer from someone who has a better idea :)
– Math
@Math your idea is good too, I’m researching something related to classpath variable in Eclipse. Thank you
– Macario1983