mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-22 13:47:02 +00:00
Recognise Groovy profiles during job discovery
This commit is contained in:
1 parent
b1e13c550b
commit
9e43fde053
2 files changed
+7
-1
No files matched your search
@@ -8,6 +8,10 @@
|
||||
|
||||
* **Profile selector:** You can now select a profile from a dropdown list when creating a new job.
|
||||
|
||||
### Bug fixes
|
||||
|
||||
* **Groovy profiles:** Fixed discovery of job directories containing `profile-crawler-beans.groovy`
|
||||
|
||||
## [3.14.1](https://github.com/internetarchive/heritrix3/releases/tag/3.14.1) (2026-04-06)
|
||||
|
||||
[Download distribution zip](https://repo1.maven.org/maven2/org/archive/heritrix/heritrix/3.14.1/heritrix-3.14.1-dist.zip) (or [tar.gz](https://repo1.maven.org/maven2/org/archive/heritrix/heritrix/3.14.1/heritrix-3.14.1-dist.tar.gz))
|
||||
|
||||
@@ -140,7 +140,9 @@ public class Engine {
|
||||
}
|
||||
File[] candidateConfigs = dir.listFiles(new FilenameFilter() {
|
||||
public boolean accept(File dir, String name) {
|
||||
return name.endsWith(".cxml") || name.equals("crawler-beans.groovy");
|
||||
return name.endsWith(".cxml") ||
|
||||
name.equals("crawler-beans.groovy") ||
|
||||
name.equals("profile-crawler-beans.groovy");
|
||||
}});
|
||||
if(candidateConfigs==null || candidateConfigs.length == 0) {
|
||||
// no CXML file found!
|
||||
|
||||
Reference in new issue
Block a user