I'd like to know if there is a way to make a custom build of the js-api with own code based on the js-api.
Esri itself doesn't provide a util folder for building the api, so I took the original util folder from the dojo-sdk. If I try to build I get the following error:
According to dojo-ticketsystems and/or threads, this error occurs when one tries to perform a build on a already build dojo. So I tried to replace the compressed dojo folders with the original uncompressed dojo folders (just to check if there is a problem with my profile). Now the build would be performed. Unfortunately Esri brings custom changes at least into the dojo.js file, so this approach wouldn't help since these changes would be lost.
I'd like to create a build where in the best case the build would end up with a single layerfile including all needed dojo & esri stuff + my own code.
How can I get the build system work with provided framework/api from Esri and do all the fine stuff which every dojo-developer can do with the build system?