If you want to go quicker (not have to put import) you can use print("message"); (it should do the same than what you tried)

Jacques

From: "Scott Gray" <[EMAIL PROTECTED]>
Hi Grant

I can't comment on why System.out wouldn't work but I always use:
import org.ofbiz.base.util.*;
Debug.log("Message");

Regards
Scott

On 26/03/2008, Grant Edwards <[EMAIL PROTECTED]> wrote:

Hi

Running a find on my system looking for *.bsh and within each file found
looking for "getProductCategoryAndLimitedMembers" list the following file:


./applications/product/webapp/catalog/WEB-INF/actions/category/EditCategoryProducts.bsh

./applications/product/webapp/catalog/WEB-INF/actions/find/miniproductlist.bsh

./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/quickadd.bsh

./applications/order/webapp/ordermgr/WEB-INF/actions/entry/catalog/categorydetail.bsh

At the top of each file just after the import statements I have placed
the following line of code:

        System.out.println("-=-=-=- TEST BSH SERVICE -=-=-=-
miniproductlist");



I have replace the service getProductCategoryAndLimitedMembers with a
local implementation and the results are as expected. I need to do a bit
more debugging and hence the System.out.println above, however I do not
see the results of the System.out.println in the console or any of the
other log files.

Have I missed something ?


Kind regards


Grant Edwards





Reply via email to