fredo Well-Known Member Licensed User Longtime User May 15, 2017 #1 To backup a project the "Export As Zip" function is very effective since it only archives the essentialy needed files and skips the hundreds of auxiliaryfiles every developer might have in the project folder. Since the .java files in \Objects\src were only needed in the build process they are obviously not archived. But there is a problem if one needs to locate the b4a source line that corresponds to the line tha is mentioned in a crash report: If one is working on version 1844 and the crash report is e.g. for an app version 1838 it is a challenge to find the correct line if the source has changed between versions. The exported zip of version 1838 is not helpful since... With an "IDE Option" like "Keeep .java on Export" the debugging of older versions would be more effective.
To backup a project the "Export As Zip" function is very effective since it only archives the essentialy needed files and skips the hundreds of auxiliaryfiles every developer might have in the project folder. Since the .java files in \Objects\src were only needed in the build process they are obviously not archived. But there is a problem if one needs to locate the b4a source line that corresponds to the line tha is mentioned in a crash report: If one is working on version 1844 and the crash report is e.g. for an app version 1838 it is a challenge to find the correct line if the source has changed between versions. The exported zip of version 1838 is not helpful since... With an "IDE Option" like "Keeep .java on Export" the debugging of older versions would be more effective.
Erel B4X founder Staff member Licensed User Longtime User May 16, 2017 #2 You can open the old project and compile it again. The line numbers should be the same or very close.
You can open the old project and compile it again. The line numbers should be the same or very close.
fredo Well-Known Member Licensed User Longtime User May 17, 2017 #3 Erel said: open the old project and compile it again Click to expand... At first I was glad that there was an obvious solution I haven't thought of. Today I needed to debug an older project and wasn't able to compile it: Since a library was updated in the meantime I can't compile the old project.
Erel said: open the old project and compile it again Click to expand... At first I was glad that there was an obvious solution I haven't thought of. Today I needed to debug an older project and wasn't able to compile it: Since a library was updated in the meantime I can't compile the old project.
Erel B4X founder Staff member Licensed User Longtime User May 18, 2017 #4 File - Export as zip will never include generated artifacts. This is not its purpose. You can use a custom build action if you like or zip the full project yourself.
File - Export as zip will never include generated artifacts. This is not its purpose. You can use a custom build action if you like or zip the full project yourself.