Community
Participate
Working Groups
I'm trying to reduce disk space used by tmf project downloads folder. The first possibility I saw, is to symlink main release javadoc [1] to existing service releases. For example if service release for 2.0 stream exists (e.g. 2.0.1), 2.0.0 javadoc can be linked to it. I did: ln -s 2.0.0 2.0.1 So it currently looks like this: dhubner@build:~/downloads/modeling/tmf/xtext/javadoc> ls -al insgesamt 24 drwxrwsr-x+ 6 dhubner modeling.tmf 4096 19. Dez 07:25 . drwxrwsr-x+ 6 sefftinge modeling.tmf 4096 30. Aug 13:04 .. lrwxrwxrwx 1 dhubner modeling.tmf 5 19. Dez 06:01 2.0.0 -> 2.0.1 drwxrwsr-x+ 4 dhubner modeling.tmf 4096 2. Aug 08:07 2.0.1 lrwxrwxrwx 1 dhubner modeling.tmf 5 19. Dez 06:13 2.1.0 -> 2.1.1 drwxrwsr-x+ 4 dhubner modeling.tmf 4096 10. Nov 09:35 2.1.1 drwxrwsr-x+ 7 dhubner modeling.tmf 4096 7. Dez 12:56 2.2.0 drwxrwsr-x+ 7 dhubner modeling.tmf 4096 13. Dez 10:00 2.2.1 The problem is that if I try to call the corresponding javadoc URL in my browser [2] "Access Forbidden" error occurs. How to fix this? Or is there maybe an other possibility to redirect all the 2.0.0 javadoc requests to 2.0.1? [1] http://www.eclipse.org/modeling/tmf/javadoc/ [2] http://download.eclipse.org/modeling/tmf/xtext/javadoc/2.0.0/
We don't allow symlinks on download.eclipse.org(for security reasons). You could create a page(.html) that indexed all of your javadoc content that had the 'correct' re-directed urls. -M.
(In reply to comment #1) > We don't allow symlinks on download.eclipse.org(for security reasons). You > could create a page(.html) that indexed all of your javadoc content that had > the 'correct' re-directed urls. > > -M. Wie reference some full qualified javadoc pages in the eclipse help, e.g. http://download.eclipse.org/modeling/tmf/xtext/javadoc/2.0.0/org/eclipse/xtext/ISetup.html Would it also work? Or do you mean I have to create a redirect html/php file for each existing html?
I was suggesting creating a 'single' index page that pointed at your docs, and the 'urls'(well the labels) can be whatever the symlink is: ie: <a href="http://download.eclipse.org/modeling/tmf/xtext/javadoc/2.0.1/somepage.html>Xtext 2.0.0 </a> Since symlinks aren't allowed even full path urls won't work(if the underlying content has been symlinked). -M.
(In reply to comment #3) > I was suggesting creating a 'single' index page that pointed at your docs, and > the 'urls'(well the labels) can be whatever the symlink is: > > ie: <a > href="http://download.eclipse.org/modeling/tmf/xtext/javadoc/2.0.1/somepage.html>Xtext > 2.0.0 </a> > > Since symlinks aren't allowed even full path urls won't work(if the underlying > content has been symlinked). > > -M. Thanks Matt, it's very important that existing eclipse help links to old javadoc still working. The only solution I currently see is to not symlink the content. Closing as WONTFIX, cause symlinking will probably not be allowed.