yes, I first tried a "clean install" from the main directory, but that did
not complete.
The missing files files e.g.
\local\repository\org\apache\tomcat\el-api\6.0.14\el-api-6.0.14.jar
are also in my maven-repository
C:\local\repository\org\apache\tomcat\el-api\6.0.14\el-api-6.0.14.jar
but they were not found while building the bundle.
Tobias
"Alexander Klimetschek" <[EMAIL PROTECTED]> wrote on 27.10.2008 17:42:18:
> [image removed]
>
> Re: can not build from trunk
>
> Alexander Klimetschek
>
> to:
>
> sling-dev
>
> 27.10.2008 17:43
>
> Please respond to sling-dev
>
> Have you tried a "mvn clean install" in the main directory
> (C:\local\dev\workspace\sling\)? Or simply a "mvn clean package" in
> scripting/jsp, since a clean sometimes helps.
>
> It looks like some jars are not found since they might be referenced
> in another subproject and require a full build before they are
> "available" to scripting/jsp. I did a clean build of the trunk this
> afternoon and it worked.
>
> Regards,
> Alex
>
> On Mon, Oct 27, 2008 at 5:35 PM, <[EMAIL PROTECTED]> wrote:
> > 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
>
>
>
> --
> Alexander Klimetschek
> [EMAIL PROTECTED]
_________________________________________________________________
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