[Yanel-dev] yanel test: mistake in build

Michael Wechner michael.wechner at wyona.com
Wed Jan 26 12:38:42 CET 2011


Hi esther, jofi, chanceline and michel

It seems to me that you are missing the following file

src/core/java/org/wyona/yanel/core/ToolbarState.java

What SVN revision do you currently have? (type "svn info"). For example 
I have

svn info
Path: .
URL: https://svn.wyona.com/repos/public/yanel/trunk
Repository Root: https://svn.wyona.com/repos
Repository UUID: db03cdf0-32eb-0310-9083-ccfe9ce60729
Revision: 56313
Node Kind: directory
Schedule: normal
Last Changed Author: michi
Last Changed Rev: 56249
Last Changed Date: 2011-01-24 13:05:39 +0000 (Mon, 24 Jan 2011)


Is it possible that you SVN conflicts and hence the update did not finish?

(Type "svn status" to check).

I could imagine that you have conflicts because I have commited our 
recent test patches, but
have slightly modified them and hence they might create a conflict with 
your existing tests.

(If so, remove your conflicts and run "svn update" again)

Cheers

Michael


On 1/25/11 12:53 PM, kamerun at immerda.ch wrote:
> hello,
>
> we have done svn up but it failed
>
> /michel at ubu1010:~/wyona/yanel/trunk$ svn up
> Skipped 'src/realms/use-cases/yanel/src/test/canoo/tests/allTests.xml'
> svn: Failed to add file 
> 'src/realms/use-cases/yanel/src/test/canoo/tests/usecase-test-wiki-test-page.xml': 
> an unversioned file of the same name already exists
> michel at ubu1010:~/wyona/yanel/trunk$ ^C
> michel at ubu1010:~/wyona/yanel/trunk$
>
> /we found the mistake in allTests.xml this line
> /
> / <ant antfile="usecase-test-wiki-test-page.xml"/>
>
> was twice
>
> we correct it and we made the test again and it works without mistake
> now we start
> ./build.sh
>
>
> and we had following mistakes
> /
> compile-impl-classes:
>     [javac] Compiling 27 source files to 
> /home/michel/wyona/yanel/trunk/build/classes
>     [javac] 
> /home/michel/wyona/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java:526: 
> cannot find symbol
>     [javac] symbol  : class ToolbarState
>     [javac] location: package org.wyona.yanel.core
>     [javac]         org.wyona.yanel.core.ToolbarState ts = 
> getEnvironment().getToolbarState();
>     [javac]                             ^
>     [javac] 
> /home/michel/wyona/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java:526: 
> cannot find symbol
>     [javac] symbol  : method getToolbarState()
>     [javac] location: class org.wyona.yanel.core.Environment
>     [javac]         org.wyona.yanel.core.ToolbarState ts = 
> getEnvironment().getToolbarState();
>     
> [javac]                                                                ^
>     [javac] 
> /home/michel/wyona/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java:528: 
> cannot find symbol
>     [javac] symbol  : variable ON
>     [javac] location: class 
> org.wyona.yanel.impl.resources.BasicXMLResource
>     [javac]             case ON: return "on";
>     [javac]                  ^
>     [javac] 
> /home/michel/wyona/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java:529: 
> cannot find symbol
>     [javac] symbol  : variable SUPPRESSED
>     [javac] location: class 
> org.wyona.yanel.impl.resources.BasicXMLResource
>     [javac]             case SUPPRESSED: return "on"; // Strictly 
> backwards compatible
>     [javac]                  ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 4 errors
>
> BUILD FAILED
> /home/michel/wyona/yanel/trunk/src/build/build.xml:169: Compile 
> failed; see the compiler error output for details.
>
> Total time: 1 minute 9 seconds
> michel at ubu1010:~/wyona/yanel/trunk$
>
> /it is programing mistake here one example:
>
> /    [javac] 
> /home/michel/wyona/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java:529: 
> cannot find symbol/
> /
> /and in java program
> /
>
>     522     /**
>     523      * Get toolbar status from session
>     524      */
>     525     protected String getToolbarStatus() {
>     526         org.wyona.yanel.core.ToolbarState ts = 
> getEnvironment().getToolb    526 arState();
>     527         switch(ts) {
>     528             case ON: return "on";
>     529             case SUPPRESSED: return "on"; // Strictly 
> backwards compatib    529 le
>     530             //case SUPPRESSED: return "suppressed";
>     531             default: return "off";
>     532         }
>
>
>
> /we must anyway make a test environment on another machine, but it 
> takes hours. we say the result tomorrow/
>
> /ok bye
> esther
> jofi
> chanceline
> michel
>
> On 01/24/2011 04:34 PM, Michael Wechner wrote:
>> Hi Michel
>>
>> Can you try
>>
>> ./build.sh clean
>> ./build.sh
>>
>> ?
>>
>> Also can you send  a bit more of the log file?
>>
>> Best wishes to Limbe
>>
>> Michael
>>
>> On 1/24/11 12:57 PM, kamerun at immerda.ch wrote:
>>> hello,
>>>
>>> as promised, we want to make our daily test, but after svn up and 
>>> /built.sh ( we test build.sh start) we became the following mistake
>>>
>>>
>>>     [javac] Note: Recompile with -Xlint:unchecked for details.
>>>     [javac] 4 errors
>>>
>>> BUILD FAILED
>>> /home/michel/wyona/yanel/trunk/src/build/build.xml:169: Compile 
>>> failed; see the compiler error output for details.
>>>
>>> Total time: 18 seconds
>>> michel at ubu1010:~/wyona/yanel/trunk$
>>>
>>>
>>>
>>>
>>> we don't understand
>>>
>>> regards
>>> wyona team in limbe
>>>  --
>>> kamerun at immerda.ch
>>> homepage:
>>> http://sokolo.cronopios.org
>>> linux friends
>>> sokolo new road
>>> limbe / cameroun
>>> phone : (00237) 743 514 33
>>>
>>
>
>
> -- 
> kamerun at immerda.ch
> homepage:
> http://sokolo.cronopios.org
> linux friends
> sokolo new road
> limbe / cameroun
> phone : (00237) 743 514 33

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110126/e86fd55a/attachment.html>


More information about the Yanel-development mailing list