[Yanel-development] Cannot build Yanel

Josias Thöny josias.thoeny at wyona.com
Fri Nov 24 08:57:58 CET 2006


On Fri, 2006-11-24 at 01:00 +0100, Michael Wechner wrote:
> 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.

Sorry, I forgot to update the dependencies.
It's strange that it worked for me, though. It's this "unexpected"
behaviour of maven I mentionend in a previous email, when several
different versions of jar file are added as dependencies.
How can we make sure it doesn't happen again?

Josias

> 
> 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
> >
> 
> 




More information about the Yanel-development mailing list