This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
Hi Everyone?
Which folders of a Visualizer 7.3 workspace I don't need to add to my Git repository?
All the above files which you have mentioned are generated files and you can ignore those files. When you create a new project in the Visualizer, the files which are there in the new project are the original files to commit into the Git repository. You can ignore the remaining files.
Please check and let us know if you need any further support.
Versioning an entire workspace is NOT a reasonable solution if you have more than one project. You could of course have multiple workspaces and only one project per workspace, but then switching projects will require restarting Visualizer. The sensible thing is to ignore anything that can can cause merging conflicts BUT but is not a source file -such as temporary files- AND can also be auto-generated by the build, so that a newly cloned project won't break. If you'd like a comprehensive answer plus the tips and tricks I use on a daily basis, and regular updates on how this evolves with newer versions of Visualizer please go here:
https://goo.gl/jhGBTy
If you're just looking for a quick .gitignore, here it is:
/jssrc/*
!/resources/customlibs/jsSrc
Starting with Visualizer 8.0 the Ant Contrib Jar used for the build process will
be regenerated when the build is fired. If you’re using Visualizer 7.x then comment out
this line. Vis 7.x will not regenerate this jar and ignoring it will break your project.
ant-contrib-0.6.jar
Binaries.
/binaries
*.apk
*.KAR
Starting with Vis 7.3 the /sdkplugin.properties file has been moved to
/resources/customlibs/sdkplugin.properties and can be automatically re-created by Vis
during the build.
resources/customlibs/sdkplugin.properties
The jar’s and zip’s under these directories can be ignored so long as
sdkplugin.properties (See above) is also ignored. The missing sdkplugin.properties will
trigger the regeneration of these jar’s and zip’s during the build.
For a comprehensive answer to this question and more on using Git on Visualizer projects you can go to: https://basecamp.kony.com/s/article-detail/a046A00000AT2AlQAL/git-for-visualizer-projects