ivyplugins-user Mailing List for Ivy Plugins (Page 2)
Brought to you by:
ulsa
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(24) |
Feb
(2) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(11) |
2009 |
Jan
|
Feb
(4) |
Mar
(4) |
Apr
|
May
|
Jun
(14) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Henrik R. <hen...@fv...> - 2007-12-14 07:49:43
|
Hi Sharmila, >From what I know this plugin doesn't work in CC 2.6 since the internals of CruiseControl has changed. It's built for CC 2.5. I believe that someone sent a mail to the list saying that he would submit a patch but I can't find it right know. Sorry. Bgr Henrik On Dec 14, 2007 7:56 AM, Sharmila R <sha...@gm...> wrote: > I have configured CC 2.6.2 with IvyPublisher. I have two projects A > and B. I want them to be built in the order: > A > B > > I have configured as follows: > > config.xml: > > <?xml version="1.0"?> > <cruisecontrol> > > > <plugin name="ivypublisher" > classname="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" > project="${project.name}" basedir="src/${project.name}" > config="config.xml"/> > > > <project name="A"> > <listeners> > <currentbuildstatuslistener file="logs/${project.name > }/status.txt"/> > </listeners> > > <bootstrappers> > ..... > </bootstrappers> > > <modificationset quietperiod="30" ignoreFiles="${cc_ignore}"> > ..... > </modificationset> > > <schedule interval="86400"> > <composite> > <ant antscript="apache-ant-1.6.2/bin/ant15" > buildfile="src/${project.name}/build.xml" target="build"/> > </composite> > </schedule> > > <publishers> > <ivypublisher/> > </publishers> > </project> > > > <project name="B"> > > <listeners> > <currentbuildstatuslistener file="logs/${project.name > }/status.txt"/> > </listeners> > > <bootstrappers> > ..... > </bootstrappers> > > <modificationset quietperiod="30" ignoreFiles="${cc_ignore}"> > ..... > </modificationset> > > <schedule interval="86400"> > <composite> > <ant antscript="apache-ant-1.6.2/bin/ant15" > buildfile="src/${project.name}/build.xml" target="build"/> > </composite> > </schedule> > > <publishers> > <ivypublisher/> > </publishers> > </project> > > </cruisecontrol> > > ivy.xml for A: > > <ivy-module version="1.0"> > <info module="A"/> > </ivy-module> > > ivy.xml for B: > > <ivy-module version="1.0"> > <info module="B"> > <dependencies> > <dependency name="A"/> > </dependencies> > </info> > </ivy-module> > > > I am getting the following error: > > 2007-12-13 22:24:01,634 [main ] ERROR IvySuccessPublisher - Error > extracting module descriptor from ivy/A/ivy.xml > java.text.ParseException: problem occured while parsing ivy file. > message: null in file: ivy/A/ivy.xml > at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.parse( > XmlModuleDescriptorParser.java:159) > at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.access$000( > XmlModuleDescriptorParser.java:110) > at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser.parseDescriptor( > XmlModuleDescriptorParser.java:78) > at > fr.jayasoft.ivy.parser.ModuleDescriptorParserRegistry.parseDescriptor( > ModuleDescriptorParserRegistry.java:71) > at > fr.jayasoft.ivy.parser.AbstractModuleDescriptorParser.parseDescriptor( > AbstractModuleDescriptorParser.java:35) > at > net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor( > IvySuccessPublisher.java:392) > at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate( > IvySuccessPublisher.java:257) > at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate( > ProjectConfig.java:255) > at net.sourceforge.cruisecontrol.ProjectConfig.validate( > ProjectConfig.java:116) > at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject( > CruiseControlConfig.java:295) > at net.sourceforge.cruisecontrol.CruiseControlConfig.parse( > CruiseControlConfig.java:112) > at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>( > CruiseControlConfig.java:92) > at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig > (XMLConfigManager.java:81) > at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>( > XMLConfigManager.java:73) > at > net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile( > CruiseControlController.java:94) > at net.sourceforge.cruisecontrol.Main.startController(Main.java > :112) > at net.sourceforge.cruisecontrol.Main.start(Main.java:98) > at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java > :244) > at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java > :108) > Caused by: java.lang.NullPointerException > at > fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.startElement( > XmlModuleDescriptorParser.java:418) > at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown > Source) > at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement > (Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement > (Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch > (Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:143) > at fr.jayasoft.ivy.util.XMLHelper.parse(XMLHelper.java:93) > at fr.jayasoft.ivy.util.XMLHelper.parse(XMLHelper.java:68) > at fr.jayasoft.ivy.util.XMLHelper.parse(XMLHelper.java:62) > at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.parse( > XmlModuleDescriptorParser.java:143) > ... 18 more > > and same error for B also. > > What is the mistake in the ivy.xmls? Please help > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > ivyplugins-user mailing list > ivy...@li... > https://lists.sourceforge.net/lists/listinfo/ivyplugins-user > > |
From: Sharmila R <sha...@gm...> - 2007-12-14 06:56:38
|
I have configured CC 2.6.2 with IvyPublisher. I have two projects A and B. I want them to be built in the order: A B I have configured as follows: config.xml: <?xml version="1.0"?> <cruisecontrol> <plugin name="ivypublisher" classname="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" project="${project.name}" basedir="src/${project.name}" config="config.xml"/> <project name="A"> <listeners> <currentbuildstatuslistener file="logs/${project.name}/status.txt"/> </listeners> <bootstrappers> ..... </bootstrappers> <modificationset quietperiod="30" ignoreFiles="${cc_ignore}"> ..... </modificationset> <schedule interval="86400"> <composite> <ant antscript="apache-ant-1.6.2/bin/ant15" buildfile="src/${project.name}/build.xml" target="build"/> </composite> </schedule> <publishers> <ivypublisher/> </publishers> </project> <project name="B"> <listeners> <currentbuildstatuslistener file="logs/${project.name}/status.txt"/> </listeners> <bootstrappers> ..... </bootstrappers> <modificationset quietperiod="30" ignoreFiles="${cc_ignore}"> ..... </modificationset> <schedule interval="86400"> <composite> <ant antscript="apache-ant-1.6.2/bin/ant15" buildfile="src/${project.name}/build.xml" target="build"/> </composite> </schedule> <publishers> <ivypublisher/> </publishers> </project> </cruisecontrol> ivy.xml for A: <ivy-module version="1.0"> <info module="A"/> </ivy-module> ivy.xml for B: <ivy-module version="1.0"> <info module="B"> <dependencies> <dependency name="A"/> </dependencies> </info> </ivy-module> I am getting the following error: 2007-12-13 22:24:01,634 [main ] ERROR IvySuccessPublisher - Error extracting module descriptor from ivy/A/ivy.xml java.text.ParseException: problem occured while parsing ivy file. message: null in file: ivy/A/ivy.xml at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:159) at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.access$000(XmlModuleDescriptorParser.java:110) at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser.parseDescriptor(XmlModuleDescriptorParser.java:78) at fr.jayasoft.ivy.parser.ModuleDescriptorParserRegistry.parseDescriptor(ModuleDescriptorParserRegistry.java:71) at fr.jayasoft.ivy.parser.AbstractModuleDescriptorParser.parseDescriptor(AbstractModuleDescriptorParser.java:35) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:392) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:257) at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:116) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:295) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:92) at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:81) at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:73) at net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:94) at net.sourceforge.cruisecontrol.Main.startController(Main.java:112) at net.sourceforge.cruisecontrol.Main.start(Main.java:98) at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:244) at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:108) Caused by: java.lang.NullPointerException at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.startElement(XmlModuleDescriptorParser.java:418) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:143) at fr.jayasoft.ivy.util.XMLHelper.parse(XMLHelper.java:93) at fr.jayasoft.ivy.util.XMLHelper.parse(XMLHelper.java:68) at fr.jayasoft.ivy.util.XMLHelper.parse(XMLHelper.java:62) at fr.jayasoft.ivy.xml.XmlModuleDescriptorParser$Parser.parse(XmlModuleDescriptorParser.java:143) ... 18 more and same error for B also. What is the mistake in the ivy.xmls? Please help |
From: Sharmila R <sha...@gm...> - 2007-12-12 08:47:17
|
I am using CC 2.6.2 and IvyPublisher plugin. After configuring plugin I get the following error: java.lang.ClassCastException at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256) at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:116) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:295) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:92) at net.sourceforge.cruisecontrol.config.XMLConfigManager.loadConfig(XMLConfigManager.java:81) at net.sourceforge.cruisecontrol.config.XMLConfigManager.<init>(XMLConfigManager.java:73) at net.sourceforge.cruisecontrol.CruiseControlController.setConfigFile(CruiseControlController.java:94) at net.sourceforge.cruisecontrol.Main.startController(Main.java:112) at net.sourceforge.cruisecontrol.Main.start(Main.java:98) at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:244) at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:108) I see this problem discussed in the list some time back as an issue with CC 2.6. Is there a solution for this? |
From: Sharmila R <sha...@gm...> - 2007-12-10 08:46:16
|
Hi, I had configured IvyCruise with CC 2.6.2. I had installed ivy-1.4.1.jar and ivycruise-1.0.jar under CruiseControl_HOME/lib and installed ivy-1.4.1.jar and ant-contrib-0.6.jar under ANT_HOME/lib and enabled rmiport for CruiseControl. Later finding it was incompatible I switched to IvyPublisher plug-in. I removed ivycruise jar and installed ivypublisher jar in CruiseControl_HOME/lib. However CruiseControl is still using IvyCruise and cannot find the IvyPublisher class. Please help. |
From: Henrik R. <hen...@ja...> - 2007-12-06 13:45:15
|
Hi Sharmila, I will try to answer your questions. Please let me know if anything is unclear. >1. Is it enough to put the following in the config file, do I also >need to create ivy.xml for each project? Anything else I need to do? Yes, each project needs it own ivy.xml file in which youspecifiy the dependencies it has on other projects. That is theinformation that the plugin needs in order to trigger the correctbuilds. >2. In the example if I have multiple projects to build if myproject is >built, can I specify them comma-separated in the 'project' attribute >of the 'plugin' tag? No, you don't configure which dependencies your component have in CruiseControl. That is done in the ivy.xml file (see question 1). The'project' attributed corresponds to the current project being built,not the dependent projects. That information is keept in the ivy.xmlfile. Best regards, Henrik Reinhold |
From: Sharmila R <sha...@gm...> - 2007-12-06 08:50:21
|
Hi Ulrik, Thanks so much for the reply. It was really clear. (Unfortunately I dont have access to the entire downloaded distribution, and I do not have rights to download, hence I cannot look at the read me.) I have a couple of questions,though: 1. Is it enough to put the following in the config file, do I also need to create ivy.xml for each project? Anything else I need to do? 2. In the example if I have multiple projects to build if myproject is built, can I specify them comma-separated in the 'project' attribute of the 'plugin' tag? Example (using preconfigured plugins): <plugin name="ivypublisher" class="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" project="${project.name}" basedir="/src/${project.name}" /> <project name="myproject"> ... <publishers> <onsuccess> <ivypublisher /> </onsuccess> </publishers> </project> |
From: Ulrik S. <ulr...@ja...> - 2007-12-04 16:25:35
|
The documentation is available in the downloadable distributions, for example this: http://dfn.dl.sourceforge.net/sourceforge/ivyplugins/ivypublisher-bin-1.0.zip It's basically just a readme file and the API documentation. Here is the important part: Example (using preconfigured plugins): <plugin name="ivypublisher" class="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" project="${project.name}" basedir="/src/${project.name}" /> <project name="myproject"> ... <publishers> <onsuccess> <ivypublisher /> </onsuccess> </publishers> </project> Example using all attributes, including the optional: <plugin name="ivypublisher" class="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" ivyfile="ivy.xml" rmiport="2099" config="my-config.xml" project="${project.name}" basedir="/src/${project.name}" /> Attribute Required Default project Yes - basedir No Current directory rmiport No 1099 ivyfile No ivy.xml config No config.xml This code builds on the efforts of Anders Janmyr, who originally wrote a Listener with the same purpose as this class, and Mark Swanson, who made significant improvements to that Listener. *Author:*Henrik Reinhold, Ulrik Sandberg On Dec 4, 2007 11:49 AM, Sharmila R <sha...@gm...> wrote: > Cant find documentation for Ivy Plugins on sourceforge.net > > Where to find docs? > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > ivyplugins-user mailing list > ivy...@li... > https://lists.sourceforge.net/lists/listinfo/ivyplugins-user > > -- Ulrik |
From: Sharmila R <sha...@gm...> - 2007-12-04 10:49:33
|
Cant find documentation for Ivy Plugins on sourceforge.net Where to find docs? |
From: Martin M. <mar...@ya...> - 2007-08-23 15:40:51
|
Hi,=0AI want to use the actual version of CruiseControl (2.7) and ran into = the problem as many other users before: the ClassCast-Exception.=0AWell I t= ried to fix it... CC obviously has changed returntype of CruiseControlContr= oller.getProjects from Project to ProjectConfig; but no problem, ProjectCon= fig provides the methods execute and getName, too. So I may have a solution= . =0A=0ADue to restriction of SF on mails containing zip-archives, I putted= the file on my server... (http://abyter.de/java/ivypublisher-bin-1.0.zip)= =0A=0AYours,=0A=0AMartin Monshausen=0A=0A=0A=0A Heute schon einen Blic= k in die Zukunft von E-Mails wagen? Versuchen Sie=B4s mit dem neuen Yahoo! = Mail. www.yahoo.de/mail |
From: Klaas P. <kp...@bl...> - 2007-05-08 11:28:15
|
Hi, I have some problems making the Ivypublisher work with CC-2.6.1. I already read the emails regarding the NPE in classForName and for the changed syntax configuring the plugin (class -> classname). No I get the aforementioned ClassCastException (see Log below). The code is casting to a "Project" class. I have no idea what changed between version 2.5 and 2.6 of CruiseControl and cannot guess how long a fix may take. To make it work this far I had to set the jmxavailable=false. If I used jmx within the plugin no builds where executed and the webfrontend did not work via JMX. Are there any solution to this two problems? best Regards Klaas Log: 2007-05-08 11:58:54,876 [Project Ivy thread] ERROR BuildQueue - exception notifying listener before project queued java.lang.ClassCastException: net.sourceforge.cruisecontrol.ProjectConfig at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256) at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.validate(ConditionalPublisher.java:72) at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:116) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:294) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) at net.sourceforge.cruisecontrol.CruiseControlConfig.<init>(CruiseControlConfig.java:124) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleIncludedProjects(CruiseControlConfig.java:139) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:104) 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.reloadIfNecessary(XMLConfigManager.java:97) at net.sourceforge.cruisecontrol.CruiseControlController.parseConfigFileIfNecessary(CruiseControlController.java:197) at net.sourceforge.cruisecontrol.CruiseControlController$BuildQueueListener.buildRequested(CruiseControlController.java:266) at net.sourceforge.cruisecontrol.BuildQueue.notifyListeners(BuildQueue.java:186) at net.sourceforge.cruisecontrol.BuildQueue.requestBuild(BuildQueue.java:73) at net.sourceforge.cruisecontrol.Project.run(Project.java:292) at java.lang.Thread.run(Thread.java:595) |
From: Francis B. <fra...@us...> - 2007-02-24 04:20:45
|
Hi, should the ivyplug-ins be moved to http://www.ivytools.org/ since ivy=20 is moving to apache ? Any thoughts ?? Francis --=20 Francis Bouchard, Analyste Laboratoire DOMUS de l'Universit=E9 de Sherbrooke Domotique et informatique mobile http://domus.usherbrooke.ca T=E9l=E9phone : +1 (819) 821-8000 poste 65174 T=E9l=E9copieur : +1 (819) 821-8200 ---------------------------------------- |
From: Francis B. <fra...@us...> - 2007-02-21 20:02:46
|
It is now fixed in the svn trunk. The next release should include it. Francis Le 07-01-21, =E0 17:36, Ulrik Sandberg a =E9crit : > Excellent. Thanks for the investigation. > > On Jan 21, 2007, at 11:24 PM, Daniel Schwager wrote: >> >> Solution ("classname" instead of "class"): >> <plugin name=3D"ivypublisher" >> >> classname=3D"net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" >> .... >> >> TODO: Can somebody fix this in the ivypublisher documentation ? >> >> regards >> >> Danny >> |
From: Francis B. <fra...@us...> - 2007-01-30 14:33:17
|
is this backward compatible ? Francis Le 07-01-21, =E0 17:36, Ulrik Sandberg a =E9crit : > 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=3D$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=3D"projectdir" value=3D"${env.WORK_DIR}/ >> checkout/${project.name}" /> >> <plugin name=3D"ivypublisher" >> >> class=3D"net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" >> ivyfile=3D"ivy.xml" >> rmiport=3D"1099" >> config=3D"config.xml" >> project=3D"${project.name}" >> basedir=3D"${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=3D"ivypublisher" >> >> classname=3D"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=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV >> _______________________________________________ >> ivyplugins-user mailing list >> ivy...@li... >> https://lists.sourceforge.net/lists/listinfo/ivyplugins-user >> > > > = -----------------------------------------------------------------------=20= > -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > ivyplugins-user mailing list > ivy...@li... > https://lists.sourceforge.net/lists/listinfo/ivyplugins-user > > --=20 Francis Bouchard, Analyste Laboratoire DOMUS de l'Universit=E9 de Sherbrooke Domotique et informatique mobile http://domus.usherbrooke.ca T=E9l=E9phone : +1 (819) 821-8000 poste 65174 T=E9l=E9copieur : +1 (819) 821-8200 ---------------------------------------- |
From: Ulrik S. <ulr...@ja...> - 2007-01-25 10:33:05
|
Daniel, I think this is the third copy of your question. I just want to confirm that we are receiving your mails. You're not subscribing to the mailing list, am I correct? I did try CC 2.6 some time ago, got the same problem, and went back to 2.5. It would be great to crack this, but I have too much on my plate at the moment to dig into this. Anybody else feel like debugging this? -- Ulrik 2007-01-25 Daniel Schwager wrote: Hi, > >i got the following ClassCastException with cruisecontrol-2.6 >(cruisecontrol 2.5 works well). Could somebody help me to track >down the problem ? > >regards > >Danny > >- modifications to config.xml (like described in the documentation) > > > > classname="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" > ivyfile="ivy.xml" > rmiport="1099" > config="config.xml" > project="${project.name}" > basedir="${projectdir}" /> > > ..... > > > > > ...... > >java.lang.ClassCastException: net.sourceforge.cruisecontrol.ProjectConfig > at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374) > at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256) > at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.validate(ConditionalPublisher.java:72) > at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) > at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:117) > at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:288) > at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) > at net.sourceforge.cruisecontrol.CruiseControlConfig.(CruiseControlConfig.java:92) > at net.sourceforge.cruisecontrol.config.xmlConfigManager.loadConfig(xmlConfigManager.java:76) > at net.sourceforge.cruisecontrol.config.xmlConfigManager.(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) > >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 > > |
From: Daniel S. <dan...@dt...> - 2007-01-25 10:16:59
|
Hi, i got the following ClassCastException with cruisecontrol-2.6 (cruisecontrol 2.5 works well). Could somebody help me to track down the problem ? regards Danny - 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" classname="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" ivyfile="ivy.xml" rmiport="1099" config="config.xml" project="${project.name}" basedir="${projectdir}" /> ..... <onsuccess> <ivypublisher /> </onsuccess> </publishers> ...... java.lang.ClassCastException: net.sourceforge.cruisecontrol.ProjectConfig at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256) at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.validate(ConditionalPublisher.java:72) at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:117) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:288) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) 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) 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... |
From: Daniel S. <dan...@dt...> - 2007-01-22 21:06:11
|
Hi, i got the following ClassCastException with cruisecontrol-2.6 (cruisecontrol 2.5 works well). Could somebody help me to track down the problem ? regards Danny - 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" classname="net.sf.ivyplugins.ivypublisher.IvySuccessPublisher" ivyfile="ivy.xml" rmiport="1099" config="config.xml" project="${project.name}" basedir="${projectdir}" /> ..... <onsuccess> <ivypublisher /> </onsuccess> </publishers> ...... java.lang.ClassCastException: net.sourceforge.cruisecontrol.ProjectConfig at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256) at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.validate(ConditionalPublisher.java:72) at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:117) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:288) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) 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) 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... |
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 > |
From: Daniel S. <dan...@dt...> - 2007-01-21 22:35:09
|
Hi, i got the following ClassCastException with cruisecontrol-2.6 (cruisecontrol 2.5 works well). Could somebody help me to track down the problem ? regards Danny - 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}" /> ..... <onsuccess> <ivypublisher /> </onsuccess> </publishers> ...... java.lang.ClassCastException: net.sourceforge.cruisecontrol.ProjectConfig at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getModuleDescriptor(IvySuccessPublisher.java:374) at net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.validate(IvySuccessPublisher.java:256) at net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.validate(ConditionalPublisher.java:72) at net.sourceforge.cruisecontrol.ProjectConfig$Publishers.validate(ProjectConfig.java:255) at net.sourceforge.cruisecontrol.ProjectConfig.validate(ProjectConfig.java:117) at net.sourceforge.cruisecontrol.CruiseControlConfig.handleProject(CruiseControlConfig.java:288) at net.sourceforge.cruisecontrol.CruiseControlConfig.parse(CruiseControlConfig.java:112) 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) 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... |
From: Daniel S. <dan...@dt...> - 2007-01-21 22:24:13
|
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... |
From: Shane M. <smc...@la...> - 2007-01-10 15:39:45
|
I suppose the easiest thing would be to mimic the BuildStatus.java class but use ivy to determine which projects to check and then the triggering can effectively be the same. This removes the ability to have the sorted build order however. -shane Ulrik Sandberg wrote: > It's very annoying that there's no explanation at all on a triggered > build. > > We've thought about this, but have no immediate solution. It might > very well be possible. Keep digging. > > -- > Ulrik > > >> Is there anyway to provide a triggered project with a build >> explanation? Using the modificationset method I usually see messages >> like this in the Modifications section of the CC webpage. >> >> add cc-PROJNAME log20061211171030Lbuild.390 >> <http://lcc94:8080/cruisecontrol/buildresults/lccjava?log=log20061211171030Lbuild.390> >> >> 12/11/2006 17:10:30 PROJNAME >> >> Is there anyway to registure something like this using ivyPublisher? >> >> thanks >> >> -shane >> >> ------------------------------------------------------------------------- >> >> 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 >> |
From: Jorgo <gl...@mc...> - 2007-01-10 13:02:55
|
Hi everyone, I installed the IvyPublisher plugin and tried to build two projects. When= =20 one project is modified, a rebuild of the other (depending) project is=20 triggered, but fails with the following message: 2007-01-10 13:48:41,106 [Thread-23] INFO Project - Project SampleProject:= =20 build successful 2007-01-10 13:48:41,106 [Thread-23] DEBUG Project -=20 Project SampleProject: Serializing project to [SampleProject.ser]=20 2007-01-10 13:48:41,106 [Thread-23] INFO Project - Project SampleProject:= =20 publishing build results 2007-01-10 13:48:41,106 [Thread-23] INFO=20 ProjectController - SampleProject Controller: build progress event:=20 publishing build results 2007-01-10 13:48:41,106 [Thread-23] INFO=20 IvySuccessPublisher - Triggering projects depending on project=20 SampleProject 2007-01-10 13:48:41,121 [Thread-23] DEBUG IvySuccessPublisher= =20 - project:[SampleProject (module: SampleCCProject, rev: 1.0, resolved:=20 1.0)] DOES NOT DEPEND on this project:[SampleProject(module:=20 SampleCCProject, rev: 1.0, resolved: 1.0)] 2007-01-10 13:48:41,121=20 [Thread-23] DEBUG IvySuccessPublisher - project:[AnotherProject (module:=20 AnotherProject, rev: 1.0, resolved: 1.0)] DEPENDS on this=20 project:[SampleProject(module: SampleCCProject, rev: 1.0, resolved: 1.0)]= =20 2007-01-10 13:48:41,121 [Thread-23] INFO IvySuccessPublisher - Dependants= =20 (in build order): 2007-01-10 13:48:41,121 [Thread-23] INFO=20 IvySuccessPublisher - AnotherProject: 1.0 2007-01-10 13:48:41,121=20 [Thread-23] INFO IvySuccessPublisher - Forcing build of dependant module:= =20 AnotherProject(project:[AnotherProject]) 2007-01-10 13:48:42,293=20 [Thread-23] ERROR IvySuccessPublisher - Error invoking=20 project:[AnotherProject] build java.io.IOException:=20 javax.naming.ServiceUnavailableException [Root exception is=20 java.rmi.ConnectException: Connection refused to host: localhost; nested=20 exception is: =09java.net.ConnectException: Connection refused: connect] =09at mx4j.remote.resolver.rmi.Resolver.lookupStubInJNDI(Resolver.java:100) =09at mx4j.remote.resolver.rmi.Resolver.lookupRMIServerStub(Resolver.java:7= 2) =09at mx4j.remote.resolver.rmi.Resolver.lookupClient(Resolver.java:52) =09at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:11= 9) at=20 javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.jav= a:38) at=20 net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.getMBeanServerConnection= (IvySuccessPublisher.java:437) at=20 net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.build(IvySuccessPublishe= r.java:292) at=20 net.sf.ivyplugins.ivypublisher.IvySuccessPublisher.publish(IvySuccessPublis= her.java:236) at=20 net.sourceforge.cruisecontrol.publishers.ConditionalPublisher.publish(Condi= tionalPublisher.java:61) =09at net.sourceforge.cruisecontrol.Project.publish(Project.java:693) =09at net.sourceforge.cruisecontrol.Project.build(Project.java:232) =09at net.sourceforge.cruisecontrol.Project.execute(Project.java:138) =09at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:= 69) =09at java.lang.Thread.run(Thread.java:534) =20 Seems that the JMX connection fails. JMX is active and Cruise Control's JMX= =20 Control Panel (web interface) works fine. Any ideas? Thanks in advance Jorgo |
From: Ulrik S. <ulr...@ja...> - 2007-01-09 22:47:57
|
It's very annoying that there's no explanation at all on a triggered build. We've thought about this, but have no immediate solution. It might very well be possible. Keep digging. -- Ulrik > Is there anyway to provide a triggered project with a build > explanation? Using the modificationset method I usually see messages > like this in the Modifications section of the CC webpage. > > add cc-PROJNAME log20061211171030Lbuild.390 > <http://lcc94:8080/cruisecontrol/buildresults/lccjava? > log=log20061211171030Lbuild.390> > 12/11/2006 17:10:30 PROJNAME > > Is there anyway to registure something like this using ivyPublisher? > > thanks > > -shane > > ---------------------------------------------------------------------- > --- > 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 > |
From: Ulrik S. <ulr...@ja...> - 2007-01-09 22:42:14
|
It sounds interesting. This plugin is still very basic, and anything that makes it more clever is welcome. One related thing that we've thought about is to access the current build queue and make sure each project is only there once. -- Ulrik > I'm curious if someone can speak to the feasibility of a plugin > idea I have. > > To illustrate imagine there is a dependency hierarchy as such set > up in ivy > > C depends on B depends on A > > Currently if A is checked in repeatedly B and C will be built > almost as > many times. > > For instance: A checkin; A build; A checkin; B build; C build; A > build; > B build; C build. > > > it seems that a plugin could be designed so that when the second "A > checkin" occurs, the second "A build" is promoted to happen > immediately, > so that the timeline would then be > > > A checkin; A build; A checkin; A build; B build; C build; > > The logic being that if a check in occurs to a project with no > dependencies, that is depended on, then it should build before those > that depend on it. > > Any insights would be appreciated, I am not very familiar with CC's > loop > and what is doable in general. > > -shane > > ---------------------------------------------------------------------- > --- > 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 > |
From: Shane M. <smc...@la...> - 2007-01-09 22:39:23
|
Is there anyway to provide a triggered project with a build explanation? Using the modificationset method I usually see messages like this in the Modifications section of the CC webpage. add cc-PROJNAME log20061211171030Lbuild.390 <http://lcc94:8080/cruisecontrol/buildresults/lccjava?log=log20061211171030Lbuild.390> 12/11/2006 17:10:30 PROJNAME Is there anyway to registure something like this using ivyPublisher? thanks -shane |
From: Shane M. <smc...@la...> - 2007-01-09 19:36:43
|
Ok I've managed to sort this out to user error. Don't need help on it anymore. Shane McDaniel wrote: > I think I've got the latest version of ivypublisher working, but it's > hard to tell. When a project builds successfully I see a log message > that it's triggering other projects, but it doesn't say which ones. > Should it be? > > [cc]Jan-09 09:29:21 jectController- XXXX-ivy-test Controller: build > progress event: publishing build results > [cc]Jan-09 09:29:21 ccessPublisher- Triggering projects depending on > project XXXX-ivy-test > [cc]Jan-09 09:29:21 Project - Project XXXX-ivy-test: idle > > > Additionally, when I look at the project that it should be triggering, I > see that it did build but I don't see a modification line saying that my > XXXX-ivy-test caused it as I usually do with my normal > modificationset/buildstatus triggering. > > -shane > > ------------------------------------------------------------------------- > 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 > |