Changeset 5775
- Timestamp:
- Sep 30, 2011, 9:44:07 AM (12 years ago)
- Location:
- trunk/src/core/net/sf/basedb/util/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/util/extensions/manager/processor/PluginInstallationProcessor.java
r5734 r5775 40 40 import net.sf.basedb.core.query.Restrictions; 41 41 import net.sf.basedb.util.FileUtil; 42 import net.sf.basedb.util.Values; 42 43 import net.sf.basedb.util.extensions.manager.ExtensionsFile.WriteableExtensionsFile; 43 44 import net.sf.basedb.util.extensions.manager.ExtensionsFile; … … 134 135 for (PluginInfo info : plugins) 135 136 { 137 boolean deprecated = Values.getBoolean(info.getProperty("deprecated")); 136 138 if (dc != null) 137 139 { … … 151 153 } 152 154 numProcessed++; 153 wFile.registerObject(new PluginInfoKey(info), info); 155 if (!deprecated || !info.isNotFound()) 156 { 157 wFile.registerObject(new PluginInfoKey(info), info); 158 } 154 159 } 155 160 } -
trunk/src/core/net/sf/basedb/util/extensions/xml/PluginInfo.java
r5760 r5775 72 72 private int internalId; 73 73 private boolean disabled; 74 private boolean notFound; 74 75 75 76 /** … … 152 153 } 153 154 155 /** 156 Does this plug-in exists on the server or not? 157 */ 158 public boolean isNotFound() 159 { 160 return notFound; 161 } 162 163 public void setNotFound(boolean notFound) 164 { 165 this.notFound = notFound; 166 } 154 167 }
Note: See TracChangeset
for help on using the changeset viewer.