Package helma.framework.repository

Examples of helma.framework.repository.FileRepository


                    }
                }
            }

            if (appDir != null) {
                FileRepository appRep = new FileRepository(appDir);
                if (!repositoryList.contains(appRep)) {
                    repositoryList.add(appRep);
                }
            } else if (repositoryList.isEmpty()) {
                repositoryList.add(new FileRepository(
                        new File(server.getAppsHome(), appName)));
            }
            repositories = new Repository[repositoryList.size()];
            repositories = (Repository[]) repositoryList.toArray(repositories);
        }
View Full Code Here


                }
            }
        }
       
        // add app dir
        FileRepository appRep = new FileRepository(appDir);
        log("adding repository: " + appDir);
        if (!repositoryList.contains(appRep)) {
            repositoryList.add(appRep);
        }
View Full Code Here

TOP

Related Classes of helma.framework.repository.FileRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.