Changeset 3264 for trunk/src/plugins
- Timestamp:
- Apr 23, 2007, 4:48:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/core/net/sf/basedb/plugins/Base1PluginExecuter.java
r3128 r3264 58 58 import net.sf.basedb.core.Transformation; 59 59 import net.sf.basedb.core.Type; 60 import net.sf.basedb.core.User; 60 61 import net.sf.basedb.core.plugin.About; 61 62 import net.sf.basedb.core.plugin.AboutImpl; … … 1012 1013 } 1013 1014 } 1014 String homeDirectoryPath = " ";1015 String homeDirectoryPath = "/" + PluginConfiguration.getById(dc, configuration.getId()).getName(); 1015 1016 Directory homeDirectory = experiment.getDirectory(); 1016 if (homeDirectory == null) 1017 { 1018 homeDirectoryPath = homeDirectory.getPath() + "/" + PluginConfiguration.getById(dc, configuration.getId()).getName(); 1017 if (homeDirectory != null) 1018 { 1019 homeDirectoryPath = homeDirectory.getPath() + homeDirectoryPath; 1020 } 1021 else 1022 { 1023 homeDirectory = User.getById(dc, sc.getLoggedInUserId()).getHomeDirectory(); 1024 if (homeDirectory != null) 1025 { 1026 homeDirectoryPath = homeDirectory.getPath() + homeDirectoryPath; 1027 } 1019 1028 } 1020 1029 pluginDirectoryParameter = new PluginParameter<String>(
Note: See TracChangeset
for help on using the changeset viewer.