@@ -423,6 +423,7 @@ public class ComponentHelper {
}
}
task = taskA;
task = taskA;
}
}
task.setProject( project );
task.setTaskType(taskType);
task.setTaskType(taskType);
// set default value, can be changed by the user
// set default value, can be changed by the user
@@ -631,7 +632,9 @@ public class ComponentHelper {
project.log("Loading with the core loader " + value,
project.log("Loading with the core loader " + value,
Project.MSG_DEBUG);
Project.MSG_DEBUG);
taskClass=project.getCoreLoader().loadClass(value);
taskClass=project.getCoreLoader().loadClass(value);
if( taskClass != null ) return taskClass;
if( taskClass != null ) {
return taskClass;
}
} catch( Exception ex ) {
} catch( Exception ex ) {
}
}
}
}
@@ -650,12 +653,17 @@ public class ComponentHelper {
// Hashtable implementation
// Hashtable implementation
public Object get( Object key ) {
public Object get( Object key ) {
Object orig=super.get( key );
Object orig=super.get( key );
if( orig!= null ) return orig;
if( ! (key instanceof String) ) return null;
if( orig!= null ) {
return orig;
}
if( ! (key instanceof String) ) {
return null;
}
project.log("Get task " + key, Project.MSG_DEBUG );
project.log("Get task " + key, Project.MSG_DEBUG );
Object taskClass=getTask( (String) key);
Object taskClass=getTask( (String) key);
if( taskClass != null)
if( taskClass != null) {
super.put( key, taskClass );
super.put( key, taskClass );
}
return taskClass;
return taskClass;
}
}