db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lily Wei (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4875) cross-manual xref problems after doc build change
Date Fri, 29 Oct 2010 23:29:20 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926499#action_12926499
] 

Lily Wei commented on DERBY-4875:
---------------------------------

Will it be like Dag say it is relate to "${basedir}${file.separator}src" should be replaced
with "${dita.src.dir}"?
In   <target name="preprocess">
    <mkdir dir="${temp.source}"/>
    <mkdir dir="${temp.source}${file.separator}${manual.name}"/>

    <antcall target="preprocess-copy">
      <param name="source.dir" value="${basedir}${file.separator}src"/>   <<=======
      <param name="target.dir" value="${temp.source}"/>
      <param name="inclusions" value="*.dita"/>
    </antcall>

    <antcall target="preprocess-copy">
      <param name="source.dir" value="${basedir}${file.separator}src${file.separ  <<=======
ator}${manual.name}"/>
      <param name="target.dir" value="${temp.source}${file.separator}${manual.na
me}"/>
      <param name="inclusions" value="*.dita,*.ditamap"/>
    </antcall>

    However, this might not solve other expected SEVERE warnings. Just a thought.

> cross-manual xref problems after doc build change
> -------------------------------------------------
>
>                 Key: DERBY-4875
>                 URL: https://issues.apache.org/jira/browse/DERBY-4875
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.7.1.0
>            Reporter: Dag H. Wanvik
>            Assignee: Rick Hillegas
>         Attachments: derby-4875-01-aa-dontDeleteLastTemp.diff
>
>
> See thread http://old.nabble.com/Problems-with-docs-build-tt30078424.html#a30078424
> Possible cause (http://old.nabble.com/forum/Permalink.jtp?root=30078424&post=30082083&page=y)
> > After the patch, there is a new preprocessing step, that puts the
> > sources in a temp directory (from doc.properties):
> >
> >     temp.source=${basedir}/temp_source
> One problem is that after preprocessing of "ref", the references to
> devguide are assumed to be present as ../devguide, cf. the generated
> dita.list (snippet below). But the way the preprocessing is currently
> done, there is only one manual at a time inside temp_source.
> Presumably, since refs were not resolved, the devguide directory is also
> missing as observed.
> Dag
> Snippet of trunk/temp/dita.list (seen while processing html.ref, inside
> target "debug" of DITA../pretargets.xml, which calls module
> DebugAndFilter):
> rrefsqlj30540.dita,../devguide/cdevcsecuregrantrevokeaccess.dita,rrefjdbc37352.dita
> and then I see this warning:
> [xslt]
> /export/home/dag/java/sb/docs/trunk/DITA-OT1.1.2.1/xsl/preprocess/topicpull.xsl:410:27:
> Warning! Can not load requested doc:
> /export/home/dag/java/sb/docs/trunk/temp/../devguide/cdevcsecuregrantrevokeaccess.dita
> (No such file or directory)

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


Mime
View raw message