You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Siva Kulendrasingam <su...@yahoo.com> on 2006/05/10 03:35:13 UTC

Problem with building Lenya

Hi,
   
  When I try to build Lenya, build failed as package org.apache.avalon.excalibur.io does not exist.
   
  Please find the build output below..
   
  Buildfile: build.xml
  init:
------------------- Apache Lenya 1.2.4 [1999-2005] ----------------
Building with Apache Ant version 1.6.5 compiled on June 2 2005
Using build file C:\WebPrj\src\apache-lenya-1.2.4-src\build.xml
  prepare-src:
Copying 0 directories to C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
Copying 0 files to C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
  compile:
Compiling 415 source files to C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\classes
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:26: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:28: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:25: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:26: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:25: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:36: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:28: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:25: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:28: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:29: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:27: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\lucene\IndexConfiguration.java:24: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\search\crawler\CrawlerConfiguration.java:25: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:27: package org.apache.avalon.excalibur.io does not exist
import org.apache.avalon.excalibur.io.FileUtil;
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:92: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.CopyPoliciesTask
    FileUtil.copyFile(authoringPolicies[i], destFile);
                                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:119: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.CopyResourcesTask
    FileUtil.copyFileToDirectory(
                                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:83: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.DeleteContentTask
    FileUtil.forceDelete(srcFile);
                                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:92: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.DeleteContentTask
     FileUtil.forceDelete(directory);
                                        ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:90: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.DeletePoliciesTask
            FileUtil.forceDelete(authoringPolicies[i]);
            ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:99: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.DeletePoliciesTask
          FileUtil.forceDelete(srcDir);
          ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:78: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.DeleteRCTask
    FileUtil.forceDelete(srcRcmlDir);
                                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:92: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.ant.DeleteRCTask
    FileUtil.forceDelete(srcRcbakDir);
                                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:120: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.cocoon.acting.UploadAction
        if (!fileName.matches(FILE_NAME_REGEXP) || FileUtil.getExtension(fileName).equals("")) {
                                                   ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:203: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
            FileUtil.copyFile(permFile, tempFile);
            ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:286: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
                FileUtil.copyFile(tempFile, permFile);
                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:76: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.publication.file.FilePublication
            FileUtil.copyFileToDirectory(file, destinationDirectory);
            ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:111: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.publication.task.PublicationTask
                FileUtil.copyFile(resources[i], destinationResource);
                ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:58: cannot resolve symbol
symbol: variable FileUtil 
            return file.isFile() && FileUtil.getExtension(file.getName()).equals("xml");
                                    ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\AbstractFilePublisher.java:52: package org.apache.avalon.excalibur.io does not exist
        org.apache.avalon.excalibur.io.FileUtil.copyFile(source, destination);
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:67: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
                    FileUtil.getPath(sources[index]));
                    ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:69: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
                    FileUtil.getPath(sources[index]));
                    ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:86: cannot resolve symbol
symbol  : variable FileUtil 
location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
                        FileUtil.copyFileToDirectory(resourceSources[j], destinationDir);
                        ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\FileUtil.java:149: package org.apache.avalon.excalibur.io does not exist
        org.apache.avalon.excalibur.io.FileUtil.copyFile(src, dest);
                                      ^
C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:127: cannot resolve symbol
symbol  : method copyFile (java.io.File,java.io.File)
location: class org.apache.lenya.util.FileUtil
        FileUtil.copyFile(temp, file);
                ^
34 errors

   
  Please help me to overcome this issue..
   
  Thanks
  Siva
   
   

		
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! FareChase 

Re: Problem with building Lenya

Posted by Josias Thöny <jo...@wyona.com>.
On Tue, 2006-05-09 at 18:35 -0700, Siva Kulendrasingam wrote:
> Hi,
>  
> When I try to build Lenya, build failed as package
> org.apache.avalon.excalibur.io does not exist.

Hi Siva,

