buildframework/helium/external/helium-antlib/signaling/src/com/nokia/helium/signal/ant/types/SignalConfig.java
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
--- a/buildframework/helium/external/helium-antlib/signaling/src/com/nokia/helium/signal/ant/types/SignalConfig.java	Wed Oct 28 14:39:48 2009 +0000
+++ b/buildframework/helium/external/helium-antlib/signaling/src/com/nokia/helium/signal/ant/types/SignalConfig.java	Wed Dec 23 19:29:07 2009 +0200
@@ -48,6 +48,8 @@
 public class SignalConfig extends DataType
 {
    
+    private static boolean warningPrinted;
+    
     private Vector<ReferenceType> signalInputListRef = new Vector<ReferenceType>();
     private HashMap<String, TargetCondition> targetConditionsMap = new HashMap<String, TargetCondition>();
     private Vector<TargetCondition> targetConditions = new Vector<TargetCondition>();
@@ -55,15 +57,19 @@
     private Vector<LogSourceList> sourceList = new Vector<LogSourceList>();
     
     private String configID;
-
+    
+   
     
     /**
      * {@inheritDoc}
      */
     public void setProject(Project project) {
         super.setProject(project);
-        getProject().log("signalConfig element is now deprecated. Please consider moving to signalListenerConfig element or" + 
+        if (!warningPrinted) {
+            getProject().log("signalConfig element is now deprecated. Please consider moving to signalListenerConfig element or" + 
                 " signal task nested element.", Project.MSG_WARN);
+            warningPrinted = true;
+        }
     }
     
     /**