Lines 320-326
Link Here
|
320 |
boolean ejbsChanged = false; |
320 |
boolean ejbsChanged = false; |
321 |
List changedEjbs = Collections.EMPTY_LIST; |
321 |
List changedEjbs = Collections.EMPTY_LIST; |
322 |
ModuleType moduleType = null; |
322 |
ModuleType moduleType = null; |
323 |
|
323 |
List changedFiles = new ArrayList(); |
324 |
List descriptorRelativePaths; |
324 |
List descriptorRelativePaths; |
325 |
List serverDescriptorRelativePaths; |
325 |
List serverDescriptorRelativePaths; |
326 |
AppChanges() { |
326 |
AppChanges() { |
Lines 339-344
Link Here
|
339 |
List ejbs = Arrays.asList(changes.getChangedEjbs()); |
339 |
List ejbs = Arrays.asList(changes.getChangedEjbs()); |
340 |
if (ejbs.size() > 0) |
340 |
if (ejbs.size() > 0) |
341 |
changedEjbs.addAll(ejbs); |
341 |
changedEjbs.addAll(ejbs); |
|
|
342 |
changedFiles.addAll(changes.changedFiles); |
342 |
} |
343 |
} |
343 |
|
344 |
|
344 |
private void record(String relativePath) { |
345 |
private void record(String relativePath) { |
Lines 362-368
Link Here
|
362 |
serverDescriptorChanged = true; |
363 |
serverDescriptorChanged = true; |
363 |
return; |
364 |
return; |
364 |
} |
365 |
} |
|
|
366 |
changedFiles.add(new File(relativePath)); |
365 |
} |
367 |
} |
|
|
368 |
|
366 |
private void record(ModuleChangeReporter mcr, long since) { |
369 |
private void record(ModuleChangeReporter mcr, long since) { |
367 |
EjbChangeDescriptor ecd = mcr.getEjbChanges(since); |
370 |
EjbChangeDescriptor ecd = mcr.getEjbChanges(since); |
368 |
ejbsChanged = ecd.ejbsChanged(); |
371 |
ejbsChanged = ecd.ejbsChanged(); |
Lines 380-385
Link Here
|
380 |
public boolean ejbsChanged() { return ejbsChanged; } |
383 |
public boolean ejbsChanged() { return ejbsChanged; } |
381 |
public String[] getChangedEjbs() { |
384 |
public String[] getChangedEjbs() { |
382 |
return (String[]) changedEjbs.toArray(new String[]{}); |
385 |
return (String[]) changedEjbs.toArray(new String[]{}); |
|
|
386 |
} |
387 |
public File[] getChangedFiles() { |
388 |
return (File[]) changedFiles.toArray(new File[changedFiles.size()]); |
383 |
} |
389 |
} |
384 |
} |
390 |
} |
385 |
} |
391 |
} |