Which version of cocoon are you using?
The excalibur-io-1.1.jar is provided by cocoon, in the lib/core
directory.
I think if you use the lenya 1.2.4 release you need cocoon 2.1.7. Newer
versions of cocoon (like 2.1.9) don't provide this jar file anymore.

hth,
Josias

>  
> Please find the build output below..
>  
> Buildfile: build.xml
> init:
> ------------------- Apache Lenya 1.2.4 [1999-2005] ----------------
> Building with Apache Ant version 1.6.5 compiled on June 2 2005
> Using build file C:\WebPrj\src\apache-lenya-1.2.4-src\build.xml
> prepare-src:
> Copying 0 directories to C:\WebPrj\src\apache-lenya-1.2.4-src\build
> \lenya\src
> Copying 0 files to C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya
> \src
> compile:
> Compiling 415 source files to C:\WebPrj\src\apache-lenya-1.2.4-src
> \build\lenya\classes
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\CopyPoliciesTask.java:26: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\CopyResourcesTask.java:28: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeleteContentTask.java:25: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeletePoliciesTask.java:26: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeleteRCTask.java:25: package org.apache.avalon.excalibur.io
> does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\cocoon\acting\UploadAction.java:36: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\cocoon\acting\XopusHandlerAction.java:28: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publication\file\FilePublication.java:25: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publication\task\PublicationTask.java:28: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publication\util\LinkRewriter.java:29: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publishing\ResourceFilePublisher.java:27: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \lucene\IndexConfiguration.java:24: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \search\crawler\CrawlerConfiguration.java:25: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \util\XPSFileOutputStream.java:27: package
> org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\CopyPoliciesTask.java:92: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.CopyPoliciesTask
>     FileUtil.copyFile(authoringPolicies[i], destFile);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\CopyResourcesTask.java:119: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.CopyResourcesTask
>     FileUtil.copyFileToDirectory(
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeleteContentTask.java:83: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.DeleteContentTask
>     FileUtil.forceDelete(srcFile);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeleteContentTask.java:92: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.DeleteContentTask
>      FileUtil.forceDelete(directory);
>                                         ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeletePoliciesTask.java:90: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.DeletePoliciesTask
>             FileUtil.forceDelete(authoringPolicies[i]);
>             ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeletePoliciesTask.java:99: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.DeletePoliciesTask
>           FileUtil.forceDelete(srcDir);
>           ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeleteRCTask.java:78: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.DeleteRCTask
>     FileUtil.forceDelete(srcRcmlDir);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\ant\DeleteRCTask.java:92: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.ant.DeleteRCTask
>     FileUtil.forceDelete(srcRcbakDir);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\cocoon\acting\UploadAction.java:120: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.cocoon.acting.UploadAction
>         if (!fileName.matches(FILE_NAME_REGEXP) ||
> FileUtil.getExtension(fileName).equals("")) {
>                                                    ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\cocoon\acting\XopusHandlerAction.java:203: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
>             FileUtil.copyFile(permFile, tempFile);
>             ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\cocoon\acting\XopusHandlerAction.java:286: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
>                 FileUtil.copyFile(tempFile, permFile);
>                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publication\file\FilePublication.java:76: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.publication.file.FilePublication
>             FileUtil.copyFileToDirectory(file, destinationDirectory);
>             ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publication\task\PublicationTask.java:111: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.publication.task.PublicationTask
>                 FileUtil.copyFile(resources[i], destinationResource);
>                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publication\util\LinkRewriter.java:58: cannot resolve symbol
> symbol: variable FileUtil 
>             return file.isFile() &&
> FileUtil.getExtension(file.getName()).equals("xml");
>                                     ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publishing\AbstractFilePublisher.java:52: package
> org.apache.avalon.excalibur.io does not exist
>         org.apache.avalon.excalibur.io.FileUtil.copyFile(source,
> destination);
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publishing\ResourceFilePublisher.java:67: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
>                     FileUtil.getPath(sources[index]));
>                     ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publishing\ResourceFilePublisher.java:69: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
>                     FileUtil.getPath(sources[index]));
>                     ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \cms\publishing\ResourceFilePublisher.java:86: cannot resolve symbol
> symbol  : variable FileUtil 
> location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
> 
> FileUtil.copyFileToDirectory(resourceSources[j], destinationDir);
>                         ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \util\FileUtil.java:149: package org.apache.avalon.excalibur.io does
> not exist
>         org.apache.avalon.excalibur.io.FileUtil.copyFile(src, dest);
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya
> \util\XPSFileOutputStream.java:127: cannot resolve symbol
> symbol  : method copyFile (java.io.File,java.io.File)
> location: class org.apache.lenya.util.FileUtil
>         FileUtil.copyFile(temp, file);
>                 ^
> 34 errors
> 
>  
> Please help me to overcome this issue..
>  
> Thanks
> Siva
>  
>  
> 
> ______________________________________________________________________
> Get amazing travel prices for air and hotel in one click on Yahoo!
> FareChase 


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


