Skip to content

Commit

Permalink
Merge pull request #9 from ndeverge/master
Browse files Browse the repository at this point in the history
Problem of using the module in Play 1.2.4 without precompiled classes
  • Loading branch information
pepite committed Apr 25, 2012
2 parents 8fb0696 + a9a8901 commit 03b3ece
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -61,7 +61,7 @@ public Set<BeanDefinition> findCandidateComponents(String basePackage)
Logger.debug("Scanning class: " + appClass.name);

AbstractResource res = null;
if (System.clearProperty("precompile") == null) {
if (Play.usePrecompiled) {
File f = Play.getFile("precompiled/java/" + (appClass.name.replace(".", "/")) + ".class");
res = new InputStreamResource(new FileInputStream(f));
} else {
Expand Down

0 comments on commit 03b3ece

Please sign in to comment.