I am trying to import a javascript file from the repository into a webscript .js. I used the syntax from the Javascript API cookbook:
<import resource="/Company Home/Data Dictionary/Scripts/mylib.js">
It is the first line in my script and the file exsists in the repository. However when I attempt to run the webscript I get:
Failed to execute script '/helloWorld/helloworld.get.js (in repository store workspace://SpacesStore/Company Home/Data Dictionary/Web Scripts Extensions)': missing ; before statement (AlfrescoScript#1)
I am running 2.9c(816) on windows under tomcat. Any help would be appreciated.