Refresh online help
[udig:udig-platform.git] / gatherProperties
1 File pwd=new File('plugins')
2 File properties=new File('properties')
3 if( !properties.exists() )
4     properties.mkdir();
5 pwd.eachFileRecurse(){  file->
6    if( file.getName().endsWith(".properties") && !file.getName().matches(/.*_.?.?.properties/)  ){
7       def name=file.getAbsolutePath();
8       name=name.replace("/Users/Jesse/Development/repo/udig/udig3.1/plugins/","");
9       name=name.replace("/","_")
10       println "Copying $name"
11       File to=new File("properties/"+name);
12       to.write(file.getText());
13    }  
14 }