Set jazz.executable property on file
Accepted answer
If you are running on Linux, you could also set the file to executable. SCM should detect that change and change the properties accordingly once you check in and deliver.
Comments
thanks Ralph, once under Jazz Source Control what is the next option? When i select "File Property Preferences" it opens the Preferences window. Can you tell me what i can change in this window? thanks
also ive tried setting the files executable bit via cygwin on Windows machine while connected to the RTC repository however RTC does not pick up the changes.
Windows does not support executable flags in the file system as far as I know.
Colin, please see these screenshots:
1 vote
thanks Ralph, the Executable field is not modifiable on my version of RTC plugin. I'll update. cheers
Colin,
yes, I tried with 3.0.1 and the property is not editable. I now remember that was an issue. What I did to solve that once was to install the client on one Linux machine, load the workspace, set the x flag and check the changes back in. If you can't upgrade I would suggest that option. I agree that it is some effort.
Is the build machine a *ux machine? I assume that, because otherwise the x flag is just not there. You could use this machine. Potentially just use the Jazz command line, change the x flag and check in/deliver.
Shashikant,
There seems to be issue in RTC 4.0.0.1 with file executable property in Linux platform.
A binary file with Executable set to true and Execute permission to all ( eg: -rwxrwxr-x. copyiso ) and checked in and delivered to a stream using RTC 4.0.0.1 client in RHEL 6.3 Linux. to RTC 4.0.0.1 server.
When it is loaded back to workspace from the server with RTC 4.0.0.1 client, the file permissions becomes -rwxrw-r--. copyiso.
If RTC 3x client is used to load the same file to the workspace from RTC 4.0.0.1 server, it loads the file with right permissions -rwxrwxr-x. copyiso
This is causing some build issues in Linux where there is no execute permission to group and others.
Is this a known issue ? Is there any work around or setting in the RTC eclipse client for this problem ?
@Ralph When I select "Properties" from the context menu, the Properties dialog does not have "Jazz Source Control" - just "Resource" and "Run/Debug Settings" all other RTC functionality is working, such as create/load repo worspace, accept/check-in/deliver from "Pending Changes" view, etc...
We are on RTC-4.0.7 and can't change releases.
What do I do now?
Thanks, Chris
I just thew away my Eclipse workspace and re-created from scratch and now the "Jazz Source Control" appears in the file properties dialog.