mirror of https://github.com/apache/activemq.git
work around processClass() issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac0462acef
commit
9ffd8b06be
|
@ -23,7 +23,6 @@ import java.util.ArrayList;
|
|||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.tools.ant.Project;
|
||||
import org.apache.tools.ant.taskdefs.FixCRLF;
|
||||
import org.codehaus.jam.JClass;
|
||||
|
@ -59,9 +58,14 @@ public abstract class MultiSourceGenerator extends OpenWireGenerator {
|
|||
|
||||
JamClassIterator iter = getClasses();
|
||||
while (iter.hasNext()) {
|
||||
jclass = iter.nextClass();
|
||||
if (isValidClass(jclass)) {
|
||||
processClass(jclass);
|
||||
try {
|
||||
jclass = iter.nextClass();
|
||||
if (isValidClass(jclass)) {
|
||||
processClass(jclass);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.err.println("Unable to process: " + jclass);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue