Now Java2Script can be installed from Eclipse Update Manager with URL:
http://j2s.sourceforge.net/update/
It will redirect the download traffics to Sourceforge’s mirrors, so it will be safe and fast.
More technical details about hosting Eclipse plugin update manager on Sourceforge’s mirrors:
First, create your feature project and update site project. site.xml support mirrorURL attribute, you can create the mirrors.xml for your project’s mirror list of Sourceforge.net.
Second, you should map those “plugins/*.jar” to “*.jar” without the prefix “plugins/”.
Third, you should use “.htaccess” to redirect the default *.jar downloads (Someone will always select the default server, which is is not sourceforge mirror, to install) to a default mirror server. The “.htaccess” may looks like:
RewriteEngine On
RewriteBase /update/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^net\.sf\.j2s\.(.*)\.jar$ http://superb-east.dl.sourceforge.net/sourceforge/j2s/net.sf.j2s.$1.jar [R]
Last, use “File Release Sytem” to release your *.jar and site.xml, and update your .htacces, site.xml with features/*.jar (always small in size) into web site. And then test the installation.
Reference:
Plugging into SourceForge.net
http://www.eclipse.org/articles/Article-Plugging-into-SourceForge/sourceforge.html