Replacement for dojo jazz.core.loader ?
I have a custom Rational Team Concert extension that requires in other custom dojo (javascript) files (in the same directory). All of These files are using the modern AMD syntax. I am using Rational Team Concert 6.0.1
|
One answer
If you are worried that your code may not work in the future when the Dojo framework is upgraded within CLM, you probably don't need to. From what I can gather, the Dojo framework within CLM is not going to change any time soon - the last major upgrade request that I can find is back in 2014.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hello Daniel,
I also (still) get this message.
Nevermind about this! It's just the way dojo handles this.
!Dont forget! If you want to use it this way, you have to access it through "dojo.global" after the require statement.
E.g. my.old.module --> dojo.global.my.old.module
Just keep in mind that the installed dojo Version is 1.8.4
At least in RTC 6.0.1
Since almost all of the IBM Code is written with the old Dojo, they just CANT make a major change in the dojo version.
Otherwise most of their code would become unusable!
Since the Dojo Team stated, that in the first few Versions of Dojo 2.0 AMD surely is usable dont worry too much.
If you use AMD Code. You're already ahead of IBM.
Greetings
Jonas Studer
Also Daniel,
You really shouldn't fear the deprecation.
We're creating big Widgets and still trying to handle it proper.
My tipp towards you:
Modularize you code as much as possible.
Since you can load your code relative in the AMD structure you just need one File in the old Syntax. All the other Code you just load relative.
The Error Messages will show you where the problem is.
Since you need to "require" all external Modules you'll be able to detect the problem relatively fast.
Also I'd suggest you to ALWAYS develop on the newest Versions of RTC.
So you'll be able to detect such as these things/changes before your Server Administrator wants to upgrade your system.
This is the Tool we're working on.
Timebox Planning Tool