|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
PDF Generation ErrorHi, I tried using the PDF generator using the latest 0.3 JAR. Followed the steps as mentioned in the http://docs.codehaus.org/display/SONAR/Sonar+PDF+Plugin On executing, I got an Exception mvn sonar:sonar -Dsonar.host.url=http://localhost:8007/
-Dmaven.test.skip=true -Dsonar.projectDate=2009-10-17 [INFO] [pdf-report:generate] [INFO] No report type provided. Default report selected
(Team workbook) [INFO] Retrieving project info for be.telenet:comm.lang [ERROR] Can┤t
access to Sonar or project doesn't exist on Sonar instance. HTTP KO to http://localhost:8007//api/resources?resource=be.telenet:comm.lang&depth=0&format=xml java.io.IOException: Can┤t
access to Sonar or project doesn't exist on Sonar instance. at
org.sonar.report.pdf.util.SonarAccess.getUrlAsDocument(SonarAccess.java:51) at
org.sonar.report.pdf.entity.Project.initializeProject(Project.java:107) at
org.sonar.report.pdf.PDFReporter.getProject(PDFReporter.java:109) I realised that the trailing slash in the URL argument was
causing this. This trailing slash must be ignored…by the PDF generator as
it is pretty common to add trailing slashes on a URL. -Dsonar.host.url=http://localhost:8007/ I changed to -Dsonar.host.url=http://localhost:8007 and it
worked fine. Regards Saket
L.C Technical Architect | CME | TELENET | Extn 74100 I
think I've discovered the secret of life - you just hang around until you get
used to it. --Charles Schulz
|
|
|
|
Re: PDF Generation ErrorHello Saket,
Can you create a Jira ticket for this, please ? Thanks Olivier 2009/10/16 Saket Lakshminarayan Chiluveru <Saket_Chiluveru@...>
|
|
|
|
RE: PDF Generation ErrorDone http://jira.codehaus.org/browse/SONARPLUGINS-260 Regards Saket L.C Technical Architect | CME | TELENET | Extn 74100 I think I've discovered the secret of life - you just hang
around until you get used to it. --Charles Schulz From: Olivier Gaudin
[mailto:gaudol@...] Hello Saket, 2009/10/16 Saket Lakshminarayan Chiluveru <Saket_Chiluveru@...> Hi, I
tried using the PDF generator using the latest 0.3 JAR. Followed
the steps as mentioned in the http://docs.codehaus.org/display/SONAR/Sonar+PDF+Plugin On
executing, I got an Exception mvn
sonar:sonar -Dsonar.host.url=http://localhost:8007/
-Dmaven.test.skip=true -Dsonar.projectDate=2009-10-17 [INFO]
[pdf-report:generate] [INFO]
No report type provided. Default report selected (Team workbook) [INFO]
Retrieving project info for be.telenet:comm.lang [ERROR]
Can┤t access to Sonar or project doesn't exist on Sonar
instance. HTTP KO to
http://localhost:8007//api/resources?resource=be.telenet:comm.lang&depth=0&format=xml java.io.IOException:
Can┤t access to Sonar or project doesn't exist on Sonar
instance.
at org.sonar.report.pdf.util.SonarAccess.getUrlAsDocument(SonarAccess.java:51)
at org.sonar.report.pdf.entity.Project.initializeProject(Project.java:107)
at org.sonar.report.pdf.PDFReporter.getProject(PDFReporter.java:109) I
realised that the trailing slash in the URL argument was causing this. This
trailing slash must be ignored…by the PDF generator as it
is pretty common to add trailing slashes on a URL. -Dsonar.host.url=http://localhost:8007/ I
changed to -Dsonar.host.url=http://localhost:8007
and it worked fine. Regards Saket L.C Technical Architect | CME | TELENET | Extn
74100 I think I've
discovered the secret of life - you just hang around until you get used to it. --Charles Schulz
|
|
|
|
Re: PDF Generation ErrorThanks Saket and Olivier :)
2009/10/16 Saket Lakshminarayan Chiluveru <Saket_Chiluveru@...>
-- * Antonio Manuel Muñiz * amunizmartin.wordpress.com * amunizmartin@... |
|
|
|
Re: PDF Generation ErrorHello Saket,
It is solved in trunk. It will be available in PDF Report Plugin 0.4. Thanks for your feedback. 2009/10/17 Antonio Manuel Muñiz <amunizmartin@...> Thanks Saket and Olivier :) -- * Antonio Manuel Muñiz * amunizmartin.wordpress.com * amunizmartin@... |
| Free embeddable forum powered by Nabble | Forum Help |