Hi Ricardo,
The source code available on the share folder, can I use it for doing a comparison, meaning can i compare 2 instances of the source code and get the differences [just to show if someone ask me what has been changed from last release vs new release].
Also can I copy the share folder source code directly into another environment IIS [i.e. development source code to QC server], will it work?
Thanks
Shashank
Shashannk,
The source code is just normal .cs files, so you can use any text file comparison tool you want to check for differences. However, I'm not sure how useful it would be to see differences in the generated code, as though it's fairly legible, it doesn't really tell you what has been changed functionally in an application. There's no comments etc. in the generated code!
As for your last question, we're talking about source code. So of course copying source code doesn't work, source code doesn't automagically compile itself. Also, the Platform always uses the eSpaces as base for compiling, so any publish or change to eSpaces will overwrite the copied source code. I have succesfully made changes to source code and compiled it when I was tracking Platform bugs, but those changes are always very temporary.
Thanks for the reply Kilian,
I thought the same. The problem is when someone ask a comparison of what has been changed from last release and people are used to know the file names.
By source code copy I meant that from one IIS server to another, but i realized that OuySystems also keep metadata in the database, so it can't be done.
Kilian Hekhuis wrote:
Hi Kilian,
Actually i also wanted to see the generated code. But i didn't have a folder named Platform Server in OutSystems. What should i do?
Regards
Devu
Hi Devu,
The generated code lives _on the server_, not on your local development machine. You can only look at the generated code if you have access to the file system of the server (which e.g. is not the case for a cloud-based solution like the Personal Environments).
Are you saying that i can't view the generated code? I really need to see the generated code for evaluation purpose. What should i do?
Regards,
That's true, you cannot see the code. Depending on what type of evaluation you want to do, you should contact your OutSystems sales rep.