Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Setting mime types as server attr, rather than each client

Our repository has a lot of files in it of type .xlf .

This is a form of XML -- but right not all of them have the file type of none / binary.

I want to change them to text / CRLF.

2 questions:

- It is possible to mass change these files at one time? The only way I've found to change them it to look at the properties of each file and change them one-by-one.

- Is there a way to set this file type on the server, so that all of the clients on our development team get a value of application/text for these file types? I know how to do it on my own workstation, but not change everyones' at once.

Thanks,
Greg

0 votes



3 answers

Permanent link
For the first question (mass changes), you can multi-select the files
you want to change in the Package Explorer, right click on one of the
selected files, and select "Team -> Change_File_Properties". That will
allow you to change the type of all of the selected files in one operation.

For the second question (server-side declaration of mime types), you
could look at work item 139709. If that's the kind of thing you had in
mind, feel free to add a comment indicating your interest/support.

Cheers,
Geoff

On 1/16/2012 3:38 PM, gregsmit wrote:
Our repository has a lot of files in it of type .xlf .

This is a form of XML -- but right not all of them have the file type
of none / binary.

I want to change them to text / CRLF.

2 questions:

- It is possible to mass change these files at one time? The only
way I've found to change them it to look at the properties of each
file and change them one-by-one.

- Is there a way to set this file type on the server, so that all of
the clients on our development team get a value of application/text
for these file types? I know how to do it on my own workstation, but
not change everyones' at once.

Thanks,
Greg

0 votes


Permanent link
Hi Geoff,

Thanks -- being able to select all files will be really handy.

One follow up question: If I change all of the files at once to "application/text" and "MSDOS" format, when I check in, will all of the files be changed to the new line feeds?

IE, do I need to actually open the file and save them, for the linefeeds to be changed, or will just taking that action do it for me?

I'm going to be changing about 2000 files at once

Thanks,
Greg

0 votes


Permanent link
When you apply this operation, it will modify all the files. Just
checkin and deliver your Unresolved changes, and it will deliver all
those changes to the stream in one operation (and one change set).

Cheers,
Geoff

On 1/17/2012 9:23 AM, gregsmit wrote:
Hi Geoff,

Thanks -- being able to select all files will be really handy.

One follow up question: If I change all of the files at once to
"application/text" and "MSDOS" format, when I
check in, will all of the files be changed to the new line feeds?

IE, do I need to actually open the file and save them, for the
linefeeds to be changed, or will just taking that action do it for
me?

I'm going to be changing about 2000 files at once

Thanks,
Greg

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 16 '12, 3:34 p.m.

Question was seen: 4,141 times

Last updated: Jan 16 '12, 3:34 p.m.

Confirmation Cancel Confirm