Exemplo n.º 1
0
 public String getSourcePath(Source source) {
   if (source == mainScriptSource) {
     return mainScriptFullPath;
   } else {
     return source.getPath();
   }
 }
Exemplo n.º 2
0
 public void setMainScriptSource(Source source) {
   this.mainScriptSource = source;
   if (!source.getPath().equals("-e")) {
     this.mainScriptFullPath = expandPath(context, source.getPath());
   }
 }