Revision 87eea6d6
Added by Andreas Kohlbecker over 3 years ago
src/main/java/eu/etaxonomy/dataportal/DataPortalContext.java | ||
---|---|---|
13 | 13 |
import java.net.URI; |
14 | 14 |
|
15 | 15 |
import eu.etaxonomy.drush.DrushExecuter; |
16 |
import eu.etaxonomy.drush.DrushExecutionFailure; |
|
16 | 17 |
|
17 | 18 |
/** |
18 | 19 |
* |
... | ... | |
55 | 56 |
return pageHeader + " | " + getSiteName(); |
56 | 57 |
} |
57 | 58 |
|
58 |
public DrushExecuter drushExecuter() throws IOException, InterruptedException { |
|
59 |
public DrushExecuter drushExecuter() throws IOException, InterruptedException, DrushExecutionFailure {
|
|
59 | 60 |
DrushExecuter dex = new DrushExecuter(); |
60 | 61 |
dex.setDrupalRoot(drupalRoot); |
61 | 62 |
dex.setSiteURI(siteUri); |
Also available in: Unified diff
ref #9188 more robust and efficient DrushExecuter