Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4648205
Votes 0
Synopsis Error when running fmbatch with constant values page with FM 5.5.6
Category customdoclets:mifdoclet
Reported Against 1.2beta1
Release Fixed 1.2beta2
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs
Submit Date 06-MAR-2002
Description
Using Solaris FM 6.0, the constant values page is generated beautifully.
However, I get an fmbatch error.  The messages show that it generates the page
twice.
Then it fails by saying the file could not be opened (perhaps it is already
open?).

When using FM5.5.6 on Solaris, it hangs on the fmbatch command, never generating
any error messages or .fm or .pdf files.

(It works using FM 5.5.6 for   xxxxx@xxxxx  ).

% more runmif-constantvalues
/java/re/jdk/1.4.0/latest/binaries/solsparc/bin/javadoc -doclet com.sun.tools.doclets.mif.MIFDoclet -docletpath ../../build/solaris/jar/mifdoclet.jar -J-Xmx20M -batch fmbatch -print pdf -d docs-constantvalues -overviewfile ../../test/sample-src/overview.html -overviewtitle "Sample Packages" -overviewtree -group         "Summary of Sample Packages" "com.*" -membersummary compact -booktitle     "Sample Packages" -booksubtitle  "for Java\xaa" -bookversion   "Version 1.0" -bookauthor    "Duke" -bookpublisher "Sun Press" -bookcopyright "Copyright \xa9 2001 Duke, Inc." -constantvaluespage -noxrefpagenumber -sourcepath ../../test/sample-src com.package1 com.package2

[doog]/java/jdk/ws/tools/doclets/mif/dkramer/work/constantvalues
% runmif-constantvalues
Loading source files for package com.package1...
Loading source files for package com.package2...
Constructing Javadoc information...

MIF Doclet version 1.2 beta 2 (build 1.2-A, 05 Mar 2002)

Generating docs-constantvalues/mif/overview.mif...
Using default stylemap file...
Template Used:
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/template.mif
Using default batchmap file...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/fm/package-list...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/com.package1.mif...
Warning: No matching opening tag for: /b: class Class1
Warning: No matching opening tag for: /code: class Class1
Warning: No matching opening tag for: /b: class Class1
Warning: No matching opening tag for: /i: class Class1
Warning: class Class1: Unsupported HTML tag in documentation comment "<u>"
Warning: class Class1: Unsupported HTML tag in documentation comment "</u>"
Copying file ../../test/sample-src/com/package1/doc-files/package-intro.html to
directory
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/doc-files/com/package1...
Copying file ../../test/sample-src/com/package1/doc-files/network.gif to
directory
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/doc-files/com/package1...
Copying file ../../test/sample-src/com/package1/doc-files/Class1-example.html to
directory
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/doc-files/com/package1...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/com.package2.mif...
Copying file ../../test/sample-src/com/package2/doc-files/TextArea-1.gif to
directory
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/doc-files/com/package2...
Copying file ../../test/sample-src/com/package2/doc-files/package-intro.html to
directory
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/doc-files/com/package2...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/constant-values.mif...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/constant-values.mif...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/almanac.mif...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/api.book.mif...
Generating
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/mif-to-fm.batch...
Executing: fmbatch
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/mif-to-fm.batch...
starting maker ...
Frame reports error -1 "Couldn't open constant-values.fm"
maker: Using /net/irishmusic.eng/opt/local/framemaker,v6.0/fminit
maker: Starting FrameMaker 6.0. Copyright (c) 1986-2000  customer  Systems
Incorporated.
Error executing: fmbatch
/net/jano.sfbay/export/disk01/tools/doclets/mif/dkramer/work/constantvalues/docs-constantvalues/mif/mif-to-fm.batch


Notice the file is actually there:

% ll fm/constant-values.fm
-rw-rw-r--   1 dkramer  green      34816 Mar  6 10:48 fm/constant-values.fm
Work Around
N/A
Evaluation
Important for when we generated this page by default
  xxxxx@xxxxx   2002-03-06

Thanks for letting me know about this bug.  I checked the generated mif-to-fm.batch and noticed that I missed a step.  At the end of the script, the Update command needs to be run for each file.  Otherwise, you get an error message.  The Update command is now run for the constants value page.  I don't see the error message anymore.

I did not see this bug when I initially developed the constant values page because it does not show up in windows using dzbatcher.

  xxxxx@xxxxx   2002-05-04
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang