Re: Unable to connect to harvestthroughcruisecontrol
"Sindhu Prabhakar " <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <CB3CBA77F73C1543833B2D3108235E4B51D364@BLR-HCLT-EVS02.HCLT.CORP.HCL.IN> |
Hi Jeffery, I did go through the release and the build file given in the below link, but was unable to realted svn to harvest. Is there any particuatar process that has to be followed to build Harvest jar file ? Thanks and Regards, Sindhu Prabhakar, ________________________________ From: Jeffrey Fredrick [mailto:[email protected]] Sent: Monday, June 15, 2009 10:32 PM To: [email protected] Subject: Re: [Cruisecontrol-user] Unable to connect to harvestthroughcruisecontrol 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.AllFusionHarvestB ootstrapper" /> <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(CruiseCo ntrolConfig.java:418) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlCon fig.java:172) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlCo nfig.java:133) at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConf igManager.java:86) at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigMa nager.java:78) at net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(Crui seControlController.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.AllFusionHarvestBootstrappe r]. at net.sourceforge.cruisecontrol.PluginRegistry.instanciatePluginClass(Plug inRegistry.java:254) at net.sourceforge.cruisecontrol.PluginRegistry.getPluginClass(PluginRegist ry.java:236) at net.sourceforge.cruisecontrol.ProjectXMLHelper.getConfiguredPlugin(Proje ctXMLHelper.java:115) at net.sourceforge.cruisecontrol.ProjectXMLHelper.configurePlugin(ProjectXM LHelper.java:91) at net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLH elper.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(ProjectXM LHelper.java:95) at net.sourceforge.cruisecontrol.PluginXMLHelper.configureObject(PluginXMLH elper.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(ProjectXM LHelper.java:95) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseCo ntrolConfig.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 DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------ _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user