Re: Problem with building Lenya

Posted by Alexandre Poitras <al...@gmail.com>.
Oops, I was confusing the problem with another one I had when building. My
mistake, sorry!

On 5/10/06, Michael Wechner <mi...@wyona.com> wrote:
>
> Alexandre Poitras wrote:
>
> > This error happens when you are using a jdk >1.5.
>
>
> why has this anything to do with JDK 1.5 ?
>
> IIRC this is a Cocoon/Lenya version problem.
>
> Michi
>
> >
> > On 5/10/06, *Michael Wechner* <michael.wechner@wyona.com
> > <ma...@wyona.com>> wrote:
> >
> >     Siva Kulendrasingam wrote:
> >     > Hi,
> >     >
> >     > When I try to build Lenya, build failed as package
> >     > org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist.
> >
> >     What Cocoon version are you using? I think you need Cocoon-2.1.7
> >     because
> >     this library has been removed within
> >     Cocoon-2.1.8 ...
> >
> >     Or use Lenya 1.2.5-dev from SVN, because Lenya 1.2.5-dev includes
> the
> >     excalibur library:
> >
> >     https://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/lib
> >     <https://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/lib>
> >
> >     HTH
> >
> >     Michi
> >     >
> >     > Please find the build output below..
> >     >
> >     > Buildfile: build.xml
> >     > init:
> >     > ------------------- Apache Lenya 1.2.4 [1999-2005]
> ----------------
> >     > Building with Apache Ant version 1.6.5 compiled on June 2 2005
> >     > Using build file C:\WebPrj\src\apache-lenya-1.2.4-src\build.xml
> >     > prepare-src:
> >     > Copying 0 directories to
> >     > C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
> >     > Copying 0 files to C:\WebPrj\src\apache-
> >     lenya-1.2.4-src\build\lenya\src
> >     > compile:
> >     > Compiling 415 source files to
> >     > C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\classes
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:26:
> >
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:28:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:25:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     > C:\WebPrj\src\apache-
> >
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:26:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil ;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:25:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:36:
> >
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:28:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:25:
> >
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:28:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:29:
> >
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:27:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\lucene\IndexConfiguration.java:24:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     > C:\WebPrj\src\apache-
> >
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\search\crawler\CrawlerConfiguration.java:25:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:27:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     > import org.apache.avalon.excalibur.io.FileUtil;
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:92:
> >
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.CopyPoliciesTask
> >     >     FileUtil.copyFile(authoringPolicies[i], destFile);
> >     >                                 ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:119:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.CopyResourcesTask
> >     >     FileUtil.copyFileToDirectory(
> >     >                                 ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:83:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.DeleteContentTask
> >     >     FileUtil.forceDelete(srcFile);
> >     >                                 ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:92:
> >
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.DeleteContentTask
> >     >      FileUtil.forceDelete(directory);
> >     >                                         ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:90:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.DeletePoliciesTask
> >     >             FileUtil.forceDelete(authoringPolicies[i]);
> >     >             ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:99:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.DeletePoliciesTask
> >     >           FileUtil.forceDelete(srcDir);
> >     >           ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:78:
> >
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.DeleteRCTask
> >     >     FileUtil.forceDelete(srcRcmlDir);
> >     >                                 ^
> >     > C:\WebPrj\src\apache-
> >
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:92:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.ant.DeleteRCTask
> >     >     FileUtil.forceDelete (srcRcbakDir);
> >     >                                 ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:120:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class org.apache.lenya.cms.cocoon.acting.UploadAction
> >     >         if (!fileName.matches(FILE_NAME_REGEXP) ||
> >     > FileUtil.getExtension(fileName).equals("")) {
> >     >                                                    ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:203:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
> >     >             FileUtil.copyFile(permFile, tempFile);
> >     >             ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:286:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
> >     >                 FileUtil.copyFile(tempFile, permFile);
> >     >                 ^
> >     > C:\WebPrj\src\apache-
> >
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:76:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.publication.file.FilePublication
> >     >             FileUtil.copyFileToDirectory(file,
> >     destinationDirectory);
> >     >             ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:111:
> >
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.publication.task.PublicationTask
> >     >                 FileUtil.copyFile(resources[i],
> >     destinationResource);
> >     >                 ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:58:
> >     > cannot resolve symbol
> >     > symbol: variable FileUtil
> >     >             return file.isFile() &&
> >     > FileUtil.getExtension(file.getName()).equals("xml");
> >     >                                     ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\AbstractFilePublisher.java:52:
> >
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     >         org.apache.avalon.excalibur.io.FileUtil.copyFile(source,
> >     > destination);
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:67:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.publishing.ResourceFilePublisher
> >     >                     FileUtil.getPath(sources[index]));
> >     >                     ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:69:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.publishing.ResourceFilePublisher
> >     >                     FileUtil.getPath(sources[index]));
> >     >                     ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:86:
> >     > cannot resolve symbol
> >     > symbol  : variable FileUtil
> >     > location: class
> >     org.apache.lenya.cms.publishing.ResourceFilePublisher
> >     >
> >     > FileUtil.copyFileToDirectory(resourceSources[j], destinationDir);
> >     >                         ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\FileUtil.java:149:
> >     > package org.apache.avalon.excalibur.io
> >     <http://org.apache.avalon.excalibur.io> does not exist
> >     >         org.apache.avalon.excalibur.io.FileUtil.copyFile(src,
> dest);
> >     >                                       ^
> >     >
> >     C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:127:
> >     > cannot resolve symbol
> >     > symbol  : method copyFile (java.io.File,java.io.File)
> >     > location: class org.apache.lenya.util.FileUtil
> >     >         FileUtil.copyFile(temp, file);
> >     >                 ^
> >     > 34 errors
> >     >
> >     > Please help me to overcome this issue..
> >     >
> >     > Thanks
> >     > Siva
> >     >
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     > Get amazing travel prices for air and hotel in one click on Yahoo!
> >     > FareChase
> >     > <
> >
> http://farechase.yahoo.com/;_ylc=X3oDMTFpMnJnZ3IxBF9TAzk3NDA3NTg5BHNlYwNtYWlsLXRhZ2xpbmVzBHNsawNmYXJlY2hhc2UtMDQyNzA2
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> >     To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >     <ma...@lenya.apache.org>
> >     For additional commands, e-mail: user-help@lenya.apache.org
> >     <ma...@lenya.apache.org>
> >
> >
>
>
> --
> Michael Wechner
> Wyona      -   Open Source Content Management   -    Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> michael.wechner@wyona.com                        michi@apache.org
> +41 44 272 91 61
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

