Re: gwt 2.6 symlinks with jetty

2014-02-17 Thread Антон Печенко
I found solution at last.

It's needed to extend jetty launcher

public class JettyDvijokLauncher extends JettyLauncher {

@Override
public ServletContainer start(TreeLogger logger, int port, File appRootDir) 
throws 
Exception {
 ServletContainer sc = super.start(logger, port, appRootDir);
org.eclipse.jetty.util.resource.FileResource.setCheckAliases(false);
 return sc;
}
}

and then in run configuration: right click on Eclipse project - properties 
- run/debug settings - select configuration - edit - arguments tab - 
add to program arguments: -server full name of launcher class ( example: 
org.dvijok.launcher.JettyDvijokLauncher )



пятница, 14 февраля 2014 г., 22:23:10 UTC+6 пользователь Антон Печенко 
написал:

 Hi, all!

 With last update to gwt 2.6 I have headache tring to get jetty serve my 
 symlinked .html files. Now all of my projects had stopped to work. In 2.5 
 and earlier I edited included jetty config in gwt-dev.jar to 
 set org.mortbay.util.FileResource.checkAliases=false. Now it seems not 
 possible. So help me force jetty to see symlinks. Maybe it is possible to 
 pass some parameters to jetty somehow to do that.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


gwt 2.6 symlinks with jetty

2014-02-14 Thread Антон Печенко
Hi, all!

With last update to gwt 2.6 I have headache tring to get jetty serve my 
symlinked .html files. Now all of my projects had stopped to work. In 2.5 
and earlier I edited included jetty config in gwt-dev.jar to 
set org.mortbay.util.FileResource.checkAliases=false. Now it seems not 
possible. So help me force jetty to see symlinks. Maybe it is possible to 
pass some parameters to jetty somehow to do that.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.