commons.js location

Post here questions and problems related to oXygen frameworks/document types.
steve.cuzner
Posts: 72
Joined: Thu Mar 26, 2015 4:57 pm

commons.js location

Post by steve.cuzner »

at https://www.oxygenxml.com/doc/versions/ ... commons.js there is a note that says:
If you have a script called commons.js in the framework directory, you can call functions defined inside it from your custom script content so that you can use that external script file as a library of functions.
Where exactly in the framework directory should it go?
steve.cuzner
Posts: 72
Joined: Thu Mar 26, 2015 4:57 pm

Re: commons.js location

Post by steve.cuzner »

More specifically, does it have to be in the root of the framework folder or does it simply need to be in a folder on the classpath?
alex_jitianu
Posts: 1009
Joined: Wed Nov 16, 2005 11:11 am

Re: commons.js location

Post by alex_jitianu »

Hi,

It has to be in the root of the framework folder. That's the only place where we will look for it. I understand your predicament as for other settings we recommend to add the folder inside classpath so I will update the documentation to make this clear.

Best regards,
Alex
Post Reply