You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently encountering an issue with Play not recognizing a plugin within one of my modules. It seems that Play only detects the plugin if I place my play.plugins file directly in the module, under the app directory.
Upon examining the addModule method in Play.java, I noticed that there's no provision for handling the module's configuration directory (conf). This absence raises questions about the inclusion of the conf directory for modules.
Code Snippet:
publicstaticvoidaddModule(VirtualFileappRoot, Stringname, Filepath) {
VirtualFileroot = VirtualFile.open(path);
modules.put(name, root);
if (root.child("app").exists()) {
javaPath.add(root.child("app"));
}
if (root.child("app/views").exists() || (usePrecompiled
&& appRoot.child("precompiled/templates/from_module_" + name + "/app/views").exists())) {
templatesPath.add(root.child("app/views"));
}
// Missing handling for the 'conf' directoryroots.add(root);
if (!name.startsWith("_")) {
Logger.info("Module %s is available (%s)", name, path.getAbsolutePath());
}
}
Issue:
The absence of inclusion of the module's conf directory in the addModule method raises questions about its intended handling. Specifically, I'm curious why the conf directory for modules isn't considered within this method. Is there a particular reason for this?
Expected Clarification:
Could someone shed light on why the module's conf directory is excluded from the addModule method? This omission has prompted inquiries, especially regarding the detection and usage of certain module configurations, such as the play.plugins file. Could anyone assist me in understanding how I should properly utilize the play.plugins file within a module?
The text was updated successfully, but these errors were encountered:
I'm currently encountering an issue with Play not recognizing a plugin within one of my modules. It seems that Play only detects the plugin if I place my
play.plugins
file directly in the module, under theapp
directory.Upon examining the
addModule
method inPlay.java
, I noticed that there's no provision for handling the module's configuration directory (conf
). This absence raises questions about the inclusion of theconf
directory for modules.Code Snippet:
Issue:
The absence of inclusion of the module's
conf
directory in theaddModule
method raises questions about its intended handling. Specifically, I'm curious why theconf
directory for modules isn't considered within this method. Is there a particular reason for this?Expected Clarification:
Could someone shed light on why the module's
conf
directory is excluded from theaddModule
method? This omission has prompted inquiries, especially regarding the detection and usage of certain module configurations, such as theplay.plugins
file. Could anyone assist me in understanding how I should properly utilize theplay.plugins
file within a module?The text was updated successfully, but these errors were encountered: