|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Problem with XSLT transformationHi,
I've installed CC 2.7.2 on RedHat 5. I've installed a small application like the example in the 'Getting Started' chapter, that is, with an ANT script called from the 'schedule' part of the config.xml. The reporting application runs, the 'xmllog' button shows me a lot in XML style. I want simply to transform the XML to HTML and see the ANT output in the result mail. I cannot find a proper XSL file to do the XSLT transformation. A 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what I want. Can someone help? Thanks in advance. Hartmut ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationYou can't use the htmlMail notifier?
-----Original Message----- From: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] On Behalf Of Schroeder, Hartmut Sent: Monday, June 30, 2008 12:09 PM To: cruisecontrol-user@... Subject: [Cruisecontrol-user] Problem with XSLT transformation Hi, I've installed CC 2.7.2 on RedHat 5. I've installed a small application like the example in the 'Getting Started' chapter, that is, with an ANT script called from the 'schedule' part of the config.xml. The reporting application runs, the 'xmllog' button shows me a lot in XML style. I want simply to transform the XML to HTML and see the ANT output in the result mail. I cannot find a proper XSL file to do the XSLT transformation. A 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what I want. Can someone help? Thanks in advance. Hartmut ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationi use htmlmail, sure. the typical output from my build.xml via echo, fail, etc. on the mail is ok. but i call via exec anothother program with output, and that output does not appear in the result mail.
hartmut -----Ursprüngliche Nachricht----- Von: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] Im Auftrag von EJ Ciramella Gesendet: Montag, 30. Juni 2008 18:41 An: cruisecontrol-user@... Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation You can't use the htmlMail notifier? -----Original Message----- From: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] On Behalf Of Schroeder, Hartmut Sent: Monday, June 30, 2008 12:09 PM To: cruisecontrol-user@... Subject: [Cruisecontrol-user] Problem with XSLT transformation Hi, I've installed CC 2.7.2 on RedHat 5. I've installed a small application like the example in the 'Getting Started' chapter, that is, with an ANT script called from the 'schedule' part of the config.xml. The reporting application runs, the 'xmllog' button shows me a lot in XML style. I want simply to transform the XML to HTML and see the ANT output in the result mail. I cannot find a proper XSL file to do the XSLT transformation. A 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what I want. Can someone help? Thanks in advance. Hartmut ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationlet me explain a bit more:
i wrote a script 'test.sh' with the only content 'echo TEST'. in the build.xml that is called from the <schedule> part of the config.xml, is something like: <echo message="test1"/> <exec executable="bash" dir="${build.root}"> <arg value="test.sh"/> </exec> it runs successfully, and the <htmlemail> publisher sends the mail, but the mail contains only 'test1' but not 'TEST' hartmut -----Ursprüngliche Nachricht----- Von: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] Im Auftrag von EJ Ciramella Gesendet: Montag, 30. Juni 2008 18:41 An: cruisecontrol-user@... Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation You can't use the htmlMail notifier? -----Original Message----- From: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] On Behalf Of Schroeder, Hartmut Sent: Monday, June 30, 2008 12:09 PM To: cruisecontrol-user@... Subject: [Cruisecontrol-user] Problem with XSLT transformation Hi, I've installed CC 2.7.2 on RedHat 5. I've installed a small application like the example in the 'Getting Started' chapter, that is, with an ANT script called from the 'schedule' part of the config.xml. The reporting application runs, the 'xmllog' button shows me a lot in XML style. I want simply to transform the XML to HTML and see the ANT output in the result mail. I cannot find a proper XSL file to do the XSLT transformation. A 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what I want. Can someone help? Thanks in advance. Hartmut ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationHi, what does your cruisecontrol log4j logfile looks like? Johannes Stamminger On Tuesday 01 July 2008, Schroeder, Hartmut wrote: > let me explain a bit more: > i wrote a script 'test.sh' with the only content 'echo TEST'. in the > build.xml that is called from the <schedule> part of the config.xml, is > something like: > > <echo message="test1"/> > <exec executable="bash" dir="${build.root}"> > <arg value="test.sh"/> > </exec> > > it runs successfully, and the <htmlemail> publisher sends the mail, but the > mail contains only 'test1' but not 'TEST' > > > > hartmut > > > -----Ursprüngliche Nachricht----- > Von: cruisecontrol-user-bounces@... > [mailto:cruisecontrol-user-bounces@...] Im Auftrag von EJ > Ciramella Gesendet: Montag, 30. Juni 2008 18:41 > An: cruisecontrol-user@... > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > You can't use the htmlMail notifier? > > -----Original Message----- > From: cruisecontrol-user-bounces@... > [mailto:cruisecontrol-user-bounces@...] On Behalf Of > Schroeder, Hartmut > Sent: Monday, June 30, 2008 12:09 PM > To: cruisecontrol-user@... > Subject: [Cruisecontrol-user] Problem with XSLT transformation > > Hi, > I've installed CC 2.7.2 on RedHat 5. I've installed a small application > like the example in the 'Getting Started' chapter, that is, with an ANT > script called from the 'schedule' part of the config.xml. The reporting > application runs, the 'xmllog' button shows me a lot in XML style. I > want simply to transform the XML to HTML and see the ANT output in the > result mail. > > I cannot find a proper XSL file to do the XSLT transformation. A > 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what > I want. > > Can someone help? > > > > Thanks in advance. > Hartmut > > > ------------------------------------------------------------------------ > - > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] ------ ----<--{(@ ------------------ EADS ASTRIUM Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. --------------------------------------------------------- Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationOn Tuesday 01 July 2008, Johannes Stamminger wrote: > Hi, > > what does your cruisecontrol log4j logfile looks like? Sorry, I meant the cruisecontrol log4j *configuration* file. Regards, Johannes Stamminger > > Johannes Stamminger > > On Tuesday 01 July 2008, Schroeder, Hartmut wrote: > > let me explain a bit more: > > i wrote a script 'test.sh' with the only content 'echo TEST'. in the > > build.xml that is called from the <schedule> part of the config.xml, is > > something like: > > > > <echo message="test1"/> > > <exec executable="bash" dir="${build.root}"> > > <arg value="test.sh"/> > > </exec> > > > > it runs successfully, and the <htmlemail> publisher sends the mail, but > > the mail contains only 'test1' but not 'TEST' > > > > > > > > hartmut > > > > > > -----Ursprüngliche Nachricht----- > > Von: cruisecontrol-user-bounces@... > > [mailto:cruisecontrol-user-bounces@...] Im Auftrag von > > EJ Ciramella Gesendet: Montag, 30. Juni 2008 18:41 > > An: cruisecontrol-user@... > > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > > > You can't use the htmlMail notifier? > > > > -----Original Message----- > > From: cruisecontrol-user-bounces@... > > [mailto:cruisecontrol-user-bounces@...] On Behalf Of > > Schroeder, Hartmut > > Sent: Monday, June 30, 2008 12:09 PM > > To: cruisecontrol-user@... > > Subject: [Cruisecontrol-user] Problem with XSLT transformation > > > > Hi, > > I've installed CC 2.7.2 on RedHat 5. I've installed a small application > > like the example in the 'Getting Started' chapter, that is, with an ANT > > script called from the 'schedule' part of the config.xml. The reporting > > application runs, the 'xmllog' button shows me a lot in XML style. I > > want simply to transform the XML to HTML and see the ANT output in the > > result mail. > > > > I cannot find a proper XSL file to do the XSLT transformation. A > > 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what > > I want. > > > > Can someone help? > > > > > > > > Thanks in advance. > > Hartmut > > > > > > ------------------------------------------------------------------------ > > - > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- > Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] > ------ ----<--{(@ ------------------ EADS ASTRIUM > Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) > +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen > +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) > > This email (including any attachments) may contain confidential and/or > privileged information or information otherwise protected from disclosure. > If you are not the intended recipient, please notify the sender > immediately, do not copy this message or any attachments and do not use it > for any purpose or disclose its content to any person, but delete this > message and any attachments from your system. Astrium disclaims any and all > liability if this email transmission was virus corrupted, altered or > falsified. --------------------------------------------------------- > Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - > Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo > Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - > Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 > > Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] ------ ----<--{(@ ------------------ EADS ASTRIUM Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. --------------------------------------------------------- Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationhi,
my cruisecontrol installation doesn't have a log4j configuration. i didn't find any log4j.xml or log4j-configuration.xml file. do i need to install them? hartmut -----Ursprüngliche Nachricht----- Von: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] Im Auftrag von Johannes Stamminger Gesendet: Dienstag, 1. Juli 2008 13:49 An: cruisecontrol-user@... Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation On Tuesday 01 July 2008, Johannes Stamminger wrote: > Hi, > > what does your cruisecontrol log4j logfile looks like? Sorry, I meant the cruisecontrol log4j *configuration* file. Regards, Johannes Stamminger > > Johannes Stamminger > > On Tuesday 01 July 2008, Schroeder, Hartmut wrote: > > let me explain a bit more: > > i wrote a script 'test.sh' with the only content 'echo TEST'. in the > > build.xml that is called from the <schedule> part of the config.xml, is > > something like: > > > > <echo message="test1"/> > > <exec executable="bash" dir="${build.root}"> > > <arg value="test.sh"/> > > </exec> > > > > it runs successfully, and the <htmlemail> publisher sends the mail, but > > the mail contains only 'test1' but not 'TEST' > > > > > > > > hartmut > > > > > > -----Ursprüngliche Nachricht----- > > Von: cruisecontrol-user-bounces@... > > [mailto:cruisecontrol-user-bounces@...] Im Auftrag von > > EJ Ciramella Gesendet: Montag, 30. Juni 2008 18:41 > > An: cruisecontrol-user@... > > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > > > You can't use the htmlMail notifier? > > > > -----Original Message----- > > From: cruisecontrol-user-bounces@... > > [mailto:cruisecontrol-user-bounces@...] On Behalf Of > > Schroeder, Hartmut > > Sent: Monday, June 30, 2008 12:09 PM > > To: cruisecontrol-user@... > > Subject: [Cruisecontrol-user] Problem with XSLT transformation > > > > Hi, > > I've installed CC 2.7.2 on RedHat 5. I've installed a small application > > like the example in the 'Getting Started' chapter, that is, with an ANT > > script called from the 'schedule' part of the config.xml. The reporting > > application runs, the 'xmllog' button shows me a lot in XML style. I > > want simply to transform the XML to HTML and see the ANT output in the > > result mail. > > > > I cannot find a proper XSL file to do the XSLT transformation. A > > 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what > > I want. > > > > Can someone help? > > > > > > > > Thanks in advance. > > Hartmut > > > > > > ------------------------------------------------------------------------ > > - > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- > Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] > ------ ----<--{(@ ------------------ EADS ASTRIUM > Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) > +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen > +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) > > This email (including any attachments) may contain confidential and/or > privileged information or information otherwise protected from disclosure. > If you are not the intended recipient, please notify the sender > immediately, do not copy this message or any attachments and do not use it > for any purpose or disclose its content to any person, but delete this > message and any attachments from your system. Astrium disclaims any and all > liability if this email transmission was virus corrupted, altered or > falsified. --------------------------------------------------------- > Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - > Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo > Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - > Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 > > Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] ------ ----<--{(@ ------------------ EADS ASTRIUM Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. --------------------------------------------------------- Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationOn Tuesday 01 July 2008, Schroeder, Hartmut wrote: > hi, > my cruisecontrol installation doesn't have a log4j configuration. i didn't > find any log4j.xml or log4j-configuration.xml file. do i need to install > them? Background of my question is thread "Shell environment changes on switching cruisecontrol log level from DEBUG to INFO" started by me on 23.4. and filed as issue CC-798. And there could be a very little chance, that your problem is related (in fact I search for someone sharing our problem :-)). Our config "log4j.properties" is placed in the cc (2.7.1; in previous versions I was told it to be contained within some jar only by default) root dir and looks currently like: log4j.rootCategory=DEBUG,FILE # A1 is to console log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=[cc]%d{MMM-dd HH:mm:ss} %-14.14c{1}- %m%n # FILE is file logger with rotation log4j.appender.FILE=org.apache.log4j.RollingFileAppender log4j.appender.FILE.layout=org.apache.log4j.PatternLayout log4j.appender.FILE.layout.ConversionPattern=%d [%-9t] %-5p %-16c{1} %x- %m%n log4j.appender.FILE.File=cruisecontrol.log log4j.appender.FILE.MaxFileSize=20000KB log4j.appender.FILE.MaxBackupIndex=9 With switching the DEBUG to INFO in the first line, our scripts are no longer executed within the appropiate and expected environment (linux!) but a very basic one is used. You could give it a try and switch your log4j config to the one we use. At least you should see in the logfile then, what is happening ... Regards, Johannes Stamminger > > > hartmut > > -----Ursprüngliche Nachricht----- > Von: cruisecontrol-user-bounces@... > [mailto:cruisecontrol-user-bounces@...] Im Auftrag von > Johannes Stamminger Gesendet: Dienstag, 1. Juli 2008 13:49 > An: cruisecontrol-user@... > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > On Tuesday 01 July 2008, Johannes Stamminger wrote: > > Hi, > > > > what does your cruisecontrol log4j logfile looks like? > > Sorry, I meant the cruisecontrol log4j *configuration* file. > > Regards, > Johannes Stamminger > > > Johannes Stamminger > > > > On Tuesday 01 July 2008, Schroeder, Hartmut wrote: > > > let me explain a bit more: > > > i wrote a script 'test.sh' with the only content 'echo TEST'. in the > > > build.xml that is called from the <schedule> part of the config.xml, is > > > something like: > > > > > > <echo message="test1"/> > > > <exec executable="bash" dir="${build.root}"> > > > <arg value="test.sh"/> > > > </exec> > > > > > > it runs successfully, and the <htmlemail> publisher sends the mail, but > > > the mail contains only 'test1' but not 'TEST' > > > > > > > > > > > > hartmut > > > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: cruisecontrol-user-bounces@... > > > [mailto:cruisecontrol-user-bounces@...] Im Auftrag > > > von EJ Ciramella Gesendet: Montag, 30. Juni 2008 18:41 > > > An: cruisecontrol-user@... > > > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > > > > > You can't use the htmlMail notifier? > > > > > > -----Original Message----- > > > From: cruisecontrol-user-bounces@... > > > [mailto:cruisecontrol-user-bounces@...] On Behalf Of > > > Schroeder, Hartmut > > > Sent: Monday, June 30, 2008 12:09 PM > > > To: cruisecontrol-user@... > > > Subject: [Cruisecontrol-user] Problem with XSLT transformation > > > > > > Hi, > > > I've installed CC 2.7.2 on RedHat 5. I've installed a small application > > > like the example in the 'Getting Started' chapter, that is, with an ANT > > > script called from the 'schedule' part of the config.xml. The reporting > > > application runs, the 'xmllog' button shows me a lot in XML style. I > > > want simply to transform the XML to HTML and see the ANT output in the > > > result mail. > > > > > > I cannot find a proper XSL file to do the XSLT transformation. A > > > 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what > > > I want. > > > > > > Can someone help? > > > > > > > > > > > > Thanks in advance. > > > Hartmut > > > > > > > > > ----------------------------------------------------------------------- > > >- - > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Cruisecontrol-user mailing list > > > Cruisecontrol-user@... > > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > > ----------------------------------------------------------------------- > > >-- Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Cruisecontrol-user mailing list > > > Cruisecontrol-user@... > > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > > > > > ----------------------------------------------------------------------- > > >-- Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Cruisecontrol-user mailing list > > > Cruisecontrol-user@... > > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > -- > > Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] > > ------ ----<--{(@ ------------------ EADS ASTRIUM > > Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) > > +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen > > +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) > > > > This email (including any attachments) may contain confidential and/or > > privileged information or information otherwise protected from > > disclosure. If you are not the intended recipient, please notify the > > sender > > immediately, do not copy this message or any attachments and do not use > > it for any purpose or disclose its content to any person, but delete this > > message and any attachments from your system. Astrium disclaims any and > > all liability if this email transmission was virus corrupted, altered or > > falsified. --------------------------------------------------------- > > Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - > > Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo > > Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - > > Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 > > > > Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user mailing list > > Cruisecontrol-user@... > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- > Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] > ------ ----<--{(@ ------------------ EADS ASTRIUM > Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) > +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen > +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) > > This email (including any attachments) may contain confidential and/or > privileged information or information otherwise protected from disclosure. > If you are not the intended recipient, please notify the sender > immediately, do not copy this message or any attachments and do not use it > for any purpose or disclose its content to any person, but delete this > message and any attachments from your system. Astrium disclaims any and all > liability if this email transmission was virus corrupted, altered or > falsified. --------------------------------------------------------- > Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - > Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo > Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - > Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 > > Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Cruisecontrol-user mailing list > Cruisecontrol-user@... > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user -- Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] ------ ----<--{(@ ------------------ EADS ASTRIUM Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Astrium disclaims any and all liability if this email transmission was virus corrupted, altered or falsified. --------------------------------------------------------- Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Cruisecontrol-user mailing list Cruisecontrol-user@... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |
|
|
Re: Problem with XSLT transformationhi,
my problem is the output of the process in logs/<project-name>/log*.xml. (that output is independent of the log4j.properties contained in cruisecontrol.jar.) all output written by programs called via <exex> in the ant build.xml are "info"-messages in log*.xml, in comparison to <echo> messages which are "warn" ones. the output of my mail looks like BUILD COMPLETE - build.85 Date of build: 07/01/2008 17:21:30 Time to build: 0 seconds Last changed: 07/01/2008 17:13:45 Last log entry: Errors/Warnings: (2) RUN xxx TEST-0 Unit Tests: (0) No Tests Run This project doesn't have any tests ==> it prints errors and warnings. can i change that behaviour? how do i tell cc that it shall print info messages, too? hartmut -----Ursprüngliche Nachricht----- Von: cruisecontrol-user-bounces@... [mailto:cruisecontrol-user-bounces@...] Im Auftrag von Johannes Stamminger Gesendet: Dienstag, 1. Juli 2008 15:51 An: cruisecontrol-user@... Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation On Tuesday 01 July 2008, Schroeder, Hartmut wrote: > hi, > my cruisecontrol installation doesn't have a log4j configuration. i didn't > find any log4j.xml or log4j-configuration.xml file. do i need to install > them? Background of my question is thread "Shell environment changes on switching cruisecontrol log level from DEBUG to INFO" started by me on 23.4. and filed as issue CC-798. And there could be a very little chance, that your problem is related (in fact I search for someone sharing our problem :-)). Our config "log4j.properties" is placed in the cc (2.7.1; in previous versions I was told it to be contained within some jar only by default) root dir and looks currently like: log4j.rootCategory=DEBUG,FILE # A1 is to console log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=[cc]%d{MMM-dd HH:mm:ss} %-14.14c{1}- %m%n # FILE is file logger with rotation log4j.appender.FILE=org.apache.log4j.RollingFileAppender log4j.appender.FILE.layout=org.apache.log4j.PatternLayout log4j.appender.FILE.layout.ConversionPattern=%d [%-9t] %-5p %-16c{1} %x- %m%n log4j.appender.FILE.File=cruisecontrol.log log4j.appender.FILE.MaxFileSize=20000KB log4j.appender.FILE.MaxBackupIndex=9 With switching the DEBUG to INFO in the first line, our scripts are no longer executed within the appropiate and expected environment (linux!) but a very basic one is used. You could give it a try and switch your log4j config to the one we use. At least you should see in the logfile then, what is happening ... Regards, Johannes Stamminger > > > hartmut > > -----Ursprüngliche Nachricht----- > Von: cruisecontrol-user-bounces@... > [mailto:cruisecontrol-user-bounces@...] Im Auftrag von > Johannes Stamminger Gesendet: Dienstag, 1. Juli 2008 13:49 > An: cruisecontrol-user@... > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > On Tuesday 01 July 2008, Johannes Stamminger wrote: > > Hi, > > > > what does your cruisecontrol log4j logfile looks like? > > Sorry, I meant the cruisecontrol log4j *configuration* file. > > Regards, > Johannes Stamminger > > > Johannes Stamminger > > > > On Tuesday 01 July 2008, Schroeder, Hartmut wrote: > > > let me explain a bit more: > > > i wrote a script 'test.sh' with the only content 'echo TEST'. in the > > > build.xml that is called from the <schedule> part of the config.xml, is > > > something like: > > > > > > <echo message="test1"/> > > > <exec executable="bash" dir="${build.root}"> > > > <arg value="test.sh"/> > > > </exec> > > > > > > it runs successfully, and the <htmlemail> publisher sends the mail, but > > > the mail contains only 'test1' but not 'TEST' > > > > > > > > > > > > hartmut > > > > > > > > > -----Ursprüngliche Nachricht----- > > > Von: cruisecontrol-user-bounces@... > > > [mailto:cruisecontrol-user-bounces@...] Im Auftrag > > > von EJ Ciramella Gesendet: Montag, 30. Juni 2008 18:41 > > > An: cruisecontrol-user@... > > > Betreff: Re: [Cruisecontrol-user] Problem with XSLT transformation > > > > > > You can't use the htmlMail notifier? > > > > > > -----Original Message----- > > > From: cruisecontrol-user-bounces@... > > > [mailto:cruisecontrol-user-bounces@...] On Behalf Of > > > Schroeder, Hartmut > > > Sent: Monday, June 30, 2008 12:09 PM > > > To: cruisecontrol-user@... > > > Subject: [Cruisecontrol-user] Problem with XSLT transformation > > > > > > Hi, > > > I've installed CC 2.7.2 on RedHat 5. I've installed a small application > > > like the example in the 'Getting Started' chapter, that is, with an ANT > > > script called from the 'schedule' part of the config.xml. The reporting > > > application runs, the 'xmllog' button shows me a lot in XML style. I > > > want simply to transform the XML to HTML and see the ANT output in the > > > result mail. > > > > > > I cannot find a proper XSL file to do the XSLT transformation. A > > > 'logfile.xsl' is not shipped and the 'buildresults.xsl' doesn't do what > > > I want. > > > > > > Can someone help? > > > > > > > > > > > > Thanks in advance. > > > Hartmut > > > > > > > > > ----------------------------------------------------------------------- > > >- - > > > Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Cruisecontrol-user mailing list > > > Cruisecontrol-user@... > > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > > ----------------------------------------------------------------------- > > >-- Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Cruisecontrol-user mailing list > > > Cruisecontrol-user@... > > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > > > > > > ----------------------------------------------------------------------- > > >-- Check out the new SourceForge.net Marketplace. > > > It's the best place to buy or sell services for > > > just about anything Open Source. > > > http://sourceforge.net/services/buy/index.php > > > _______________________________________________ > > > Cruisecontrol-user mailing list > > > Cruisecontrol-user@... > > > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > > > -- > > Johannes.Stamminger@... [2FE783D0 http://wwwkeys.PGP.net] > > ------ ----<--{(@ ------------------ EADS ASTRIUM > > Koenigsberger Str. 17, 28857 Barrien Ground System Eng. (TE55) > > +49 4242 169582 (Tel + FAX) Airbus Allee 1, 28199 Bremen > > +49 174 7731593 (Mobile) +49 421 539 4152 (Tel) / 4378 (FAX) > > > > This email (including any attachments) may contain confidential and/or > > privileged information or information otherwise protected from > > disclosure. If you are not the intended recipient, please notify the > > sender > > immediately, do not copy this message or any attachments and do not use > > it for any purpose or disclose its content to any person, but delete this > > message and any attachments from your system. Astrium disclaims any and > > all liability if this email transmission was virus corrupted, altered or > > falsified. --------------------------------------------------------- > > Astrium GmbH Vorsitzender des Aufsichtsrates: Thomas Mueller - > > Geschaeftsfuehrung: Evert Dudok (Vorsitzender), Dr. Reinhold Lutz, Pablo > > Salame Fischer, Guenter Stamerjohanns Sitz der Gesellschaft: Muenchen - > > Registergericht: Amtsgericht Muenchen, HRB Nr. 107 647 > > > > Weitere Informationen ueber EADS Astrium @ http://www.astrium.eads.net/ > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Cruisecontrol-user ma |