[Yanel-dev] Debugging

Mehmet Birgi mehmet.birgi at wyona.com
Mon Mar 22 10:30:32 CET 2010


On Mon, Mar 22, 2010 at 10:20 AM, Michael Wechner
<michael.wechner at wyona.com> wrote:
> Mehmet Birgi wrote:
>>
>> On Mon, Mar 22, 2010 at 9:46 AM, Michael Wechner
>> <michael.wechner at wyona.com> wrote:
>>
>>>
>>> Mehmet Birgi wrote:
>>>
>>>>
>>>> I would like to add a parameter "debug" to the script yanel.sh that
>>>> will start yanel in debug mode (by executing
>>>> "local/apache-tomcat-5.5.20/bin/catalina.sh jpda start"). Any
>>>> objections/ideas?
>>>>
>>>>
>>>
>>> default should be off
>>>
>>
>> the way i thought of doing it (see below) would only do this if you
>> entered ".../yanel.sh debug" (instead of e.g. ".../yanel.sh start")
>>
>
> I would rather prefer something like
>
> ./yanel.sh --debug start
>
> or
>
> ./yanel.sh -d start

afaics, this could be done either by modifying the target
"startup-tomcat-unix" in
".../src/build/targets/cruise-control/continuous-integration.xml", or
adding an additional target in "src/build/build.xml", while i would
prefer the second option. wdyt?


More information about the Yanel-development mailing list