[Yanel-development] Cannot build Yanel
Michael Wechner
michael.wechner at wyona.com
Fri Nov 24 10:01:42 CET 2006
Josias Thöny wrote:
>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.
>
>
agreed, this is a problem
>How can we make sure it doesn't happen again?
>
>
I am currently thinking about something. I also owe you an answer to
your other email and will
try to come back to it as soon as possible.
Thanks
Michi
>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
>>>
>>>
>>>
>>
>>
>
>
>_______________________________________________
>Yanel-development mailing list
>Yanel-development at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>
>
--
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