Hi there,

I want to check out the features of sling, but I can not build the project 
from trunk.
My configuration is: 

Maven version: 2.0.9
Java version: 1.6.0_10
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

and this is the error:

C:\local\dev\workspace\sling\scripting\jsp>mvn package
[INFO] Scanning for projects...
[INFO] 
------------------------------------------------------------------------
[INFO] Building Sling - Scripting - JSP Support
[INFO]    task-segment: [package]
[INFO] 
------------------------------------------------------------------------
[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] Nothing to compile - all classes are up to date
[INFO] [scr:scr {execution: generate-scr-scrdescriptor}]
[INFO] Generating 2 MetaType Descriptors to 
C:\local\dev\workspace\sling\scripting\jsp\target\scr-plugin-generated\OSGI-INF\metatype\metatype.xml
[INFO] Writing abstract service descriptor 
C:\local\dev\workspace\sling\scripting\jsp\target\scr-plugin-generated\OSGI-INF\scr-plugin\scrinfo.xml
 
with 1 entries.
[INFO] Generating 1 Service Component Descriptors to 
C:\local\dev\workspace\sling\scripting\jsp\target\scr-plugin-generated\OSGI-INF\serviceComponents.xml
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [bundle:bundle]
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: There are split packages, use directive -split-package:=(merge-f
irst|merge-last) on instruction to get rid of this warning: 
org.apache.sling.scripting.jsp, classpath: [Jar:., 
Jar:org.apache.sling.api, Jar:org.apache.sling.scripting.api, Jar:bsf
-api, Jar:org.apache.sling.jcr.api, Jar:org.apache.sling.jcr.classloader, 
Jar:jsp-api, Jar:el-api, Jar:jasper-el, Jar:jasper-jdt] from: 
C:\local\dev\workspace\sling\scripting\jsp\t
arget\classes
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: There are split packages, use directive -split-package:=(merge-f
irst|merge-last) on instruction to get rid of this warning: 
org.apache.sling.scripting.jsp.jasper, classpath: [Jar:., 
Jar:org.apache.sling.api, Jar:org.apache.sling.scripting.api,
Jar:bsf-api, Jar:org.apache.sling.jcr.api, 
Jar:org.apache.sling.jcr.classloader, Jar:jsp-api, Jar:el-api, 
Jar:jasper-el, Jar:jasper-jdt] from: C:\local\dev\workspace\sling\scriptin
g\jsp\target\classes
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory el-api-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory jasper-jdt-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory jasper-el-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory jsp-api-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory el-api-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory jasper-jdt-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory jasper-el-6.0.14.jar
[WARNING] Warning building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: No sub JAR or directory jsp-api-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Input file does not exist: \local\repository\org\apache\tomcat\el-ap
i\6.0.14\el-api-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Input file does not exist: \local\repository\org\apache\tomcat\jaspe
r-jdt\6.0.14\jasper-jdt-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Input file does not exist: \local\repository\org\apache\tomcat\jaspe
r-el\6.0.14\jasper-el-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Input file does not exist: \local\repository\org\apache\tomcat\jsp-a
pi\6.0.14\jsp-api-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Cannot find a file or directory for Bundle-Classpath entry: el-api-6
.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Cannot find a file or directory for Bundle-Classpath entry: jasper-j
dt-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Cannot find a file or directory for Bundle-Classpath entry: jasper-e
l-6.0.14.jar
[ERROR] Error building bundle 
org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.3-incubator-SNAPSHOT 
: Cannot find a file or directory for Bundle-Classpath entry: jsp-api-
6.0.14.jar
[ERROR] Error(s) found in bundle configuration
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------

Thanks
Tobias


_________________________________________________________________

Sachsen DV Betriebs- und Servicegesellschaft mbH
Täubchenweg 26
04317 Leipzig
Amtsgericht Leipzig, HRB 18545

Geschäftsführer: Herbert Roller Brandão, Dr. Jean-Michael Pfitzner

Aufsichtsratsvorsitzender: Andreas Benninger

Reply via email to