private String determineStartupScriptPath(IPath workspaceRelativeHtmlPath,ModuleFile referencedModule){
  IPath outRelativeHtmlPath=getOutDirRelativeHtmlPath(workspaceRelativeHtmlPath);
  if (outRelativeHtmlPath == null) {
    return null;
  }
  IPath outRelativeStartupScriptPath=getOutDirRelativeStartupScriptPath(referencedModule);
  return getRelativeUrl(outRelativeHtmlPath,outRelativeStartupScriptPath);
}

private String determineStartupScriptPath ( IPath workspaceRelativeHtmlPath , ModuleFile referencedModule ) { IPath outRelativeHtmlPath = getOutDirRelativeHtmlPath ( workspaceRelativeHtmlPath ) ; if ( outRelativeHtmlPath == null ) { return null ; } IPath outRelativeStartupScriptPath = getOutDirRelativeStartupScriptPath ( referencedModule ) ; return getRelativeUrl ( outRelativeHtmlPath , outRelativeStartupScriptPath ) ; }
given the workspace - relative path for the html host page and a gwt module , determine the relative path for loading that gwt module in the host page . this may return null in the case of an unexpected ( ie , likely - to - fail ) location for the host page ; callers should be able to handle this .
