| [news.eclipse.technology.laszlo] Re: Invalid LPS web root with Laszlo 3.2cr2! |
if(lpsRoot == null || lpsRoot.equals(""))
return false;
File f = new File(lpsRoot);
if(f.exists() && f.isDirectory()) {
//Check for LPS 3.1
File nf = new File(lpsRoot + "/WEB-INF/lib");
if(nf.exists() && nf.isDirectory()) {
String[] list = nf.list();
for(int i=list.length-1; i>=0; i--) {
if(list[i].indexOf(LPS_MINIMUM_VERSION) != -1)
return true;
Stupid thing.
(I don't know as I don't use the build feature of the IDE).