[Yanel-development] Cannot build Yanel

Michael Wechner michael.wechner at wyona.com
Fri Nov 24 01:00:53 CET 2006


Michael Wechner wrote:

> Hi
>
> I cannot build Yanel at the moment (please see below).
>
> Any idea what might be wrong?


it seems that the dependencies of the xml and file resource weren't 
updated accordingly re yanel core API. I have fixed them such that these 
are using the source version.

Cheers

Michi

>
> Cheers
>
> Michi
>
>
> dependencies:
> [artifact:dependencies] There were no dependencies specified
>
> init:
>     [echo] Initialize build
>     [echo] Resource Home Directory: 
> /home/michi/src/wyona-svn/public/yanel/trunk/src/resources/file
>
> compile:
>    [mkdir] Created dir: 
> /home/michi/src/wyona-svn/public/yanel/trunk/src/resources/file/build/classes 
>
>    [javac] Compiling 1 source file to 
> /home/michi/src/wyona-svn/public/yanel/trunk/src/resources/file/build/classes 
>
>    [javac] 
> /home/michi/src/wyona-svn/public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/FileResource.java:81: 
> cannot resolve symbol
>    [javac] symbol  : method getRepositoryFactory (java.lang.String)
>    [javac] location: class org.wyona.yanel.core.Yanel
>    [javac]             org.wyona.yarep.util.RepoPath rpRTI = new 
> org.wyona.yarep.util.YarepUtil().getRepositoryPath(new 
> org.wyona.yarep.core.Path(path.toString()), 
> yanel.getRepositoryFactory("RTIRepositoryFactory"));
>    
> [javac]                                                                                                                                                               
> ^
>    [javac] 
> /home/michi/src/wyona-svn/public/yanel/trunk/src/resources/file/src/java/org/wyona/yanel/impl/resources/FileResource.java:242: 
> cannot resolve symbol
>    [javac] symbol  : method getRepositoryFactory (java.lang.String)
>    [javac] location: class org.wyona.yanel.core.Yanel
>    [javac]         return 
> yanel.getRepositoryFactory("DefaultRepositoryFactory");
>    [javac]                     ^
>    [javac] 2 errors
>
> BUILD FAILED
> /home/michi/src/wyona-svn/public/yanel/trunk/src/build/build.xml:667: 
> The following error occurred while executing this line:
> /home/michi/src/wyona-svn/public/yanel/trunk/build/resources.xml:12: 
> The following error occurred while executing this line:
> /home/michi/src/wyona-svn/public/yanel/trunk/src/resources/file/build.xml:31: 
> Compile failed; see the compiler error output for details.
>
> Total time: 16 seconds
>


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




More information about the Yanel-development mailing list