Yes, by all means. We have made similar mistakes in the past, which is why
we see differences in the two scripts every now and then.

Thanks,
Senaka.

On Wed, Jan 19, 2011 at 12:04 AM, Afkham Azeez <az...@wso2.com> wrote:

> Pradeep, shouldn;t you make the corresponding change to the wso2server.bat
> file as well?
>
>
> On Tue, Jan 18, 2011 at 11:52 AM, <prad...@wso2.com> wrote:
>
>> Author: pradeep
>> Date: Mon Jan 17 22:22:00 2011
>> New Revision: 85467
>> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=85467
>>
>> Log:
>> added a warning message if a user has specified JAVA_OPTS as well as debug
>> option, fixing issue CARBON-8419
>>
>> Modified:
>>   trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh
>>
>> Modified: trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh
>> URL:
>> http://wso2.org/svn/browse/wso2/trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh?rev=85467&r1=85466&r2=85467&view=diff
>>
>> ==============================================================================
>> --- trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh
>>  (original)
>> +++ trunk/carbon/core/distribution/carbon-home/bin/wso2server.sh
>>  Mon Jan 17 22:22:00 2011
>> @@ -189,6 +189,9 @@
>>     echo " Please specify the debug port after the --debug option"
>>     exit 1
>>   fi
>> +  if [ -n "$JAVA_OPTS" ]; then
>> +    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you
>> give the --debug option."
>> +  fi
>>   CMD="RUN"
>>   JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
>> -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
>>   echo "Please start the remote debugging client to continue..."
>> _______________________________________________
>> Carbon-commits mailing list
>> carbon-comm...@wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits
>>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-commits mailing list
> carbon-comm...@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits
>
>


-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2, Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://www.linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to