Author: mriou Date: Mon Jan 15 16:40:57 2007 New Revision: 496550 URL: http://svn.apache.org/viewvc?view=rev&rev=496550 Log: Should look in bpel files in subdirs as well...
Modified: incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java Modified: incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java URL: http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java?view=diff&rev=496550&r1=496549&r2=496550 ============================================================================== --- incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java (original) +++ incubator/ode/trunk/bpel-store/src/main/java/org/apache/ode/store/DeploymentUnitDir.java Mon Jan 15 16:40:57 2007 @@ -88,7 +88,7 @@ * starts compilation. */ void compile() { - File[] bpels = _duDirectory.listFiles(DeploymentUnitDir._bpelFilter); + ArrayList<File> bpels = listFilesRecursively(_duDirectory, DeploymentUnitDir._bpelFilter); for (File bpel : bpels) { compile(bpel); } @@ -96,7 +96,7 @@ void scan() { HashMap<QName, CBPInfo> processes = new HashMap<QName, CBPInfo>(); - File[] cbps = _duDirectory.listFiles(DeploymentUnitDir._cbpFilter); + ArrayList<File> cbps = listFilesRecursively(_duDirectory, DeploymentUnitDir._cbpFilter); for (File file : cbps) { CBPInfo cbpinfo = loadCBPInfo(file); processes.put(cbpinfo.processName, cbpinfo);