Re: Problem with building Lenya

Posted by Michael Wechner <mi...@wyona.com>.
Alexandre Poitras wrote:

> This error happens when you are using a jdk >1.5.


why has this anything to do with JDK 1.5 ?

IIRC this is a Cocoon/Lenya version problem.

Michi

>
> On 5/10/06, *Michael Wechner* <michael.wechner@wyona.com 
> <ma...@wyona.com>> wrote:
>
>     Siva Kulendrasingam wrote:
>     > Hi,
>     >
>     > When I try to build Lenya, build failed as package
>     > org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist.
>
>     What Cocoon version are you using? I think you need Cocoon-2.1.7
>     because
>     this library has been removed within
>     Cocoon-2.1.8 ...
>
>     Or use Lenya 1.2.5-dev from SVN, because Lenya 1.2.5-dev includes the
>     excalibur library:
>
>     https://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/lib
>     <https://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/lib>
>
>     HTH
>
>     Michi
>     >
>     > Please find the build output below..
>     >
>     > Buildfile: build.xml
>     > init:
>     > ------------------- Apache Lenya 1.2.4 [1999-2005] ----------------
>     > Building with Apache Ant version 1.6.5 compiled on June 2 2005
>     > Using build file C:\WebPrj\src\apache-lenya-1.2.4-src\build.xml
>     > prepare-src:
>     > Copying 0 directories to
>     > C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
>     > Copying 0 files to C:\WebPrj\src\apache-
>     lenya-1.2.4-src\build\lenya\src
>     > compile:
>     > Compiling 415 source files to
>     > C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\classes
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:26:
>
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:28:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:25:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     > C:\WebPrj\src\apache-
>     lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:26:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil ;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:25:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:36:
>
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:28:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:25:
>
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:28:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:29:
>
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:27:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\lucene\IndexConfiguration.java:24:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     > C:\WebPrj\src\apache-
>     lenya-1.2.4-src\build\lenya\src\org\apache\lenya\search\crawler\CrawlerConfiguration.java:25:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:27:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     > import org.apache.avalon.excalibur.io.FileUtil;
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:92:
>
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.CopyPoliciesTask
>     >     FileUtil.copyFile(authoringPolicies[i], destFile);
>     >                                 ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:119:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.CopyResourcesTask
>     >     FileUtil.copyFileToDirectory(
>     >                                 ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:83:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.DeleteContentTask
>     >     FileUtil.forceDelete(srcFile);
>     >                                 ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:92:
>
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.DeleteContentTask
>     >      FileUtil.forceDelete(directory);
>     >                                         ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:90:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.DeletePoliciesTask
>     >             FileUtil.forceDelete(authoringPolicies[i]);
>     >             ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:99:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.DeletePoliciesTask
>     >           FileUtil.forceDelete(srcDir);
>     >           ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:78:
>
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.DeleteRCTask
>     >     FileUtil.forceDelete(srcRcmlDir);
>     >                                 ^
>     > C:\WebPrj\src\apache-
>     lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:92:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.ant.DeleteRCTask
>     >     FileUtil.forceDelete (srcRcbakDir);
>     >                                 ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:120:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class org.apache.lenya.cms.cocoon.acting.UploadAction
>     >         if (!fileName.matches(FILE_NAME_REGEXP) ||
>     > FileUtil.getExtension(fileName).equals("")) {
>     >                                                    ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:203:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
>     >             FileUtil.copyFile(permFile, tempFile);
>     >             ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:286:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
>     >                 FileUtil.copyFile(tempFile, permFile);
>     >                 ^
>     > C:\WebPrj\src\apache-
>     lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:76:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.publication.file.FilePublication
>     >             FileUtil.copyFileToDirectory(file,
>     destinationDirectory);
>     >             ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:111:
>
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.publication.task.PublicationTask
>     >                 FileUtil.copyFile(resources[i],
>     destinationResource);
>     >                 ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:58:
>     > cannot resolve symbol
>     > symbol: variable FileUtil
>     >             return file.isFile() &&
>     > FileUtil.getExtension(file.getName()).equals("xml");
>     >                                     ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\AbstractFilePublisher.java:52:
>
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     >         org.apache.avalon.excalibur.io.FileUtil.copyFile(source,
>     > destination);
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:67:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.publishing.ResourceFilePublisher
>     >                     FileUtil.getPath(sources[index]));
>     >                     ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:69:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.publishing.ResourceFilePublisher
>     >                     FileUtil.getPath(sources[index]));
>     >                     ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:86:
>     > cannot resolve symbol
>     > symbol  : variable FileUtil
>     > location: class
>     org.apache.lenya.cms.publishing.ResourceFilePublisher
>     >
>     > FileUtil.copyFileToDirectory(resourceSources[j], destinationDir);
>     >                         ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\FileUtil.java:149:
>     > package org.apache.avalon.excalibur.io
>     <http://org.apache.avalon.excalibur.io> does not exist
>     >         org.apache.avalon.excalibur.io.FileUtil.copyFile(src, dest);
>     >                                       ^
>     >
>     C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:127:
>     > cannot resolve symbol
>     > symbol  : method copyFile (java.io.File,java.io.File)
>     > location: class org.apache.lenya.util.FileUtil
>     >         FileUtil.copyFile(temp, file);
>     >                 ^
>     > 34 errors
>     >
>     > Please help me to overcome this issue..
>     >
>     > Thanks
>     > Siva
>     >
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     > Get amazing travel prices for air and hotel in one click on Yahoo!
>     > FareChase
>     > <
>     http://farechase.yahoo.com/;_ylc=X3oDMTFpMnJnZ3IxBF9TAzk3NDA3NTg5BHNlYwNtYWlsLXRhZ2xpbmVzBHNsawNmYXJlY2hhc2UtMDQyNzA2>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>     <ma...@lenya.apache.org>
>     For additional commands, e-mail: user-help@lenya.apache.org
>     <ma...@lenya.apache.org>
>
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org
+41 44 272 91 61


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


