[Yanel-dev] Setting of YANEL_HOME
Michael Wechner
michael.wechner at wyona.com
Fri Oct 3 14:35:26 CEST 2008
simon litwan schrieb:
> Michael Wechner schrieb:
>> Hi
>>
>> I have added the check for YANEL_HOME within build.sh, whereas it's
>> optional and one can continue the build by pressing enter/return key.
>>
>> I assume that Hudson will fail now, because YANEL_HOME is not set,
>> right? For this I see two possibilities, either
>> set YANEL_HOME also within Hudson and make this check somehow
>> configurable.
> i rather would solve this with an ant property.
ok. Can you describe it a bit more detailed?
Thanks
Michael
>
> simon
>>
>> WDYT?
>>
>> Thanks
>>
>> Michael
>>
>> Michael Wechner schrieb:
>>> Hi
>>>
>>> As recently described one can build resources (and realms) much more
>>> efficiently by using their specific build.xml files directly.
>>>
>>> But in order to do so one needs to know where YANEL_HOME is. I am
>>> afraid that people do not use this since one needs to set YANEL_HOME
>>> explicitely.
>>>
>>> So my suggestion is that we enhance the core build.sh (build.bat) in
>>> order to check for YANEL_HOME (just as it already checks for
>>> JAVA_HOME) and if it hasn't been set yet, either writes a message or
>>> sets it automagically, whereas I don't think automagic is very
>>> simple, because it depends very much on the OS and shell (in the
>>> case of UNIX).
>>>
>>> Also I think it would make sense to validate YANEL_HOME, because it
>>> might be possible that one has two yanel sources on the same
>>> computer but at various locations and this can result in confusing
>>> builds.
>>>
>>> WDYT?
>>>
>>> Thanks
>>>
>>> Michi
>>> _______________________________________________
>>> Yanel-development mailing list
>>> Yanel-development at wyona.com
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>> _______________________________________________
>> Yanel-development mailing list
>> Yanel-development at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
More information about the Yanel-development
mailing list