Dear team,

I've tried to build sling from scratch following the description "Getting and Building Sling". Unfortunately that fails with the following error


...
[INFO] ------------------------------------------------------------------------
[INFO] Building Sling - Scripting - JSP Support
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[echo] ********************** WARNING (SLING-443) ********************************** [echo] On most platforms, building Sling currently requires setting [echo] MAVEN_OPTS="-Xmx256M", see https://issues.apache.org/ jira/browse/SLING-443 [echo] You might get a "java.lang.OutOfMemoryError: Java heap space" if that
     [echo] setting is not correct.
[echo] ************************************************************************ *****
[INFO] Executed tasks
[INFO] [compiler:compile]
[INFO] Compiling 119 source files to /home/msahyoun/workspace/sling/ scripting/jsp/target/classes [INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/home/msahyoun/workspace/sling/scripting/jsp/src/main/java/org/apache/ sling/scripting/jsp/JspScriptEngineFactory.java:[326,16] cannot find symbol
symbol  : variable message
location: class org.apache.sling.scripting.jsp.JspScriptEngineFactory.BetterScriptExcept ion



/home/msahyoun/workspace/sling/scripting/jsp/src/main/java/org/apache/ sling/scripting/jsp/JspScriptEngineFactory.java:[326,16] cannot find symbol
symbol  : variable message
location: class org.apache.sling.scripting.jsp.JspScriptEngineFactory.BetterScriptExcept ion


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54 seconds
[INFO] Finished at: Tue Aug 19 13:07:12 CEST 2008
[INFO] Final Memory: 66M/159M
[INFO] ------------------------------------------------------------------------


Am I missing something?

With kind regards

Maruan Sahyoun

Reply via email to