Re: Problem with building Lenya

Posted by Alexandre Poitras <al...@gmail.com>.
This error happens when you are using a jdk >1.5.

On 5/10/06, Michael Wechner <mi...@wyona.com> wrote:
>
> Siva Kulendrasingam wrote:
> > Hi,
> >
> > When I try to build Lenya, build failed as package
> > org.apache.avalon.excalibur.io does not exist.
>
> What Cocoon version are you using? I think you need Cocoon-2.1.7 because
> this library has been removed within
> Cocoon-2.1.8 ...
>
> Or use Lenya 1.2.5-dev from SVN, because Lenya 1.2.5-dev includes the
> excalibur library:
>
> https://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/lib
>
> HTH
>
> Michi
> >
> > Please find the build output below..
> >
> > Buildfile: build.xml
> > init:
> > ------------------- Apache Lenya 1.2.4 [1999-2005] ----------------
> > Building with Apache Ant version 1.6.5 compiled on June 2 2005
> > Using build file C:\WebPrj\src\apache-lenya-1.2.4-src\build.xml
> > prepare-src:
> > Copying 0 directories to
> > C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
> > Copying 0 files to C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
> > compile:
> > Compiling 415 source files to
> > C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\classes
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:26:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:28:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:25:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:26:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:25:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:36:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:28:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:25:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:28:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:29:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:27:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\lucene\IndexConfiguration.java:24:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\search\crawler\CrawlerConfiguration.java:25:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:27:
> > package org.apache.avalon.excalibur.io does not exist
> > import org.apache.avalon.excalibur.io.FileUtil;
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:92:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.CopyPoliciesTask
> >     FileUtil.copyFile(authoringPolicies[i], destFile);
> >                                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:119:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.CopyResourcesTask
> >     FileUtil.copyFileToDirectory(
> >                                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:83:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.DeleteContentTask
> >     FileUtil.forceDelete(srcFile);
> >                                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:92:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.DeleteContentTask
> >      FileUtil.forceDelete(directory);
> >                                         ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:90:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.DeletePoliciesTask
> >             FileUtil.forceDelete(authoringPolicies[i]);
> >             ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:99:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.DeletePoliciesTask
> >           FileUtil.forceDelete(srcDir);
> >           ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:78:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.DeleteRCTask
> >     FileUtil.forceDelete(srcRcmlDir);
> >                                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:92:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.ant.DeleteRCTask
> >     FileUtil.forceDelete(srcRcbakDir);
> >                                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:120:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.cocoon.acting.UploadAction
> >         if (!fileName.matches(FILE_NAME_REGEXP) ||
> > FileUtil.getExtension(fileName).equals("")) {
> >                                                    ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:203:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
> >             FileUtil.copyFile(permFile, tempFile);
> >             ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:286:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
> >                 FileUtil.copyFile(tempFile, permFile);
> >                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:76:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.publication.file.FilePublication
> >             FileUtil.copyFileToDirectory(file, destinationDirectory);
> >             ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:111:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.publication.task.PublicationTask
> >                 FileUtil.copyFile(resources[i], destinationResource);
> >                 ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:58:
> > cannot resolve symbol
> > symbol: variable FileUtil
> >             return file.isFile() &&
> > FileUtil.getExtension(file.getName()).equals("xml");
> >                                     ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\AbstractFilePublisher.java:52:
> > package org.apache.avalon.excalibur.io does not exist
> >         org.apache.avalon.excalibur.io.FileUtil.copyFile(source,
> > destination);
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:67:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
> >                     FileUtil.getPath(sources[index]));
> >                     ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:69:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
> >                     FileUtil.getPath(sources[index]));
> >                     ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:86:
> > cannot resolve symbol
> > symbol  : variable FileUtil
> > location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
> >
> > FileUtil.copyFileToDirectory(resourceSources[j], destinationDir);
> >                         ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\FileUtil.java:149:
> > package org.apache.avalon.excalibur.io does not exist
> >         org.apache.avalon.excalibur.io.FileUtil.copyFile(src, dest);
> >                                       ^
> > C:\WebPrj\src\apache-
> lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:127:
> > cannot resolve symbol
> > symbol  : method copyFile (java.io.File,java.io.File)
> > location: class org.apache.lenya.util.FileUtil
> >         FileUtil.copyFile(temp, file);
> >                 ^
> > 34 errors
> >
> > Please help me to overcome this issue..
> >
> > Thanks
> > Siva
> >
> >
> >
> > ------------------------------------------------------------------------
> > Get amazing travel prices for air and hotel in one click on Yahoo!
> > FareChase
> > <
> http://farechase.yahoo.com/;_ylc=X3oDMTFpMnJnZ3IxBF9TAzk3NDA3NTg5BHNlYwNtYWlsLXRhZ2xpbmVzBHNsawNmYXJlY2hhc2UtMDQyNzA2
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>

