Menu

Exception when running latest code on Ext2.1

Help
PaulE
2008-07-24
2013-04-19
  • PaulE

    PaulE - 2008-07-24

    When running the current SVN Trunk version using Ext2.1, and trying to get it to generate the docs for ExtJS 2.1 i get the following exception...

         [java] js: "C:\javascript\jsdoc-tk-ext\app\../../ext-2.1/source/util/XTemplate.js#304(eval)", line 1: uncaught JavaScript runtime exception: ReferenceError: "Link" is not defined.

    It seems to be coming from following line in publish.js

    IO.saveFile(publish.conf.outDir + "symbols/", filename, classTpl.applyTemplate(symbol));

    When processing the object "Ext.data.ArrayReader"

    I'm at a loss of how to debug this further. Please Help.

    My goal was to generate the current Ext2.1 docs along side my own docs as i extend many of the classes and by generating it all together all the links back to the inherited classes would work, unless there is a way to do this and link it into an external copy of the core ExtJS docs (like you can do with JavaDoc)?

    But i can't even get the basic ExtJS docs to generate without this error.

    Thanks

    PaulE

     
    • PaulE

      PaulE - 2008-07-24

      Put the following catch block in publish.js
                  // render output for Class.File.html
                  try {
                      IO.saveFile(publish.conf.outDir + "symbols/", filename, classTpl.applyTemplate(symbol));                       
                  } catch(e) {
                     print("****Failed to genenate JsDocs for " + filename + " ("+e+")");
                     print("    Source = " + e.toSource());
                    
                  }

      Go the following output

      ****Failed to genenate JsDocs for Ext.data.ArrayReader.html (ReferenceError: "Link" is not defined.)
          Source = (new ReferenceError("\"Link\" is not defined.", "C:\\javascript\\jsdoc-tk-ext\\app\\../../ext-2.1/source/util/XTemplate.js#304(eval)", 1))
      ****Failed to genenate JsDocs for Ext.SplitBar.html (ReferenceError: "Link" is not defined.)
          Source = (new ReferenceError("\"Link\" is not defined.", "C:\\javascript\\jsdoc-tk-ext\\app\\../../ext-2.1/source/util/XTemplate.js#304(eval)", 1))
      ****Failed to genenate JsDocs for Ext.tree.AsyncTreeNode.html (TypeError: Cannot find function get.)
          Source = (new TypeError("Cannot find function get.", "C:\\javascript\\jsdoc-tk-ext\\app\\../../ext-2.1/source/util/XTemplate.js#194(Function)", 1))

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.