Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
19 lines (13 loc) · 802 Bytes

File metadata and controls

19 lines (13 loc) · 802 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
JDOC_ROOT=target/site/apidocs
find $JDOC_ROOT/ -iname "*.html" -exec svn add '{}' ';' 2> /dev/null
# See http://stuffthathappens.com/blog/2007/11/09/howto-publish-javadoc-on-google-code/
find $JDOC_ROOT/ -iname "*.html" -exec svn propset svn:mime-type text/html '{}' ';'
find $JDOC_ROOT/ -iname "*.css" -exec svn propset svn:mime-type text/css '{}' ';'
find $JDOC_ROOT/ -iname "*.txt" -exec svn propset svn:mime-type text/plain '{}' ';'
find $JDOC_ROOT/ -iname "*.png" -exec svn propset svn:mime-type image/png '{}' ';'
find $JDOC_ROOT/ -iname "*.jpg" -exec svn propset svn:mime-type image/jpeg '{}' ';'
find $JDOC_ROOT/ -iname "*.jpeg" -exec svn propset svn:mime-type image/jpeg '{}' ';'
if [[ ! -z "$COMMIT" ]] ; then
svn commit $JDOC_ROOT -m "Javadoc propset update" ;
fi
Morty Proxy This is a proxified and sanitized view of the page, visit original site.