It's all about the answers!

Ask a question

Changing Mime type on loaded files


Tom Frauenhofer (1.3k58435) | asked Aug 15 '08, 11:47 p.m.
I can see how to set the Mime type for a certain file extension before
loading files into a Repository Workspace.

(Window->Preferences/Jazz Source Control->File Properties)

I've loaded an entire source tree with files containing an unusual
extension. These files are all text, but because that extension isn't
defined above as a Text file, they've all been loaded as binary.

How can I change the Mime type on all files matching a given pattern
after they've been loaded ??

Thanks

4 answers



permanent link
Jean-Michel Lemieux (2.5k11) | answered Aug 16 '08, 9:37 p.m.
JAZZ DEVELOPER
Select the project containing the files and run Team > Change File Properties...
Jean-Michel Lemieux
Jazz Source Control

permanent link
Tom Frauenhofer (1.3k58435) | answered Aug 17 '08, 9:03 a.m.
Thanks Jean-Michel

When I do this, the dialog box presents me with a list of file
extensions, each of which has a pull-down selection for the MIME type.

However, for me, the MIME type pulldown has only one choice: the
currently assigned value.

jlemieux wrote:
Select the project containing the files and run Team > Change File
Properties...
Jean-Michel Lemieux
Jazz Source Control

permanent link
Jean-Michel Lemieux (2.5k11) | answered Aug 17 '08, 8:43 p.m.
JAZZ DEVELOPER
The you can assign it to any mime type that is appropriate for those files. Although we guess for new files, we don't yes provide a long default list if you want to reassign.
Jean-Michel
Jazz Source Control Team

permanent link
Tom Frauenhofer (1.3k58435) | answered Aug 17 '08, 9:49 p.m.
Ok I see ... I just overtype the MIME type.

Thanks

jlemieux wrote:
The you can assign it to any mime type that is appropriate for those
files. Although we guess for new files, we don't yes provide a long
default list if you want to reassign.
Jean-Michel
Jazz Source Control Team

Your answer


Register or to post your answer.