I was given a user id to a CVS Server and was able to download multiple projects from the server but I am getting this error in my eclipse IDE 'A cycle was detected in the build path of the project...'
What does this error mean? I tried checking the build path of each project and majority of the project is referencing the JAR files of one project (looks like main project..). The main project on the other hand has the other project configured in its Build Path.
I am not familiar with eclipse and be glad to hear pointers on how to work around this one. Thanks.
Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
The other project just use the jar files of the main project. The jar files of the main project is configured in the build path of the other project. I am not sure of this but this might cause the error in cyclic dependency.
But I did google on this problem and found an answer by turning the cyclic dependency into just a warning instead of an error prompt in the Preferences path. The project compiles and runs though I am not sure yet what effect may it have. Thanks for responding to my query..
The original "cycle" problem is the old riddle: "Which came first, the chicken or the egg?".
I've had my fair share of cyclic projects over the years, but I don't like them. The problem is that they're usually hard to get going initially when moved to a new machine - especially when you're trying to build from scratch, and because they feed each other, you may have to do a couple of passes before the builds stabilize and you get what you really want.
Usually out of the two mutually-dependent projects you an extract a third project that both depend on and eliminate the cyclic nature of the build process.
Sometimes you can construct a bootstrap project that's non-cyclic but can be used to get the cycles rolling. It may be a simplified version of one of the other 2 projects or a simplified consolidation of the 2.
Best bet, however, is to try and remove the cyclic nature, since - as I mentioned - cyclic projects are hard to get going, as well as hard to get going again if the process breaks. And they're harder for maintainers to understand.
Customer surveys are for companies who didn't pay proper attention to begin with.