On 5/10/06, Michael Wechner <[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
