You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Armin Rauch (JIRA)" <ji...@apache.org> on 2009/10/02 14:39:25 UTC
[jira] Created: (TAP5-871) Generation of Component Reference failed
on Windows
Generation of Component Reference failed on Windows
---------------------------------------------------
Key: TAP5-871
URL: https://issues.apache.org/jira/browse/TAP5-871
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-component-report
Affects Versions: 5.1.0.5
Reporter: Armin Rauch
The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
mvn site:stage -DstagingDirectory=C:\fullsite
......
[INFO] Cobertura Report generation was successful.
[INFO] Generating "Component Reference" report.
[INFO] Running JavaDoc to collect component parameter data ...
1 error
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error during page generation
Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
et
Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-871) Generation of Component
Reference failed on Windows
Posted by "Ville Virtanen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781414#action_12781414 ]
Ville Virtanen edited comment on TAP5-871 at 11/23/09 2:43 PM:
---------------------------------------------------------------
Just ran in to this problem and got too frustrated, so I just rolled my own.. Attached is zip that contains corrected version of tapestry-component-report. You can copy it to your .m2 directory to the correct location and then you are on your way.
Ugly solution was to replace
builder.append(path);
to
if(SystemUtils.IS_OS_WINDOWS) {
builder.append(path.replace("\\", "/"));
} else {
builder.append(path);
}
in line 839 in ComponentReport.java. This results corrected component-report-javadoc-arguments.txt file in windows but leaves the generation untouched in other platforms.
Also attached patch that corrects this problem.
was (Author: 9902468):
Just ran in to this problem and got too frustrated, so I just rolled my own.. Attached is zip that contains corrected version of tapestry-component-report. You can copy it to your .m2 directory to the correct location and then you are on your way.
Ugly solution was to replace
builder.append(path);
to
if(SystemUtils.IS_OS_WINDOWS) {
builder.append(path.replace("\\", "/"));
} else {
builder.append(path);
}
in line 839 in ComponentReport.java. This results corrected component-report-javadoc-arguments.txt file in windows but leaves the generation untouched in other platforms.
Also attached patch that corrects this problem that shouldn't exist at all if maven was coded correctly?
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Attachments: component_report.zip, component_report_patch.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-871) Generation of Component Reference
failed on Windows
Posted by "Christophe Cordenier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Cordenier reassigned TAP5-871:
-----------------------------------------
Assignee: Christophe Cordenier
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Assignee: Christophe Cordenier
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-871) Generation of Component Reference failed
on Windows
Posted by "Ville Virtanen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ville Virtanen updated TAP5-871:
--------------------------------
Attachment: component_report_patch.patch
component_report.zip
Just ran in to this problem and got too frustrated, so I just rolled my own.. Attached is zip that contains corrected version of tapestry-component-report. You can copy it to your .m2 directory to the correct location and then you are on your way.
Ugly solution was to replace
builder.append(path);
to
if(SystemUtils.IS_OS_WINDOWS) {
builder.append(path.replace("\\", "/"));
} else {
builder.append(path);
}
in line 839 in ComponentReport.java. This results corrected component-report-javadoc-arguments.txt file in windows but leaves the generation untouched in other platforms.
Also attached patch that corrects this problem that shouldn't exist at all if maven was coded correctly?
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Attachments: component_report.zip, component_report_patch.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-871) Generation of Component Reference failed
on Windows
Posted by "Christophe Cordenier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Cordenier closed TAP5-871.
-------------------------------------
Fix Version/s: 5.2.0
Resolution: Fixed
Patch committed.
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Assignee: Christophe Cordenier
> Fix For: 5.2.0
>
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-871) Generation of Component Reference failed
on Windows
Posted by "Christophe Cordenier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Cordenier closed TAP5-871.
-------------------------------------
Fix Version/s: 5.2.0
Resolution: Fixed
Patch committed.
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Assignee: Christophe Cordenier
> Fix For: 5.2.0
>
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-871) Generation of Component Reference failed
on Windows
Posted by "Ville Virtanen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ville Virtanen updated TAP5-871:
--------------------------------
Attachment: component_report_patch.patch
component_report.zip
Just ran in to this problem and got too frustrated, so I just rolled my own.. Attached is zip that contains corrected version of tapestry-component-report. You can copy it to your .m2 directory to the correct location and then you are on your way.
Ugly solution was to replace
builder.append(path);
to
if(SystemUtils.IS_OS_WINDOWS) {
builder.append(path.replace("\\", "/"));
} else {
builder.append(path);
}
in line 839 in ComponentReport.java. This results corrected component-report-javadoc-arguments.txt file in windows but leaves the generation untouched in other platforms.
Also attached patch that corrects this problem that shouldn't exist at all if maven was coded correctly?
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Attachments: component_report.zip, component_report_patch.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-871) Generation of Component Reference
failed on Windows
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896720#action_12896720 ]
Hudson commented on TAP5-871:
-----------------------------
Integrated in tapestry-5.2-freestyle #170 (See [http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/170/])
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Assignee: Christophe Cordenier
> Fix For: 5.2.0
>
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TAP5-871) Generation of Component
Reference failed on Windows
Posted by "Ville Virtanen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12781414#action_12781414 ]
Ville Virtanen edited comment on TAP5-871 at 11/23/09 2:43 PM:
---------------------------------------------------------------
Just ran in to this problem and got too frustrated, so I just rolled my own.. Attached is zip that contains corrected version of tapestry-component-report. You can copy it to your .m2 directory to the correct location and then you are on your way.
Ugly solution was to replace
builder.append(path);
to
if(SystemUtils.IS_OS_WINDOWS) {
builder.append(path.replace("\\", "/"));
} else {
builder.append(path);
}
in line 839 in ComponentReport.java. This results corrected component-report-javadoc-arguments.txt file in windows but leaves the generation untouched in other platforms.
Also attached patch that corrects this problem.
was (Author: 9902468):
Just ran in to this problem and got too frustrated, so I just rolled my own.. Attached is zip that contains corrected version of tapestry-component-report. You can copy it to your .m2 directory to the correct location and then you are on your way.
Ugly solution was to replace
builder.append(path);
to
if(SystemUtils.IS_OS_WINDOWS) {
builder.append(path.replace("\\", "/"));
} else {
builder.append(path);
}
in line 839 in ComponentReport.java. This results corrected component-report-javadoc-arguments.txt file in windows but leaves the generation untouched in other platforms.
Also attached patch that corrects this problem that shouldn't exist at all if maven was coded correctly?
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Attachments: component_report.zip, component_report_patch.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-871) Generation of Component Reference failed
on Windows
Posted by "Christophe Cordenier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Cordenier updated TAP5-871:
--------------------------------------
Attachment: TAP5-871.patch
What about calling a Java escape before append
builder.append(StringEscapeUtils.escapeJava(path));
Work on windows, i guess this will have no effect on Unix...
Patch attached.
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-871) Generation of Component Reference
failed on Windows
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896720#action_12896720 ]
Hudson commented on TAP5-871:
-----------------------------
Integrated in tapestry-5.2-freestyle #170 (See [http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/170/])
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Assignee: Christophe Cordenier
> Fix For: 5.2.0
>
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TAP5-871) Generation of Component Reference failed
on Windows
Posted by "Christophe Cordenier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Cordenier updated TAP5-871:
--------------------------------------
Attachment: TAP5-871.patch
What about calling a Java escape before append
builder.append(StringEscapeUtils.escapeJava(path));
Work on windows, i guess this will have no effect on Unix...
Patch attached.
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-871) Generation of Component Reference
failed on Windows
Posted by "Christophe Cordenier (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christophe Cordenier reassigned TAP5-871:
-----------------------------------------
Assignee: Christophe Cordenier
> Generation of Component Reference failed on Windows
> ---------------------------------------------------
>
> Key: TAP5-871
> URL: https://issues.apache.org/jira/browse/TAP5-871
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-component-report
> Affects Versions: 5.1.0.5
> Reporter: Armin Rauch
> Assignee: Christophe Cordenier
> Attachments: component_report.zip, component_report_patch.patch, TAP5-871.patch
>
>
> The maven site generation on my CI machine (which is running Linux) works well while using the tapestry-component-report plugin. If I try to stage the site on my windows development machine I encounter the following error during
> mvn site:stage -DstagingDirectory=C:\fullsite
> ......
> [INFO] Cobertura Report generation was successful.
> [INFO] Generating "Component Reference" report.
> [INFO] Running JavaDoc to collect component parameter data ...
> 1 error
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Javadoc exit code: 1 - javadoc: error - Cannot find doclet class org.apache.tapestry.mojo.ParametersDocl
> et
> Command line was: cmd.exe /X /C "c:\Programme\Java\jdk1.5.0_17\jre\..\bin\javadoc.exe @target/component-report-javadoc-arguments.txt"
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> I have tried to change all path entrys in the generated file component-report-javadoc-arguments.txt from '\' to '/' and executed the failing command line manually. Javadoc worked with the modified file. The generation of said file should be changed to a different path seperator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.