Re: Unable to connect to harvest throughcruisecontrol
Jeffrey Fredrick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Ah, I forgot to point out that you'll need to compile the files yourself! Because the Harvest support requires the Harvest jar we can't precompile them. The easiest way to do this is to checkout the project ( http://cruisecontrol.sourceforge.net/svn.html), run the release.bat/release.sh, and then run the build.xml in the directory cruisecontrol/contrib/plugins/AllFusionHarvest. That make sense? Jtf On Mon, Jun 15, 2009 at 2:00 AM, Sindhu Prabhakar <[email protected]>wrote: > Hi Jeffrey, > > > > I had tried the same with the latest version of CruiseControl > (v2.8.2) as well. But am getting the same error there too. Is the connection > only with version 2.7.1 ? > > > > > > Regards, > > Sindhu > > > ------------------------------ > > *From:* Jeffrey Fredrick [mailto:[email protected]] > *Sent:* Monday, June 15, 2009 1:51 PM > *To:* [email protected] > *Subject:* Re: [Cruisecontrol-user] Unable to connect to harvest > throughcruisecontrol > > > > > > From checking the release notes I believe the problem is that the current > support for Harvest was added in version 2.7.1 and you're using 2.6. > > > > Jtf > > > > On Wed, Jun 10, 2009 at 6:23 AM, Sindhu Prabhakar <[email protected]> > wrote: > > Hi, > > > > I am trying to connect to Harvest through CruiseControl version 2.6. The > build has run successfully, but when I run the bat file cruisecontrol.bat u > get the error mentioned below. I have searched a lot to get a defined set of > steps to configure CruiseControl with Harvest s plug-in. > > > > Please let me know if anyone can help me on this > > > > *The config file is as follow:* > > <cruisecontrol> > > <project name="GI_HH_CUSTOMER_VERIFICATION" > buildafterfailed="false"> > > <listeners> > > <currentbuildstatuslistener > file="C:\Sindhu\CruiseControl\cruisecontrol-src-2.8.2\cruisecontrol-2.8.2\main\build-cc.xml"/> > > </listeners> > > <bootstrappers> > > <harvestbootstrapper username="asdgfg" > > > password="qwe@123" > > > broker="rfsharv7" > > > project="Message_Broker" > > > state="Development" > > viewpath > ="\\WBIMB\source\bustrans\CUSTOMER_VERIFICATION" > > > clientpath="C:\Documents and Settings\asdgfg\IBM\wmbt6.0\workspace" > > > process="Check Out (Read Only)" > > > file="\\WBIMB\sourrce\CUSTOMER_VERIFICATION\.project"/> > > </bootstrappers> > > <plugin name="harvest" > classname="net.sourceforge.cruisecontrol.bootstrappers.AllFusionHarvestBootstrapper" > /> > > <modificationset> > > <harvest username="asdgfg" > > password="qwe@123" > > broker="rfsharv7" > > state="Development" > > > project="Message_Broker"/> > > </modificationset> > > <schedule interval="360"> > > </schedule> > > </project> > > </cruisecontrol> > > > > *Its give in the below error:* > > *2009-06-08 12:30:16,430 [main ] ERROR Main - error setting config file on > controller* > > *net.sourceforge.cruisecontrol.CruiseControlException: error configuring > project GI_HH_CUSTOMER_VERIFICATION at > net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:418) > * > > at > net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:172) > > at > net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:133) > > at > net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:86) > > at > net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:78) > > at > net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:93) > > at net.sourceforge.cruisecontrol.Main.createController(Main.java:159) > > at net.sourceforge.cruisecontrol.Main.start(Main.java:126) > > at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:259) > > at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:117) > > *Caused by: net.sourceforge.cruisecontrol.CruiseControlException: > Attemping to load plugin named [harvest], but couldn't load corresponding > class > [net.sourceforge.cruisecontrol.bootstrappers.AllFusionHarvestBootstrapper]. > * > > at > net.sourceforge.cruisecontrol.PluginRegistry.instanciatePluginClass(PluginRegistry.java:254) > > at > net.sourceforge.cruisecontrol.PluginRegistry.getPluginClass(PluginRegistry.java:236) > > at > net.sourceforge.cruisecontrol.ProjectXMLHelper.getConfiguredPlugin(ProjectXMLHelper.java:115) > > at > net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:91) > > at > net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLHelper.java:200) > > at > net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:138) > > at > net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:95) > > at > net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:95) > > at > net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLHelper.java:200) > > at > net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:138) > > at > net.sourceforge.cruisecontrol.PluginXMLHelper.configure(PluginXMLHelper.java:95) > > at > net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXMLHelper.java:95) > > at > net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:416) > > > > Please let me know what the issue is exactly? Has the plug-in been set > wrongly? > > > > It would be really great if I could know what steps have to be followed to > get this connection right. > > > > Thanks and Regards, > > Sindhu Prabhakar. > -- Build engineer training: http://ci-guys.com ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user