I have checked in javadocs(html files) into svn. But, when I access the html files thru a browser, it gets interpreted as text. How, do I fix this ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SVN is not a webserver. I guess you are talking about Subversion’s Apache module!? If you want to view .html files as HTML then you should set
svn:mime-type=text/html:See Properties in the SVN Book.
Maybe you can configure your subversion client or server with the following lines in the config file:
This will automatically set the properties for new files.