Subversion Repositories DevTools

Rev

Rev 1695 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1695 Rev 4810
Line 78... Line 78...
78
		}
78
		}
79
		
79
		
80
		for (Iterator it = this.devices.iterator(); it.hasNext(); ) 
80
		for (Iterator it = this.devices.iterator(); it.hasNext(); ) 
81
		{
81
		{
82
			Device device = (Device)it.next();
82
			Device device = (Device)it.next();
83
			if(device.version == 0)
83
			//if(device.version == 0)
84
			{
84
			{
85
				// Assume our version was hexadecimal - this is a hacky workaround for
85
				// Assume our version was hexadecimal - this is a hacky workaround for
86
				// the difficulty in converting between decimal-hex in an ANT script
86
				// the difficulty in converting between decimal-hex in an ANT script
87
				device.setVersion(Integer.parseInt(Integer.toString(this.version), 16));
87
				device.setVersion(Integer.parseInt(Integer.toString(this.version), 16));
-
 
88
				
-
 
89
				//log("device.version = " + this.version);
88
			}
90
			}
89
			device.validatePayload();
91
			device.validatePayload();
90
		}
92
		}
91
		
93
		
92
		this.valid = true;
94
		this.valid = true;
Line 175... Line 177...
175
			}
177
			}
176
			
178
			
177
			for (Iterator it = this.modules.iterator(); it.hasNext(); ) 
179
			for (Iterator it = this.modules.iterator(); it.hasNext(); ) 
178
			{
180
			{
179
				Module module = (Module)it.next();
181
				Module module = (Module)it.next();
180
				if(module.version == 0)
182
				//if(module.version == 0)
181
				{
183
				{
182
					module.setVersion(this.version);
184
					module.setVersion(this.version);
-
 
185
					
-
 
186
					//log("module.version = " + this.version);
183
				}				
187
				}				
184
				module.validatePayload();
188
				module.validatePayload();
185
			}
189
			}
186
			
190
			
187
			this.valid = true;
191
			this.valid = true;