[Yanel-dev] yanel test: mistake in build
kamerun at immerda.ch
kamerun at immerda.ch
Tue Jan 25 13:53:02 CET 2011
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/20110125/1b789924/attachment.html>
More information about the Yanel-development
mailing list