You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "Joseph Schmidt (JIRA)" <ji...@apache.org> on 2010/02/23 10:05:27 UTC

[jira] Created: (CLK-630) Building Click Documentation Fails (single targets).

Building Click Documentation Fails (single targets).
----------------------------------------------------

                 Key: CLK-630
                 URL: https://issues.apache.org/jira/browse/CLK-630
             Project: Click
          Issue Type: Bug
    Affects Versions: 2.1.0
         Environment: Windows Vista + JDK 1.6.0_18 + ANT 1.7.1 + Click From Trunk
            Reporter: Joseph Schmidt


Trying to build the Click documentation fails:

I was trying to build the 'htmlsingle' documentation and it's failing with the stack trace at the end of this message, by running the std.:
  ant get-deps
  ant htmlsingle

If I run this "htmlsingle" task after "html" task than it seems to work, but if I put "ant clean" in between than it fails again.

Thanks in advance,

Joseph.
P.S. I also reported this on the dev mailing list, but since nobody replied :( , I submitted this issue.
=======================================================================
     [java] Error at xsl:import on line 26 of file:/c:/frameworks/click/documentation/xdocs/target/tmp/htmlsingle.xsl:
     [java]   Failure reading file:/c:/frameworks/click/documentation/xdocs/target/tmp/html-style.xsl: no more input
     [java] Transformation failed: Failed to compile stylesheet. 1 error detected.
     [java] Java Result: 2
     [copy] Copying 108 files to c:\frameworks\click\documentation\xdocs\target\click\htmlsingle\images
     [copy] Copying 1 file to c:\frameworks\click\documentation\xdocs\target\click\htmlsingle\css

BUILD FAILED
c:\frameworks\click\documentation\xdocs\build.xml:48: The following error occurred while executing this line:
c:\frameworks\click\documentation\xdocs\build-docbook.xml:110: The following error occurred while executing this line:
c:\frameworks\click\documentation\xdocs\click-docbook\build-docbook.xml:310: Warning: Could not find file


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (CLK-630) Building Click Documentation Fails (single targets).

Posted by "Adrian A." <a....@gmail.com>.
> Would it be possible for this build process to be updated to generate
> DJVU file for the documentation too (along with the PDF)?
>
> DJVU seems to be an open source alternative to PDF, and it's also much
> more efficient and faster than PDF:
> http://djvu.org/
I think you should ask/discuss this feature at Velocity Docbook Project:
http://velocity.apache.org/docbook/

since the Click Documentation Build is using it.

Adrian.



Re: [jira] Created: (CLK-630) Building Click Documentation Fails (single targets).

Posted by Joseph Schmidt <jo...@yahoo.com>.
> I guess the reason for this is
> that html and htmlsingle should share the same style instead of
> maintaining duplicates.
Yes, you are right, thank you, I missed that :).

Would it be possible for this build process to be updated to generate 
DJVU file for the documentation too (along with the PDF)?

DJVU seems to be an open source alternative to PDF, and it's also much 
more efficient and faster than PDF:
http://djvu.org/

Joseph.


Re: [jira] Created: (CLK-630) Building Click Documentation Fails (single targets).

Posted by Bob Schellink <sa...@gmail.com>.
Not sure, but if you look under xdocs/src/styles there are only two folders, html and pdf, no 
htmlsingle. I guess the reason for this is that html and htmlsingle should share the same style 
instead of maintaining duplicates.

regards

bob

On 25/02/2010 12:51 AM, Joseph Schmidt wrote:
>> Building Click Documentation Fails (single targets).
>> ----------------------------------------------------
>> URL: https://issues.apache.org/jira/browse/CLK-630
> Any idea how to fix this?
> I tried to modify the ANT files but somehow can't get it work - probably
> I'm missing the obvious :(.
> Also it's strange that when running simply "ant" (i.e. to build all type
> of documentation), it works, but it's slow, and in the output it shows
> that click-docbook.zip is unpacked several times, not just once as it
> should.
>
> Also it would be nice to know why are there so many "ant" target calls
> inside the ANT files, i.e. it's not working just calling the tasks
> directly?
>
> Thank you,
> Joseph.
>
>
>


Re: [jira] Created: (CLK-630) Building Click Documentation Fails (single targets).

Posted by Joseph Schmidt <jo...@yahoo.com>.
> Building Click Documentation Fails (single targets).
> ----------------------------------------------------
>                   URL: https://issues.apache.org/jira/browse/CLK-630
Any idea how to fix this?
I tried to modify the ANT files but somehow can't get it work - probably 
I'm missing the obvious :(.
Also it's strange that when running simply "ant" (i.e. to build all type 
of documentation), it works, but it's slow, and in the output it shows 
that click-docbook.zip is unpacked several times, not just once as it 
should.