Re: Problem with building Lenya

Posted by Michael Wechner <mi...@wyona.com>.
Siva Kulendrasingam wrote:
> Hi,
>  
> When I try to build Lenya, build failed as package 
> org.apache.avalon.excalibur.io does not exist.

What Cocoon version are you using? I think you need Cocoon-2.1.7 because 
this library has been removed within
Cocoon-2.1.8 ...

Or use Lenya 1.2.5-dev from SVN, because Lenya 1.2.5-dev includes the 
excalibur library:

https://svn.apache.org/repos/asf/lenya/branches/BRANCH_1_2_X/lib

HTH

Michi
>  
> Please find the build output below..
>  
> Buildfile: build.xml
> init:
> ------------------- Apache Lenya 1.2.4 [1999-2005] ----------------
> Building with Apache Ant version 1.6.5 compiled on June 2 2005
> Using build file C:\WebPrj\src\apache-lenya-1.2.4-src\build.xml
> prepare-src:
> Copying 0 directories to 
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
> Copying 0 files to C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src
> compile:
> Compiling 415 source files to 
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\classes
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:26: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:28: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:25: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:26: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:25: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:36: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:28: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:25: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:28: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:29: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:27: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\lucene\IndexConfiguration.java:24: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\search\crawler\CrawlerConfiguration.java:25: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:27: 
> package org.apache.avalon.excalibur.io does not exist
> import org.apache.avalon.excalibur.io.FileUtil;
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyPoliciesTask.java:92: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.CopyPoliciesTask
>     FileUtil.copyFile(authoringPolicies[i], destFile);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\CopyResourcesTask.java:119: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.CopyResourcesTask
>     FileUtil.copyFileToDirectory(
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:83: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.DeleteContentTask
>     FileUtil.forceDelete(srcFile);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteContentTask.java:92: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.DeleteContentTask
>      FileUtil.forceDelete(directory);
>                                         ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:90: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.DeletePoliciesTask
>             FileUtil.forceDelete(authoringPolicies[i]);
>             ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeletePoliciesTask.java:99: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.DeletePoliciesTask
>           FileUtil.forceDelete(srcDir);
>           ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:78: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.DeleteRCTask
>     FileUtil.forceDelete(srcRcmlDir);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\ant\DeleteRCTask.java:92: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.ant.DeleteRCTask
>     FileUtil.forceDelete(srcRcbakDir);
>                                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\UploadAction.java:120: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.cocoon.acting.UploadAction
>         if (!fileName.matches(FILE_NAME_REGEXP) || 
> FileUtil.getExtension(fileName).equals("")) {
>                                                    ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:203: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
>             FileUtil.copyFile(permFile, tempFile);
>             ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\cocoon\acting\XopusHandlerAction.java:286: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.cocoon.acting.XopusHandlerAction
>                 FileUtil.copyFile(tempFile, permFile);
>                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\file\FilePublication.java:76: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.publication.file.FilePublication
>             FileUtil.copyFileToDirectory(file, destinationDirectory);
>             ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\task\PublicationTask.java:111: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.publication.task.PublicationTask
>                 FileUtil.copyFile(resources[i], destinationResource);
>                 ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publication\util\LinkRewriter.java:58: 
> cannot resolve symbol
> symbol: variable FileUtil
>             return file.isFile() && 
> FileUtil.getExtension(file.getName()).equals("xml");
>                                     ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\AbstractFilePublisher.java:52: 
> package org.apache.avalon.excalibur.io does not exist
>         org.apache.avalon.excalibur.io.FileUtil.copyFile(source, 
> destination);
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:67: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
>                     FileUtil.getPath(sources[index]));
>                     ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:69: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
>                     FileUtil.getPath(sources[index]));
>                     ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\cms\publishing\ResourceFilePublisher.java:86: 
> cannot resolve symbol
> symbol  : variable FileUtil
> location: class org.apache.lenya.cms.publishing.ResourceFilePublisher
>                         
> FileUtil.copyFileToDirectory(resourceSources[j], destinationDir);
>                         ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\FileUtil.java:149: 
> package org.apache.avalon.excalibur.io does not exist
>         org.apache.avalon.excalibur.io.FileUtil.copyFile(src, dest);
>                                       ^
> C:\WebPrj\src\apache-lenya-1.2.4-src\build\lenya\src\org\apache\lenya\util\XPSFileOutputStream.java:127: 
> cannot resolve symbol
> symbol  : method copyFile (java.io.File,java.io.File)
> location: class org.apache.lenya.util.FileUtil
>         FileUtil.copyFile(temp, file);
>                 ^
> 34 errors
>  
> Please help me to overcome this issue..
>  
> Thanks
> Siva
>  
>  
>
> ------------------------------------------------------------------------
> Get amazing travel prices for air and hotel in one click on Yahoo! 
> FareChase 
> <http://farechase.yahoo.com/;_ylc=X3oDMTFpMnJnZ3IxBF9TAzk3NDA3NTg5BHNlYwNtYWlsLXRhZ2xpbmVzBHNsawNmYXJlY2hhc2UtMDQyNzA2> 



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