From: Ulrik S. <ulr...@ja...> - 2007-01-21 22:36:54
|
Excellent. Thanks for the investigation. -- Ulrik On Jan 21, 2007, at 11:24 PM, Daniel Schwager wrote: > Hi, > > i installed cruisecontrol-2.6 which works > very well. Because we own a big ivy-repository, > i want to integrate ivypublisher to cruise - but > it failed with the error below. > > - Modifications to cruisecontrol.sh > CRUISE_PATH=$CRUISE_PATH:$HOME/ivypublisher/lib/ivy.jar:$HOME/ > ivypublisher/dist/ivypublisher-1.0.jar > > - modifications to config.xml (like described in the documentation) > <!-- Preconfigure our plugins --> > <property name="projectdir" value="${env.WORK_DIR}/ > checkout/${project.name}" /> > <plugin name="ivypublisher" > > class="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" > ivyfile="ivy.xml" > rmiport="1099" > config="config.xml" > project="${project.name}" > basedir="${projectdir}" /> > - Exception: > > [cc]Jan-21 22:45:23 Main - CruiseControl Version 2.6 > Compiled on January 11 2007 2059 > [cc]Jan-21 22:45:23 LConfigManager- reading settings from config > file [/srv/cruise/work/config.xml] > java.lang.NullPointerException > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:164) > at > net.sourceforge.cruisecontrol.PluginRegistry.instanciatePluginClass > (PluginRegistry.java:234) > at > net.sourceforge.cruisecontrol.CruiseControlConfig.isProjectTemplate > (CruiseControlConfig.java:166) > at > net.sourceforge.cruisecontrol.CruiseControlConfig.handleRootPlugin > (CruiseControlConfig.java:183) > at net.sourceforge.cruisecontrol.CruiseControlConfig.parse > (CruiseControlConfig.java:101) > at net.sourceforge.cruisecontrol.CruiseControlConfig.<init> > (CruiseControlConfig.java:92) > at > net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig > (XMLConfigManager.java:76) > at > net.sourceforge.cruisecontrol.config.XMLConfigManager.<init> > (XMLConfigManager.java:70) > at > net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile > (CruiseControlController.java:94) > at net.sourceforge.cruisecontrol.Main.startController > (Main.java:104) > at net.sourceforge.cruisecontrol.Main.start(Main.java:91) > at net.sourceforge.cruisecontrol.launch.Launcher.run > (Launcher.java:244) > at net.sourceforge.cruisecontrol.launch.Launcher.main > (Launcher.java:108) > at CruiseControlWithJetty$2.run > (CruiseControlWithJetty.java:101) > at java.lang.Thread.run(Thread.java:595) > > > Solution ("classname" instead of "class"): > <plugin name="ivypublisher" > > classname="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" > .... > > TODO: Can somebody fix this in the ivypublisher documentation ? > > regards > > Danny > > > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-32 Fax: +49-711-849910-932 > WEB: http://www.dtnet.de/ email: dan...@dt... > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > ivyplugins-user mailing list > ivy...@li... > https://lists.sourceforge.net/lists/listinfo/ivyplugins-user > |