Also it would be nice to know why are there so many "ant" target calls 
inside the ANT files, i.e. it's not working just calling the tasks directly?

Thank you,
Joseph.



[jira] Closed: (CLK-630) Building Click Documentation Fails (single targets).

Posted by "Adrian A. (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLK-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian A. closed CLK-630.
-------------------------

    Resolution: Won't Fix

The documentation is supposed to be built for all supported file types.

> Building Click Documentation Fails (single targets).
> ----------------------------------------------------
>
>                 Key: CLK-630
>                 URL: https://issues.apache.org/jira/browse/CLK-630
>             Project: Click
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Windows Vista + JDK 1.6.0_18 + ANT 1.7.1 + Click From Trunk
>            Reporter: Joseph Schmidt
>
> Trying to build the Click documentation fails:
> I was trying to build the 'htmlsingle' documentation and it's failing with the stack trace at the end of this message, by running the std.:
>   ant get-deps
>   ant htmlsingle
> If I run this "htmlsingle" task after "html" task than it seems to work, but if I put "ant clean" in between than it fails again.
> Thanks in advance,
> Joseph.
> P.S. I also reported this on the dev mailing list, but since nobody replied :( , I submitted this issue.
> =======================================================================
>      [java] Error at xsl:import on line 26 of file:/c:/frameworks/click/documentation/xdocs/target/tmp/htmlsingle.xsl:
>      [java]   Failure reading file:/c:/frameworks/click/documentation/xdocs/target/tmp/html-style.xsl: no more input
>      [java] Transformation failed: Failed to compile stylesheet. 1 error detected.
>      [java] Java Result: 2
>      [copy] Copying 108 files to c:\frameworks\click\documentation\xdocs\target\click\htmlsingle\images
>      [copy] Copying 1 file to c:\frameworks\click\documentation\xdocs\target\click\htmlsingle\css
> BUILD FAILED
> c:\frameworks\click\documentation\xdocs\build.xml:48: The following error occurred while executing this line:
> c:\frameworks\click\documentation\xdocs\build-docbook.xml:110: The following error occurred while executing this line:
> c:\frameworks\click\documentation\xdocs\click-docbook\build-docbook.xml:310: Warning: Could not find file

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CLK-630) Building Click Documentation Fails (single targets).

Posted by "Adrian A. (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLK-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840827#action_12840827 ] 

Adrian A. commented on CLK-630:
-------------------------------

I'm getting this error to.
It looks to me like some Velocity Docbook Framework error, as it does not happen in the Click specific code.

> Building Click Documentation Fails (single targets).
> ----------------------------------------------------
>
>                 Key: CLK-630
>                 URL: https://issues.apache.org/jira/browse/CLK-630
>             Project: Click
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Windows Vista + JDK 1.6.0_18 + ANT 1.7.1 + Click From Trunk
>            Reporter: Joseph Schmidt
>
> Trying to build the Click documentation fails:
> I was trying to build the 'htmlsingle' documentation and it's failing with the stack trace at the end of this message, by running the std.:
>   ant get-deps
>   ant htmlsingle
> If I run this "htmlsingle" task after "html" task than it seems to work, but if I put "ant clean" in between than it fails again.
> Thanks in advance,
> Joseph.
> P.S. I also reported this on the dev mailing list, but since nobody replied :( , I submitted this issue.
> =======================================================================
>      [java] Error at xsl:import on line 26 of file:/c:/frameworks/click/documentation/xdocs/target/tmp/htmlsingle.xsl:
>      [java]   Failure reading file:/c:/frameworks/click/documentation/xdocs/target/tmp/html-style.xsl: no more input
>      [java] Transformation failed: Failed to compile stylesheet. 1 error detected.
>      [java] Java Result: 2
>      [copy] Copying 108 files to c:\frameworks\click\documentation\xdocs\target\click\htmlsingle\images
>      [copy] Copying 1 file to c:\frameworks\click\documentation\xdocs\target\click\htmlsingle\css
> BUILD FAILED
> c:\frameworks\click\documentation\xdocs\build.xml:48: The following error occurred while executing this line:
> c:\frameworks\click\documentation\xdocs\build-docbook.xml:110: The following error occurred while executing this line:
> c:\frameworks\click\documentation\xdocs\click-docbook\build-docbook.xml:310: Warning: Could not find file

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.