[Yanel-dev] Debugging

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


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")

>
> Also you might want to think about making it configurable within
> src/build/local.build.properties,
> whereas you need to make sure that yanel.sh can be run from various
> locations.

my idea was to make yanel.sh call ant with target "debug-yanel" which
would be added to src/build/build.xml

wdyt?


More information about the Yanel-development mailing list