Revision d85cfdf3
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/CsvPrintExportWizard.java | ||
---|---|---|
63 | 63 |
|
64 | 64 |
|
65 | 65 |
configurator.setClassificationUUID(page.getSelectedClassificationUUID()); |
66 |
// create job |
|
67 |
Job job = CdmStore.getExportManager().createIOServiceJob(configurator, new File(urlString)); |
|
68 |
// configure the job |
|
69 |
job.setProperty(IProgressConstants.KEEP_PROPERTY, true); |
|
70 |
job.setUser(true); |
|
71 |
// schedule job |
|
72 |
job.schedule(); |
|
66 | 73 |
|
67 |
|
|
68 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
|
69 |
// create job |
|
70 |
Job job = CdmStore.getExportManager().createIOServiceJob(configurator, new File(urlString)); |
|
71 |
// configure the job |
|
72 |
job.setProperty(IProgressConstants.KEEP_PROPERTY, true); |
|
73 |
job.setUser(true); |
|
74 |
// schedule job |
|
75 |
job.schedule(); |
|
76 |
} else { |
|
77 |
configurator.setDestination(new File(urlString)); |
|
78 |
CdmStore.getExportManager().run(configurator); |
|
79 |
} |
|
80 | 74 |
return true; |
81 | 75 |
} |
82 | 76 |
|
Also available in: Unified diff
fix #5759 remove all switches for remoting and standalone