[Yanel-dev] outsourcing?!?

Michael Wechner michael.wechner at wyona.com
Wed Feb 3 09:47:02 CET 2010


Dear Michel

kamerun at immerda.ch wrote:
> hello,
>
> we have begun to install yanel in a computer in the school in limbe,

great
> but...
>
> we begun on friday and it was going all the day and the build.sh was 
> not finished.

during the build a lot of libraries are being downloaded (especially 
some big GWT libs, approx 20MB) and depending on your internet 
connection it can take
a while
>
> after hours it finished, but build.sh was ok but when i will start 
> yanel it tells me it has no tomcat

did you run configure first?
>
> we restart an installation sunday night, it was better and in the 
> morning we start
> ./configure
> ./build.sh
>
> but...
> /
> deploy-to-tomcat-cluster-node1:
>    [echo] Copy webapp 
> (/home/michel/wyona/src/yanel-trunk/tools/apache-tomcat//webapps):
>
> BUILD FAILED
> /home/michel/wyona/src/yanel-trunk/src/build/targets/webapp/webapp.xml:13: 
> The following error occurred while executing this line:
> /home/michel/wyona/src/yanel-trunk/src/build/targets/webapp/cluster.xml:10: 
> No such directory: 
> /home/michel/wyona/src/yanel-trunk/tools/apache-tomcat//webapps
>
> Total time: 122 minutes 36 seconds
> michel at ubu910:~/wyona/src/yanel-trunk$
> /
> in configure
> i set for tomcat
>
> /home/michel/wyona/src/yanel-trunk/tools/apache-tomcat
>
>
> so in the first ./configure.sh it ask where is tomcat and i set like 
> above: mistake?

I think the problem is that you were running build first and then 
configure and then build again. Please do the following:

- ./build.sh clean-all
         QUESTION: ask-to-clean-tomcat-cluster-node1: yes
         QUESTION: ask-if-local-build-properties-shall-be-deleted: yes
         QUESTION: ask-if-local-config-dir-shall-be-deleted: NO

- Make sure to really delete the file src/build/local.build.properties 
(but is actually no necessary if you answered the above question with yes)

- ./configure.sh (Just hit return on every question
       QUESTION: Do you have an existing Tomcat instance: NO
       QUESTION: Do you want SSL: no (because the Canoo tests still have 
trouble re SSL)
       QUESTION: Do you want to continue (NO)

- ./build.sh
      QUESTION: Endorsed lib is missing: YES

>
> it is very frustated, after many hours download, build fails because 
> of a false path, so i really don't know what is the problem, i really 
> not understand why itis not possible to make in script which works... 
> we want to do it, but we need to be able to install the test 
> environment. so how to do it?

please try the above and let me know if it worked
> in the script it should be a default value where the tomcat is. we 
> need to understand, to be clear when we must give an answer in a 
> script. example where is the tomcat, in which file we can configure it?
>
> sorry but i really want to go forward and it is anyway not easy, but i 
> ans especially the students want it!

I am confident we will get you through this process.

Thinking of making it easier, maybe we should introduce a "beginner" 
target which does all the setup without the questions, or
even a beginner.sh script or we can also call it "getting-started.sh"

WDYT?

Thanks

Michi
>
> michel



More information about the Yanel-development mailing list