Re: Help with failed build
Antoine Levy-Lambert <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Cardician wrote: > Hello, > > I'm hoping someone can help me with this problem. I've been banging my > head over this for quite some time and I cannot figure out what the > problem could be. I'm working on a large project made up of a number > of different Java and Flex projects. Everything builds fine on our > local machines but for some reason the CruiseControl build started > failing. I keep getting errors stating: This would be more a problem of using ant rather than a problem of CruiseControl. > > Error: The definition of the base class ClassName was not found Maybe the class "ClassName" is on the classpath on your "local machines". CruiseControl might be running as a service. If CruiseControl is running as a service with a default Service User, then the environment variables inside CruiseControl may not contain your usual CLASSPATH. If this is the problem, then you should fix your build to make it independent of the CLASSPATH environment variable, because it is bad practice to have build files depend upon environment variables. > > Nothing has really changed in this file at all, so I don't know why > this is suddenly occurring. We did recently upgrade the project from > Flex 2 to Flex 3, so perhaps that somehow has something to do with it, > but I'm not really sure what. If anyone has any thoughts or idea on > what I could do I would greatly appreciate it. Let me know if you need > more info and I'll try to provide you with whatever I can. Thanks. Is the missing class a class of Flex ? Is the missing class used in an ant taskdef ? You might be doing a better job to ask this particular question on the ant user list user at ant.apache.org rather than on the cruisecontrol-user list because it is not really a cruisecontrol problem. Regards, Antoine ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev