Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
I need to know how it is possible to get the class files from a java project under version control?
I know normally it is not necessary but in our use case we need it.
Thanks in advanced
Solved! Go to Solution.
Hi Javier,
The Integrity Eclipse Integration follows the Eclipse preferences for ignored resources, so to have the integration pick up these files, you need to remove *.class from the Team Ignored Resources. You can do this under: Window -> Preferences ->Team -> Ignored Resources, uncheck *.class.
Whether your view in Eclipse shows or doesn't show the .class files would be based on which views you're using in Eclipse, and how they are configured. I believe the Navigator view is the one most likely to show .class files by default, as opposed to the Package Explorer.
Does this help?
Kristina
Hello Javier,
Apparently (I'm not an Eclipse expert) this should be fairly straightforward to do. Could you post a screenshot of your Eclipse IDE, or describe it further? In particular, do you have the decorator open to show files under Source Integrity control, and do you have .jars listed as a resource type?
Regards,
Kael
Hello Kael,
thanks for your quick answer. Im using Eclipse Kepler and I installed the PTC Intgetiry Plugin. The integration is working fine and I can import a Integrity Source Eclipse Project and work on it.
As you can see on the picture if I modify a java file it is automatically lock in intgerity but the class file not.
In the Eclipse Client I was not able to display the class file and to add them to a Change Package.
Could you now understand my usecase better ?
Hi Javier,
The Integrity Eclipse Integration follows the Eclipse preferences for ignored resources, so to have the integration pick up these files, you need to remove *.class from the Team Ignored Resources. You can do this under: Window -> Preferences ->Team -> Ignored Resources, uncheck *.class.
Whether your view in Eclipse shows or doesn't show the .class files would be based on which views you're using in Eclipse, and how they are configured. I believe the Navigator view is the one most likely to show .class files by default, as opposed to the Package Explorer.
Does this help?
Kristina