Ignore:
Timestamp:
08/21/12 14:57:54 (12 years ago)
Author:
sherbold
Message:
  • plugin mechanism now working correctly in assembly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-core/src/main/java/de/ugoe/cs/quest/plugin/PluginLoader.java

    r532 r582  
    229229                        return false; 
    230230                } 
    231                 return filename.startsWith("quest-plugin-") 
    232                                 && filename.endsWith(".jar") && filename.split("-").length == 4; 
     231                return filename.startsWith("quest-plugin-") && !filename.startsWith("quest-plugin-core") 
     232                                && 
     233                                ((filename.split("-").length == 4 && filename.endsWith(".jar")) || 
     234                                  filename.split("-").length == 5 && filename.endsWith("SNAPSHOT.jar")); 
    233235        } 
    234236         
Note: See TracChangeset for help on using the changeset viewer.