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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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))