lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Chestnut <dh...@virginia.edu>
Subject Re: jcr build error
Date Tue, 25 Apr 2006 14:50:09 GMT
Opps, had to move jcr-1.0.jar into cocoon\lib\core and set 
exclude.validate.jars to true in cocoons local.build.properties.  1.4 
builds w/o errors with jcr module.

--Doug

Doug Chestnut wrote:
> Hi devs,
> I am trying to build lenya 1.4 for jcr so I added the modules-optional 
> directory to my modules.root.dirs in local.build.properties like so:
> 
> modules.root.dirs=src/modules:src/pubs/default/modules:src/modules-optional
> 
> When I try to build I get the error below.  jcr-1.0.jar is in my lib dir 
> and jcr isn't disabled in cocoons local.blocks.properties.  Any hints on 
> what I am doing wrong?
> 
> Thanks,
> --Doug
> 
> compile:
> Compiling 528 source files to 
> C:\src\lenya-1.4.x\build\lenya\webapp\WEB-INF\clas
> ses
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaJCRSourceF 
> 
> actory.java:22: package org.apache.cocoon.jcr.source does not exist
> import org.apache.cocoon.jcr.source.JCRSourceFactory;
>                                     ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaJCRSourceF 
> 
> actory.java:25: cannot resolve symbol
> symbol  : class JCRSourceFactory
> location: class org.apache.lenya.cms.jcr.LenyaJCRSourceFactory
> public class LenyaJCRSourceFactory extends JCRSourceFactory {
>                                            ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaRepository 
> 
> .java:54: package org.apache.cocoon.jcr does not exist
> public class LenyaRepository extends 
> org.apache.cocoon.jcr.JackrabbitRepository
> {
>                                                           ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:34: package org.apache.cocoon.jcr.source does not exist
> import org.apache.cocoon.jcr.source.JCRNodeSource;
>                                     ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaJCRSourceF 
> 
> actory.java:28: cannot resolve symbol
> symbol  : variable super
> location: class org.apache.lenya.cms.jcr.LenyaJCRSourceFactory
>         Node node = super.createFileNode(folderNode, name);
>                     ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaRepository 
> 
> .java:66: cannot resolve symbol
> symbol  : variable super
> location: class org.apache.lenya.cms.jcr.LenyaRepository
>         super.configure(config);
>         ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaRepository 
> 
> .java:84: cannot resolve symbol
> symbol  : variable context
> location: class org.apache.lenya.cms.jcr.LenyaRepository
>         Map objectModel = ContextHelper.getObjectModel(this.context);
>                                                        ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\LenyaRepository 
> 
> .java:90: cannot resolve symbol
> symbol  : variable super
> location: class org.apache.lenya.cms.jcr.LenyaRepository
>                 jcrSession = super.login();
>                              ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:75: cannot resolve symbol
> symbol  : class JCRNodeSource
> location: class org.apache.lenya.cms.jcr.metadata.JCRMetaData
>         JCRNodeSource source = null;
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:78: cannot resolve symbol
> symbol  : class JCRNodeSource
> location: class org.apache.lenya.cms.jcr.metadata.JCRMetaData
>             source = (JCRNodeSource) resolver.resolveURI(this.sourceUri);
>                       ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:117: cannot resolve symbol
> symbol  : class JCRNodeSource
> location: class org.apache.lenya.cms.jcr.metadata.JCRMetaData
>         JCRNodeSource source = null;
>         ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:120: cannot resolve symbol
> symbol  : class JCRNodeSource
> location: class org.apache.lenya.cms.jcr.metadata.JCRMetaData
>             source = (JCRNodeSource) resolver.resolveURI(this.sourceUri);
>                       ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:219: cannot resolve symbol
> symbol  : class JCRNodeSource
> location: class org.apache.lenya.cms.jcr.metadata.JCRMetaData
>             JCRNodeSource source = (JCRNodeSource) 
> resolver.resolveURI(this.sour
> ceUri);
>             ^
> C:\src\lenya-1.4.x\build\lenya\java\src\org\apache\lenya\cms\jcr\metadata\JCRMet 
> 
> aData.java:219: cannot resolve symbol
> symbol  : class JCRNodeSource
> location: class org.apache.lenya.cms.jcr.metadata.JCRMetaData
>             JCRNodeSource source = (JCRNodeSource) 
> resolver.resolveURI(this.sour
> ceUri);
>                                     ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 14 errors
> 
> BUILD FAILED
> C:\src\lenya-1.4.x\src\targets\compile-build.xml:44: Compile failed; see 
> the com
> piler error output for details.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Mime
View raw message