branaway / japid42

A full feaured Java-based template engine for Play2
57 stars 11 forks source link

does not compile, missing commons lang dependency #2

Closed ymasory closed 12 years ago

ymasory commented 12 years ago
[japid42] $ compile
[info] Updating {file:/Users/yuvi/workspace/japid42/}japid42...
[info] Done updating.                                                                  
[info] Compiling 77 Java sources to /Users/yuvi/workspace/japid42/target/scala-2.9.1/classes...
[error] /Users/yuvi/workspace/japid42/app/cn/bran/play/Mail.java:27: package org.apache.commons.lang does not exist
[error] import org.apache.commons.lang.StringUtils;
[error]                               ^
[error] /Users/yuvi/workspace/japid42/app/cn/bran/play/Mail.java:96: cannot find symbol
[error] symbol  : variable StringUtils
[error] location: class cn.bran.play.Mail
[error]         if (email.getFromAddress() == null && !StringUtils.isEmpty(from)) {
[error]                                                ^
[error] /Users/yuvi/workspace/japid42/app/cn/bran/play/Mail.java:329: cannot find symbol
[error] symbol  : variable StringUtils
[error] location: class cn.bran.play.Mail.Mock
[error]                                 + (StringUtils.isEmpty(bodyPart.getFileName()) ? "none"
[error]                                    ^
[error] /Users/yuvi/workspace/japid42/app/cn/bran/play/Mail.java:336: cannot find symbol
[error] symbol  : variable StringUtils
[error] location: class cn.bran.play.Mail.Mock
[error]                                 + (StringUtils.isEmpty(bodyPart
[error]                                    ^
[error] /Users/yuvi/workspace/japid42/app/cn/bran/play/Mail.java:350: cannot find symbol
[error] symbol  : variable StringUtils
[error] location: class cn.bran.play.Mail.Mock
[error]                             + (StringUtils.isEmpty(message.getFileName()) ? "none"
[error]                                ^
[error] /Users/yuvi/workspace/japid42/app/cn/bran/play/Mail.java:357: cannot find symbol
[error] symbol  : variable StringUtils
[error] location: class cn.bran.play.Mail.Mock
[error]                             + (StringUtils.isEmpty(message.getDescription()) ? "none"
[error]                                ^
[error] Note: Some input files use or override a deprecated API.
[error] Note: Recompile with -Xlint:deprecation for details.
[error] Note: Some input files use unchecked or unsafe operations.
[error] Note: Recompile with -Xlint:unchecked for details.
[error] 6 errors
[error] {file:/Users/yuvi/workspace/japid42/}japid42/compile:compile: javac returned nonzero exit code
[error] Total time: 6 s, completed Oct 12, 2012 10:11:09 PM