You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Si Chen (JIRA)" <ji...@apache.org> on 2007/01/09 23:58:28 UTC

[jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

    [ https://issues.apache.org/jira/browse/OFBIZ-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463428 ] 

Si Chen commented on OFBIZ-607:
-------------------------------

Suspect code probably looks like this in the _Screens.xml files:

                <entity-condition entity-name="ProductCategory" list-name="productCategories">
                    <condition-expr field-name="showInSelect" operator="not-equals" value="N"/>
                    <order-by field-name="description"/>
                </entity-condition>

Or possibly like this in .bsh files:
categories = delegator.findAll("ProductCategory");

or

categories = delegator.findByAnd("ProductCategory", UtilMisc.toMap("showInSelect", "Y"));

or something like that . . .

> Remove unnecessary productcategory lookup 
> ------------------------------------------
>
>                 Key: OFBIZ-607
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-607
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: product
>            Reporter: Si Chen
>         Assigned To: Si Chen
>
> After SVN r 494558 product categories in catalog manager and facility manager are by lookup instead in a dropdown, so some old lookup code is no longer necessary.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by Raj Saini <ra...@gmail.com>.
Hi Shruthi,

I am also a user like you. I Just wanted to share my experiences with you.

You can subscribe to user lists by sending a mail to to subscriber 
mailing list. Incubator subscription mail id is 
ofbiz-user-subscribe@incubator.apache.org. It supposed to be changed to 
new one after Ofbiz top level graduation.
"http://mail-archives.apache.org/mod_mbox/incubator-ofbiz-user/ " URL 
still points to the Incubator ids. Can some one update it please?

Thanks,

Raj



I am afraid this page is not updated as it still points to incubate lists.

shruthi krishnan wrote:
> sorry for intruding in ur list how to access the users list?
> Thanks.
>
>
> On 1/11/07, Raj Saini <ra...@gmail.com> wrote:
>>
>> Shruthi,
>>
>> To get better attention, please post your message in a separate thread.
>> You are hijacking a unrelated thread and user may not give attention to
>> your problem.
>>
>> Also better to use user mailing list instead. Developer mailing list is
>> for developers to discuss the Ofbiz development related issues. Most of
>> the developers are also subscribed to user mailing list and they will
>> definitely reply if possible.
>>
>> For your problem, it seems you do not have Apache Ant installed or it is
>> not in your classpath.
>>
>> Thanks,
>>
>> Raj
>>
>> shruthi krishnan wrote:
>> > I m getting those errors when i compile the code. when i refered an
>> > article
>> > it was specified to run the ant batch file to compile the source If i
>> run
>> > ant.bat i get the error
>> >
>> > java.lang.ClassNotFoundException: org.apache.tools.ant.Main
>> >        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>> >        at java.security.AccessController.doPrivileged(Native Method)
>> >        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>> >        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
>> >        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>> >
>> >
>> >
>> >
>> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
>> >>
>> >> I want to buld a new application I m using Hello3 example appln to
>> build
>> >> on and use web services to access the services if i make some changes
>> >> to the
>> >> Hello3Services.java file m getting following errors can u help me?
>> >>
>> >> Hello3Services.java:34: package org.ofbiz.base.util does not exist
>> >> import org.ofbiz.base.util.Debug;        // uses Log4J
>> >>                            ^
>> >> Hello3Services.java:35: package org.ofbiz.base.util does not exist
>> >> import org.ofbiz.base.util.UtilMisc;     // helpful utility for 
>> working
>> >> with Map
>> >> s, Lists, etc.
>> >>                            ^
>> >> Hello3Services.java:36: package org.ofbiz.entity does not exist
>> >> import org.ofbiz.entity.GenericDelegator ;
>> >>                         ^
>> >> Hello3Services.java:37: package org.ofbiz.entity does not exist
>> >> import org.ofbiz.entity.GenericEntityException;
>> >>                         ^
>> >> Hello3Services.java:38: package org.ofbiz.entity does not exist
>> >> import org.ofbiz.entity.GenericValue;
>> >>                         ^
>> >> Hello3Services.java:39: package org.ofbiz.service does not exist
>> >> import org.ofbiz.service.DispatchContext;
>> >>                          ^
>> >> Hello3Services.java:40: package org.ofbiz.service does not exist
>> >> import org.ofbiz.service.ServiceUtil;
>> >>                          ^
>> >> Hello3Services.java:51: cannot resolve symbol
>> >> symbol  : class DispatchContext
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>     public static Map createHelloPerson(DispatchContext dctx, Map
>> >> context)
>> >> {
>> >>                                         ^
>> >> Hello3Services.java:76: cannot resolve symbol
>> >> symbol  : class DispatchContext
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>     public static Map searchHelloPerson(DispatchContext dctx, Map
>> >> context)
>> >> {
>> >>                                         ^
>> >> Hello3Services.java :52: cannot resolve symbol
>> >> symbol  : class GenericDelegator
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>         GenericDelegator delegator = dctx.getDelegator();  // always
>> >> passed in w
>> >> ith DispatchContext
>> >>         ^
>> >> Hello3Services.java:56: cannot resolve symbol
>> >> symbol  : variable Debug
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             Debug.logInfo("helloPersonId = " + helloPersonId,
>> >> module); //
>> >> prints
>> >>  to the console or console.log
>> >>             ^
>> >> Hello3Services.java:57: cannot resolve symbol
>> >> symbol  : class GenericValue
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             GenericValue helloPerson =
>> >> delegator.makeValue("HelloPerson",
>> >>             ^
>> >> Hello3Services.java:58: cannot resolve symbol
>> >> symbol  : variable UtilMisc
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>                     UtilMisc.toMap ("helloPersonId", helloPersonId));
>> //
>> >> create a
>> >>  GenericValue from ID we just got
>> >>                     ^
>> >> Hello3Services.java:62: cannot resolve symbol
>> >> symbol  : variable ServiceUtil
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             Map result = ServiceUtil.returnSuccess(); // gets
>> >> standard Map
>> >> for s
>> >> uccessful service operations
>> >>                          ^
>> >> Hello3Services.java:65: cannot resolve symbol
>> >> symbol  : class GenericEntityException
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>         } catch (GenericEntityException ex) { // required if you use
>> >> delegator i
>> >> n Java
>> >>                  ^
>> >> Hello3Services.java :66: cannot resolve symbol
>> >> symbol  : variable ServiceUtil
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             return ServiceUtil.returnError(ex.getMessage());
>> >>                    ^
>> >> Hello3Services.java :77: cannot resolve symbol
>> >> symbol  : class GenericDelegator
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>         GenericDelegator delegator = dctx.getDelegator();  // always
>> >> passed in w
>> >> ith DispatchContext
>> >>         ^
>> >> Hello3Services.java:84: cannot resolve symbol
>> >> symbol  : variable Debug
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             Debug.logInfo("helloPersonId = " + helloPersonId, 
>> module);
>> >>             ^
>> >> Hello3Services.java:88: cannot resolve symbol
>> >> symbol  : variable UtilMisc
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>
>> >> UtilMisc.toMap("helloPersonId",hello
>> >>
>> >> PersonId));
>> >>                                             ^
>> >> Hello3Services.java:89: cannot resolve symbol
>> >> symbol  : variable Debug
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             Debug.logInfo ("queryResult = " + queryResult, module);
>> >>             ^
>> >> Hello3Services.java:92: cannot resolve symbol
>> >> symbol  : variable UtilMisc
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             Map result = UtilMisc.toMap("helloPersonIdOut",
>> >> helloPersonId);
>> >>                          ^
>> >> Hello3Services.java:98: cannot resolve symbol
>> >> symbol  : variable Debug
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             Debug.logInfo("result = " + result, module);
>> >>             ^
>> >> Hello3Services.java:102: cannot resolve symbol
>> >> symbol  : class GenericEntityException
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>         } catch (GenericEntityException ex) { // required if you use
>> >> delegator i
>> >> n Java
>> >>                  ^
>> >> Hello3Services.java:103: cannot resolve symbol
>> >> symbol  : variable ServiceUtil
>> >> location: class org.ofbiz.hello3.Hello3Services
>> >>             return ServiceUtil.returnError(ex.getMessage());
>> >>
>> >>
>> >>  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
>> >> >
>> >> > if u want to create a table. u have to write entity defination in
>> >> > entityModel.xml in appropreate  component.
>> >> >
>> >> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
>> >> > >
>> >> > > how to create a new table without reusing from ofbiz?
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >> > --
>> >> > Regards
>> >> > Raj Kumar Sav
>> >> > Aditisoft Technology Laboratory
>> >> >
>> >> >
>> >>
>> >
>>
>>
>


Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by shruthi krishnan <nk...@gmail.com>.
thanku all

On 1/12/07, Jacques Le Roux <ja...@les7arts.com> wrote:
>
> That's a good question. As OFBiz has changed from
> ofbiz-user@incubator.apache.org to user@ofbiz.apache.org I just looked for
> the
> page which allows to manage this list gut did not find it yet. I suppose
> you may use thispage for now :
> http://mail-archives.apache.org/mod_mbox/incubator-ofbiz-user/
>
> BTW ASA we will able to do it should be good to change the references in
> http://www.ofbiz.org/
>
> Jacques
>
> ----- Original Message -----
> From: "shruthi krishnan" <nk...@gmail.com>
> To: <of...@incubator.apache.org>
> Sent: Friday, January 12, 2007 5:42 AM
> Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary
> productcategory lookup
>
>
> > sorry for intruding in ur list how to access the users list?
> > Thanks.
> >
> >
> > On 1/11/07, Raj Saini <ra...@gmail.com> wrote:
> > >
> > > Shruthi,
> > >
> > > To get better attention, please post your message in a separate
> thread.
> > > You are hijacking a unrelated thread and user may not give attention
> to
> > > your problem.
> > >
> > > Also better to use user mailing list instead. Developer mailing list
> is
> > > for developers to discuss the Ofbiz development related issues. Most
> of
> > > the developers are also subscribed to user mailing list and they will
> > > definitely reply if possible.
> > >
> > > For your problem, it seems you do not have Apache Ant installed or it
> is
> > > not in your classpath.
> > >
> > > Thanks,
> > >
> > > Raj
> > >
> > > shruthi krishnan wrote:
> > > > I m getting those errors when i compile the code. when i refered an
> > > > article
> > > > it was specified to run the ant batch file to compile the source If
> i
> > > run
> > > > ant.bat i get the error
> > > >
> > > > java.lang.ClassNotFoundException: org.apache.tools.ant.Main
> > > >        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> > > >        at java.security.AccessController.doPrivileged(Native Method)
> > > >        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> > > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> > > >        at org.apache.tools.ant.launch.Launcher.run(Launcher.java
> :244)
> > > >        at org.apache.tools.ant.launch.Launcher.main(Launcher.java
> :67)
> > > >
> > > >
> > > >
> > > >
> > > > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> > > >>
> > > >> I want to buld a new application I m using Hello3 example appln to
> > > build
> > > >> on and use web services to access the services if i make some
> changes
> > > >> to the
> > > >> Hello3Services.java file m getting following errors can u help me?
> > > >>
> > > >> Hello3Services.java:34: package org.ofbiz.base.util does not exist
> > > >> import org.ofbiz.base.util.Debug;        // uses Log4J
> > > >>                            ^
> > > >> Hello3Services.java:35: package org.ofbiz.base.util does not exist
> > > >> import org.ofbiz.base.util.UtilMisc;     // helpful utility for
> working
> > > >> with Map
> > > >> s, Lists, etc.
> > > >>                            ^
> > > >> Hello3Services.java:36: package org.ofbiz.entity does not exist
> > > >> import org.ofbiz.entity.GenericDelegator ;
> > > >>                         ^
> > > >> Hello3Services.java:37: package org.ofbiz.entity does not exist
> > > >> import org.ofbiz.entity.GenericEntityException;
> > > >>                         ^
> > > >> Hello3Services.java:38: package org.ofbiz.entity does not exist
> > > >> import org.ofbiz.entity.GenericValue;
> > > >>                         ^
> > > >> Hello3Services.java:39: package org.ofbiz.service does not exist
> > > >> import org.ofbiz.service.DispatchContext;
> > > >>                          ^
> > > >> Hello3Services.java:40: package org.ofbiz.service does not exist
> > > >> import org.ofbiz.service.ServiceUtil;
> > > >>                          ^
> > > >> Hello3Services.java:51: cannot resolve symbol
> > > >> symbol  : class DispatchContext
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>     public static Map createHelloPerson(DispatchContext dctx, Map
> > > >> context)
> > > >> {
> > > >>                                         ^
> > > >> Hello3Services.java:76: cannot resolve symbol
> > > >> symbol  : class DispatchContext
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>     public static Map searchHelloPerson(DispatchContext dctx, Map
> > > >> context)
> > > >> {
> > > >>                                         ^
> > > >> Hello3Services.java :52: cannot resolve symbol
> > > >> symbol  : class GenericDelegator
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>         GenericDelegator delegator = dctx.getDelegator();  //
> always
> > > >> passed in w
> > > >> ith DispatchContext
> > > >>         ^
> > > >> Hello3Services.java:56: cannot resolve symbol
> > > >> symbol  : variable Debug
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             Debug.logInfo("helloPersonId = " + helloPersonId,
> > > >> module); //
> > > >> prints
> > > >>  to the console or console.log
> > > >>             ^
> > > >> Hello3Services.java:57: cannot resolve symbol
> > > >> symbol  : class GenericValue
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             GenericValue helloPerson =
> > > >> delegator.makeValue("HelloPerson",
> > > >>             ^
> > > >> Hello3Services.java:58: cannot resolve symbol
> > > >> symbol  : variable UtilMisc
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>                     UtilMisc.toMap ("helloPersonId",
> helloPersonId));
> > > //
> > > >> create a
> > > >>  GenericValue from ID we just got
> > > >>                     ^
> > > >> Hello3Services.java:62: cannot resolve symbol
> > > >> symbol  : variable ServiceUtil
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             Map result = ServiceUtil.returnSuccess(); // gets
> > > >> standard Map
> > > >> for s
> > > >> uccessful service operations
> > > >>                          ^
> > > >> Hello3Services.java:65: cannot resolve symbol
> > > >> symbol  : class GenericEntityException
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>         } catch (GenericEntityException ex) { // required if you
> use
> > > >> delegator i
> > > >> n Java
> > > >>                  ^
> > > >> Hello3Services.java :66: cannot resolve symbol
> > > >> symbol  : variable ServiceUtil
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             return ServiceUtil.returnError(ex.getMessage());
> > > >>                    ^
> > > >> Hello3Services.java :77: cannot resolve symbol
> > > >> symbol  : class GenericDelegator
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>         GenericDelegator delegator = dctx.getDelegator();  //
> always
> > > >> passed in w
> > > >> ith DispatchContext
> > > >>         ^
> > > >> Hello3Services.java:84: cannot resolve symbol
> > > >> symbol  : variable Debug
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             Debug.logInfo("helloPersonId = " + helloPersonId,
> module);
> > > >>             ^
> > > >> Hello3Services.java:88: cannot resolve symbol
> > > >> symbol  : variable UtilMisc
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>
> > > >> UtilMisc.toMap("helloPersonId",hello
> > > >>
> > > >> PersonId));
> > > >>                                             ^
> > > >> Hello3Services.java:89: cannot resolve symbol
> > > >> symbol  : variable Debug
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             Debug.logInfo ("queryResult = " + queryResult, module);
> > > >>             ^
> > > >> Hello3Services.java:92: cannot resolve symbol
> > > >> symbol  : variable UtilMisc
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             Map result = UtilMisc.toMap("helloPersonIdOut",
> > > >> helloPersonId);
> > > >>                          ^
> > > >> Hello3Services.java:98: cannot resolve symbol
> > > >> symbol  : variable Debug
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             Debug.logInfo("result = " + result, module);
> > > >>             ^
> > > >> Hello3Services.java:102: cannot resolve symbol
> > > >> symbol  : class GenericEntityException
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>         } catch (GenericEntityException ex) { // required if you
> use
> > > >> delegator i
> > > >> n Java
> > > >>                  ^
> > > >> Hello3Services.java:103: cannot resolve symbol
> > > >> symbol  : variable ServiceUtil
> > > >> location: class org.ofbiz.hello3.Hello3Services
> > > >>             return ServiceUtil.returnError(ex.getMessage());
> > > >>
> > > >>
> > > >>  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
> > > >> >
> > > >> > if u want to create a table. u have to write entity defination in
> > > >> > entityModel.xml in appropreate  component.
> > > >> >
> > > >> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> > > >> > >
> > > >> > > how to create a new table without reusing from ofbiz?
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >> > --
> > > >> > Regards
> > > >> > Raj Kumar Sav
> > > >> > Aditisoft Technology Laboratory
> > > >> >
> > > >> >
> > > >>
> > > >
> > >
> > >
> >
>
>

Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by Jacques Le Roux <ja...@les7arts.com>.
That's a good question. As OFBiz has changed from ofbiz-user@incubator.apache.org to user@ofbiz.apache.org I just looked for the
page which allows to manage this list gut did not find it yet. I suppose you may use thispage for now :
http://mail-archives.apache.org/mod_mbox/incubator-ofbiz-user/

BTW ASA we will able to do it should be good to change the references in http://www.ofbiz.org/

Jacques

----- Original Message ----- 
From: "shruthi krishnan" <nk...@gmail.com>
To: <of...@incubator.apache.org>
Sent: Friday, January 12, 2007 5:42 AM
Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup


> sorry for intruding in ur list how to access the users list?
> Thanks.
>
>
> On 1/11/07, Raj Saini <ra...@gmail.com> wrote:
> >
> > Shruthi,
> >
> > To get better attention, please post your message in a separate thread.
> > You are hijacking a unrelated thread and user may not give attention to
> > your problem.
> >
> > Also better to use user mailing list instead. Developer mailing list is
> > for developers to discuss the Ofbiz development related issues. Most of
> > the developers are also subscribed to user mailing list and they will
> > definitely reply if possible.
> >
> > For your problem, it seems you do not have Apache Ant installed or it is
> > not in your classpath.
> >
> > Thanks,
> >
> > Raj
> >
> > shruthi krishnan wrote:
> > > I m getting those errors when i compile the code. when i refered an
> > > article
> > > it was specified to run the ant batch file to compile the source If i
> > run
> > > ant.bat i get the error
> > >
> > > java.lang.ClassNotFoundException: org.apache.tools.ant.Main
> > >        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> > >        at java.security.AccessController.doPrivileged(Native Method)
> > >        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> > >        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> > >        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
> > >        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> > >
> > >
> > >
> > >
> > > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> > >>
> > >> I want to buld a new application I m using Hello3 example appln to
> > build
> > >> on and use web services to access the services if i make some changes
> > >> to the
> > >> Hello3Services.java file m getting following errors can u help me?
> > >>
> > >> Hello3Services.java:34: package org.ofbiz.base.util does not exist
> > >> import org.ofbiz.base.util.Debug;        // uses Log4J
> > >>                            ^
> > >> Hello3Services.java:35: package org.ofbiz.base.util does not exist
> > >> import org.ofbiz.base.util.UtilMisc;     // helpful utility for working
> > >> with Map
> > >> s, Lists, etc.
> > >>                            ^
> > >> Hello3Services.java:36: package org.ofbiz.entity does not exist
> > >> import org.ofbiz.entity.GenericDelegator ;
> > >>                         ^
> > >> Hello3Services.java:37: package org.ofbiz.entity does not exist
> > >> import org.ofbiz.entity.GenericEntityException;
> > >>                         ^
> > >> Hello3Services.java:38: package org.ofbiz.entity does not exist
> > >> import org.ofbiz.entity.GenericValue;
> > >>                         ^
> > >> Hello3Services.java:39: package org.ofbiz.service does not exist
> > >> import org.ofbiz.service.DispatchContext;
> > >>                          ^
> > >> Hello3Services.java:40: package org.ofbiz.service does not exist
> > >> import org.ofbiz.service.ServiceUtil;
> > >>                          ^
> > >> Hello3Services.java:51: cannot resolve symbol
> > >> symbol  : class DispatchContext
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>     public static Map createHelloPerson(DispatchContext dctx, Map
> > >> context)
> > >> {
> > >>                                         ^
> > >> Hello3Services.java:76: cannot resolve symbol
> > >> symbol  : class DispatchContext
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>     public static Map searchHelloPerson(DispatchContext dctx, Map
> > >> context)
> > >> {
> > >>                                         ^
> > >> Hello3Services.java :52: cannot resolve symbol
> > >> symbol  : class GenericDelegator
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>         GenericDelegator delegator = dctx.getDelegator();  // always
> > >> passed in w
> > >> ith DispatchContext
> > >>         ^
> > >> Hello3Services.java:56: cannot resolve symbol
> > >> symbol  : variable Debug
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             Debug.logInfo("helloPersonId = " + helloPersonId,
> > >> module); //
> > >> prints
> > >>  to the console or console.log
> > >>             ^
> > >> Hello3Services.java:57: cannot resolve symbol
> > >> symbol  : class GenericValue
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             GenericValue helloPerson =
> > >> delegator.makeValue("HelloPerson",
> > >>             ^
> > >> Hello3Services.java:58: cannot resolve symbol
> > >> symbol  : variable UtilMisc
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>                     UtilMisc.toMap ("helloPersonId", helloPersonId));
> > //
> > >> create a
> > >>  GenericValue from ID we just got
> > >>                     ^
> > >> Hello3Services.java:62: cannot resolve symbol
> > >> symbol  : variable ServiceUtil
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             Map result = ServiceUtil.returnSuccess(); // gets
> > >> standard Map
> > >> for s
> > >> uccessful service operations
> > >>                          ^
> > >> Hello3Services.java:65: cannot resolve symbol
> > >> symbol  : class GenericEntityException
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>         } catch (GenericEntityException ex) { // required if you use
> > >> delegator i
> > >> n Java
> > >>                  ^
> > >> Hello3Services.java :66: cannot resolve symbol
> > >> symbol  : variable ServiceUtil
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             return ServiceUtil.returnError(ex.getMessage());
> > >>                    ^
> > >> Hello3Services.java :77: cannot resolve symbol
> > >> symbol  : class GenericDelegator
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>         GenericDelegator delegator = dctx.getDelegator();  // always
> > >> passed in w
> > >> ith DispatchContext
> > >>         ^
> > >> Hello3Services.java:84: cannot resolve symbol
> > >> symbol  : variable Debug
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             Debug.logInfo("helloPersonId = " + helloPersonId, module);
> > >>             ^
> > >> Hello3Services.java:88: cannot resolve symbol
> > >> symbol  : variable UtilMisc
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>
> > >> UtilMisc.toMap("helloPersonId",hello
> > >>
> > >> PersonId));
> > >>                                             ^
> > >> Hello3Services.java:89: cannot resolve symbol
> > >> symbol  : variable Debug
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             Debug.logInfo ("queryResult = " + queryResult, module);
> > >>             ^
> > >> Hello3Services.java:92: cannot resolve symbol
> > >> symbol  : variable UtilMisc
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             Map result = UtilMisc.toMap("helloPersonIdOut",
> > >> helloPersonId);
> > >>                          ^
> > >> Hello3Services.java:98: cannot resolve symbol
> > >> symbol  : variable Debug
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             Debug.logInfo("result = " + result, module);
> > >>             ^
> > >> Hello3Services.java:102: cannot resolve symbol
> > >> symbol  : class GenericEntityException
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>         } catch (GenericEntityException ex) { // required if you use
> > >> delegator i
> > >> n Java
> > >>                  ^
> > >> Hello3Services.java:103: cannot resolve symbol
> > >> symbol  : variable ServiceUtil
> > >> location: class org.ofbiz.hello3.Hello3Services
> > >>             return ServiceUtil.returnError(ex.getMessage());
> > >>
> > >>
> > >>  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
> > >> >
> > >> > if u want to create a table. u have to write entity defination in
> > >> > entityModel.xml in appropreate  component.
> > >> >
> > >> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> > >> > >
> > >> > > how to create a new table without reusing from ofbiz?
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> > Regards
> > >> > Raj Kumar Sav
> > >> > Aditisoft Technology Laboratory
> > >> >
> > >> >
> > >>
> > >
> >
> >
>


Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by shruthi krishnan <nk...@gmail.com>.
sorry for intruding in ur list how to access the users list?
Thanks.


On 1/11/07, Raj Saini <ra...@gmail.com> wrote:
>
> Shruthi,
>
> To get better attention, please post your message in a separate thread.
> You are hijacking a unrelated thread and user may not give attention to
> your problem.
>
> Also better to use user mailing list instead. Developer mailing list is
> for developers to discuss the Ofbiz development related issues. Most of
> the developers are also subscribed to user mailing list and they will
> definitely reply if possible.
>
> For your problem, it seems you do not have Apache Ant installed or it is
> not in your classpath.
>
> Thanks,
>
> Raj
>
> shruthi krishnan wrote:
> > I m getting those errors when i compile the code. when i refered an
> > article
> > it was specified to run the ant batch file to compile the source If i
> run
> > ant.bat i get the error
> >
> > java.lang.ClassNotFoundException: org.apache.tools.ant.Main
> >        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
> >        at java.security.AccessController.doPrivileged(Native Method)
> >        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> >        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> >        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
> >        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> >
> >
> >
> >
> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> >>
> >> I want to buld a new application I m using Hello3 example appln to
> build
> >> on and use web services to access the services if i make some changes
> >> to the
> >> Hello3Services.java file m getting following errors can u help me?
> >>
> >> Hello3Services.java:34: package org.ofbiz.base.util does not exist
> >> import org.ofbiz.base.util.Debug;        // uses Log4J
> >>                            ^
> >> Hello3Services.java:35: package org.ofbiz.base.util does not exist
> >> import org.ofbiz.base.util.UtilMisc;     // helpful utility for working
> >> with Map
> >> s, Lists, etc.
> >>                            ^
> >> Hello3Services.java:36: package org.ofbiz.entity does not exist
> >> import org.ofbiz.entity.GenericDelegator ;
> >>                         ^
> >> Hello3Services.java:37: package org.ofbiz.entity does not exist
> >> import org.ofbiz.entity.GenericEntityException;
> >>                         ^
> >> Hello3Services.java:38: package org.ofbiz.entity does not exist
> >> import org.ofbiz.entity.GenericValue;
> >>                         ^
> >> Hello3Services.java:39: package org.ofbiz.service does not exist
> >> import org.ofbiz.service.DispatchContext;
> >>                          ^
> >> Hello3Services.java:40: package org.ofbiz.service does not exist
> >> import org.ofbiz.service.ServiceUtil;
> >>                          ^
> >> Hello3Services.java:51: cannot resolve symbol
> >> symbol  : class DispatchContext
> >> location: class org.ofbiz.hello3.Hello3Services
> >>     public static Map createHelloPerson(DispatchContext dctx, Map
> >> context)
> >> {
> >>                                         ^
> >> Hello3Services.java:76: cannot resolve symbol
> >> symbol  : class DispatchContext
> >> location: class org.ofbiz.hello3.Hello3Services
> >>     public static Map searchHelloPerson(DispatchContext dctx, Map
> >> context)
> >> {
> >>                                         ^
> >> Hello3Services.java :52: cannot resolve symbol
> >> symbol  : class GenericDelegator
> >> location: class org.ofbiz.hello3.Hello3Services
> >>         GenericDelegator delegator = dctx.getDelegator();  // always
> >> passed in w
> >> ith DispatchContext
> >>         ^
> >> Hello3Services.java:56: cannot resolve symbol
> >> symbol  : variable Debug
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             Debug.logInfo("helloPersonId = " + helloPersonId,
> >> module); //
> >> prints
> >>  to the console or console.log
> >>             ^
> >> Hello3Services.java:57: cannot resolve symbol
> >> symbol  : class GenericValue
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             GenericValue helloPerson =
> >> delegator.makeValue("HelloPerson",
> >>             ^
> >> Hello3Services.java:58: cannot resolve symbol
> >> symbol  : variable UtilMisc
> >> location: class org.ofbiz.hello3.Hello3Services
> >>                     UtilMisc.toMap ("helloPersonId", helloPersonId));
> //
> >> create a
> >>  GenericValue from ID we just got
> >>                     ^
> >> Hello3Services.java:62: cannot resolve symbol
> >> symbol  : variable ServiceUtil
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             Map result = ServiceUtil.returnSuccess(); // gets
> >> standard Map
> >> for s
> >> uccessful service operations
> >>                          ^
> >> Hello3Services.java:65: cannot resolve symbol
> >> symbol  : class GenericEntityException
> >> location: class org.ofbiz.hello3.Hello3Services
> >>         } catch (GenericEntityException ex) { // required if you use
> >> delegator i
> >> n Java
> >>                  ^
> >> Hello3Services.java :66: cannot resolve symbol
> >> symbol  : variable ServiceUtil
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             return ServiceUtil.returnError(ex.getMessage());
> >>                    ^
> >> Hello3Services.java :77: cannot resolve symbol
> >> symbol  : class GenericDelegator
> >> location: class org.ofbiz.hello3.Hello3Services
> >>         GenericDelegator delegator = dctx.getDelegator();  // always
> >> passed in w
> >> ith DispatchContext
> >>         ^
> >> Hello3Services.java:84: cannot resolve symbol
> >> symbol  : variable Debug
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             Debug.logInfo("helloPersonId = " + helloPersonId, module);
> >>             ^
> >> Hello3Services.java:88: cannot resolve symbol
> >> symbol  : variable UtilMisc
> >> location: class org.ofbiz.hello3.Hello3Services
> >>
> >> UtilMisc.toMap("helloPersonId",hello
> >>
> >> PersonId));
> >>                                             ^
> >> Hello3Services.java:89: cannot resolve symbol
> >> symbol  : variable Debug
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             Debug.logInfo ("queryResult = " + queryResult, module);
> >>             ^
> >> Hello3Services.java:92: cannot resolve symbol
> >> symbol  : variable UtilMisc
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             Map result = UtilMisc.toMap("helloPersonIdOut",
> >> helloPersonId);
> >>                          ^
> >> Hello3Services.java:98: cannot resolve symbol
> >> symbol  : variable Debug
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             Debug.logInfo("result = " + result, module);
> >>             ^
> >> Hello3Services.java:102: cannot resolve symbol
> >> symbol  : class GenericEntityException
> >> location: class org.ofbiz.hello3.Hello3Services
> >>         } catch (GenericEntityException ex) { // required if you use
> >> delegator i
> >> n Java
> >>                  ^
> >> Hello3Services.java:103: cannot resolve symbol
> >> symbol  : variable ServiceUtil
> >> location: class org.ofbiz.hello3.Hello3Services
> >>             return ServiceUtil.returnError(ex.getMessage());
> >>
> >>
> >>  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
> >> >
> >> > if u want to create a table. u have to write entity defination in
> >> > entityModel.xml in appropreate  component.
> >> >
> >> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> >> > >
> >> > > how to create a new table without reusing from ofbiz?
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > Regards
> >> > Raj Kumar Sav
> >> > Aditisoft Technology Laboratory
> >> >
> >> >
> >>
> >
>
>

Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by Raj Saini <ra...@gmail.com>.
Shruthi,

To get better attention, please post your message in a separate thread. 
You are hijacking a unrelated thread and user may not give attention to 
your problem.

Also better to use user mailing list instead. Developer mailing list is 
for developers to discuss the Ofbiz development related issues. Most of 
the developers are also subscribed to user mailing list and they will 
definitely reply if possible.

For your problem, it seems you do not have Apache Ant installed or it is 
not in your classpath.

Thanks,

Raj

shruthi krishnan wrote:
> I m getting those errors when i compile the code. when i refered an 
> article
> it was specified to run the ant batch file to compile the source If i run
> ant.bat i get the error
>
> java.lang.ClassNotFoundException: org.apache.tools.ant.Main
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
>        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
>
>
>
>
> On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
>>
>> I want to buld a new application I m using Hello3 example appln to build
>> on and use web services to access the services if i make some changes 
>> to the
>> Hello3Services.java file m getting following errors can u help me?
>>
>> Hello3Services.java:34: package org.ofbiz.base.util does not exist
>> import org.ofbiz.base.util.Debug;        // uses Log4J
>>                            ^
>> Hello3Services.java:35: package org.ofbiz.base.util does not exist
>> import org.ofbiz.base.util.UtilMisc;     // helpful utility for working
>> with Map
>> s, Lists, etc.
>>                            ^
>> Hello3Services.java:36: package org.ofbiz.entity does not exist
>> import org.ofbiz.entity.GenericDelegator ;
>>                         ^
>> Hello3Services.java:37: package org.ofbiz.entity does not exist
>> import org.ofbiz.entity.GenericEntityException;
>>                         ^
>> Hello3Services.java:38: package org.ofbiz.entity does not exist
>> import org.ofbiz.entity.GenericValue;
>>                         ^
>> Hello3Services.java:39: package org.ofbiz.service does not exist
>> import org.ofbiz.service.DispatchContext;
>>                          ^
>> Hello3Services.java:40: package org.ofbiz.service does not exist
>> import org.ofbiz.service.ServiceUtil;
>>                          ^
>> Hello3Services.java:51: cannot resolve symbol
>> symbol  : class DispatchContext
>> location: class org.ofbiz.hello3.Hello3Services
>>     public static Map createHelloPerson(DispatchContext dctx, Map 
>> context)
>> {
>>                                         ^
>> Hello3Services.java:76: cannot resolve symbol
>> symbol  : class DispatchContext
>> location: class org.ofbiz.hello3.Hello3Services
>>     public static Map searchHelloPerson(DispatchContext dctx, Map 
>> context)
>> {
>>                                         ^
>> Hello3Services.java :52: cannot resolve symbol
>> symbol  : class GenericDelegator
>> location: class org.ofbiz.hello3.Hello3Services
>>         GenericDelegator delegator = dctx.getDelegator();  // always
>> passed in w
>> ith DispatchContext
>>         ^
>> Hello3Services.java:56: cannot resolve symbol
>> symbol  : variable Debug
>> location: class org.ofbiz.hello3.Hello3Services
>>             Debug.logInfo("helloPersonId = " + helloPersonId, 
>> module); //
>> prints
>>  to the console or console.log
>>             ^
>> Hello3Services.java:57: cannot resolve symbol
>> symbol  : class GenericValue
>> location: class org.ofbiz.hello3.Hello3Services
>>             GenericValue helloPerson = 
>> delegator.makeValue("HelloPerson",
>>             ^
>> Hello3Services.java:58: cannot resolve symbol
>> symbol  : variable UtilMisc
>> location: class org.ofbiz.hello3.Hello3Services
>>                     UtilMisc.toMap ("helloPersonId", helloPersonId)); //
>> create a
>>  GenericValue from ID we just got
>>                     ^
>> Hello3Services.java:62: cannot resolve symbol
>> symbol  : variable ServiceUtil
>> location: class org.ofbiz.hello3.Hello3Services
>>             Map result = ServiceUtil.returnSuccess(); // gets 
>> standard Map
>> for s
>> uccessful service operations
>>                          ^
>> Hello3Services.java:65: cannot resolve symbol
>> symbol  : class GenericEntityException
>> location: class org.ofbiz.hello3.Hello3Services
>>         } catch (GenericEntityException ex) { // required if you use
>> delegator i
>> n Java
>>                  ^
>> Hello3Services.java :66: cannot resolve symbol
>> symbol  : variable ServiceUtil
>> location: class org.ofbiz.hello3.Hello3Services
>>             return ServiceUtil.returnError(ex.getMessage());
>>                    ^
>> Hello3Services.java :77: cannot resolve symbol
>> symbol  : class GenericDelegator
>> location: class org.ofbiz.hello3.Hello3Services
>>         GenericDelegator delegator = dctx.getDelegator();  // always
>> passed in w
>> ith DispatchContext
>>         ^
>> Hello3Services.java:84: cannot resolve symbol
>> symbol  : variable Debug
>> location: class org.ofbiz.hello3.Hello3Services
>>             Debug.logInfo("helloPersonId = " + helloPersonId, module);
>>             ^
>> Hello3Services.java:88: cannot resolve symbol
>> symbol  : variable UtilMisc
>> location: class org.ofbiz.hello3.Hello3Services
>>                                             
>> UtilMisc.toMap("helloPersonId",hello
>>
>> PersonId));
>>                                             ^
>> Hello3Services.java:89: cannot resolve symbol
>> symbol  : variable Debug
>> location: class org.ofbiz.hello3.Hello3Services
>>             Debug.logInfo ("queryResult = " + queryResult, module);
>>             ^
>> Hello3Services.java:92: cannot resolve symbol
>> symbol  : variable UtilMisc
>> location: class org.ofbiz.hello3.Hello3Services
>>             Map result = UtilMisc.toMap("helloPersonIdOut",
>> helloPersonId);
>>                          ^
>> Hello3Services.java:98: cannot resolve symbol
>> symbol  : variable Debug
>> location: class org.ofbiz.hello3.Hello3Services
>>             Debug.logInfo("result = " + result, module);
>>             ^
>> Hello3Services.java:102: cannot resolve symbol
>> symbol  : class GenericEntityException
>> location: class org.ofbiz.hello3.Hello3Services
>>         } catch (GenericEntityException ex) { // required if you use
>> delegator i
>> n Java
>>                  ^
>> Hello3Services.java:103: cannot resolve symbol
>> symbol  : variable ServiceUtil
>> location: class org.ofbiz.hello3.Hello3Services
>>             return ServiceUtil.returnError(ex.getMessage());
>>
>>
>>  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
>> >
>> > if u want to create a table. u have to write entity defination in
>> > entityModel.xml in appropreate  component.
>> >
>> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
>> > >
>> > > how to create a new table without reusing from ofbiz?
>> > >
>> > >
>> >
>> >
>> > --
>> > Regards
>> > Raj Kumar Sav
>> > Aditisoft Technology Laboratory
>> >
>> >
>>
>


Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by shruthi krishnan <nk...@gmail.com>.
I m getting those errors when i compile the code. when i refered an article
it was specified to run the ant batch file to compile the source If i run
ant.bat i get the error

java.lang.ClassNotFoundException: org.apache.tools.ant.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)




On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
>
> I want to buld a new application I m using Hello3 example appln to build
> on and use web services to access the services if i make some changes to the
> Hello3Services.java file m getting following errors can u help me?
>
> Hello3Services.java:34: package org.ofbiz.base.util does not exist
> import org.ofbiz.base.util.Debug;        // uses Log4J
>                            ^
> Hello3Services.java:35: package org.ofbiz.base.util does not exist
> import org.ofbiz.base.util.UtilMisc;     // helpful utility for working
> with Map
> s, Lists, etc.
>                            ^
> Hello3Services.java:36: package org.ofbiz.entity does not exist
> import org.ofbiz.entity.GenericDelegator ;
>                         ^
> Hello3Services.java:37: package org.ofbiz.entity does not exist
> import org.ofbiz.entity.GenericEntityException;
>                         ^
> Hello3Services.java:38: package org.ofbiz.entity does not exist
> import org.ofbiz.entity.GenericValue;
>                         ^
> Hello3Services.java:39: package org.ofbiz.service does not exist
> import org.ofbiz.service.DispatchContext;
>                          ^
> Hello3Services.java:40: package org.ofbiz.service does not exist
> import org.ofbiz.service.ServiceUtil;
>                          ^
> Hello3Services.java:51: cannot resolve symbol
> symbol  : class DispatchContext
> location: class org.ofbiz.hello3.Hello3Services
>     public static Map createHelloPerson(DispatchContext dctx, Map context)
> {
>                                         ^
> Hello3Services.java:76: cannot resolve symbol
> symbol  : class DispatchContext
> location: class org.ofbiz.hello3.Hello3Services
>     public static Map searchHelloPerson(DispatchContext dctx, Map context)
> {
>                                         ^
> Hello3Services.java :52: cannot resolve symbol
> symbol  : class GenericDelegator
> location: class org.ofbiz.hello3.Hello3Services
>         GenericDelegator delegator = dctx.getDelegator();  // always
> passed in w
> ith DispatchContext
>         ^
> Hello3Services.java:56: cannot resolve symbol
> symbol  : variable Debug
> location: class org.ofbiz.hello3.Hello3Services
>             Debug.logInfo("helloPersonId = " + helloPersonId, module); //
> prints
>  to the console or console.log
>             ^
> Hello3Services.java:57: cannot resolve symbol
> symbol  : class GenericValue
> location: class org.ofbiz.hello3.Hello3Services
>             GenericValue helloPerson = delegator.makeValue("HelloPerson",
>             ^
> Hello3Services.java:58: cannot resolve symbol
> symbol  : variable UtilMisc
> location: class org.ofbiz.hello3.Hello3Services
>                     UtilMisc.toMap ("helloPersonId", helloPersonId)); //
> create a
>  GenericValue from ID we just got
>                     ^
> Hello3Services.java:62: cannot resolve symbol
> symbol  : variable ServiceUtil
> location: class org.ofbiz.hello3.Hello3Services
>             Map result = ServiceUtil.returnSuccess(); // gets standard Map
> for s
> uccessful service operations
>                          ^
> Hello3Services.java:65: cannot resolve symbol
> symbol  : class GenericEntityException
> location: class org.ofbiz.hello3.Hello3Services
>         } catch (GenericEntityException ex) { // required if you use
> delegator i
> n Java
>                  ^
> Hello3Services.java :66: cannot resolve symbol
> symbol  : variable ServiceUtil
> location: class org.ofbiz.hello3.Hello3Services
>             return ServiceUtil.returnError(ex.getMessage());
>                    ^
> Hello3Services.java :77: cannot resolve symbol
> symbol  : class GenericDelegator
> location: class org.ofbiz.hello3.Hello3Services
>         GenericDelegator delegator = dctx.getDelegator();  // always
> passed in w
> ith DispatchContext
>         ^
> Hello3Services.java:84: cannot resolve symbol
> symbol  : variable Debug
> location: class org.ofbiz.hello3.Hello3Services
>             Debug.logInfo("helloPersonId = " + helloPersonId, module);
>             ^
> Hello3Services.java:88: cannot resolve symbol
> symbol  : variable UtilMisc
> location: class org.ofbiz.hello3.Hello3Services
>                                             UtilMisc.toMap("helloPersonId",hello
>
> PersonId));
>                                             ^
> Hello3Services.java:89: cannot resolve symbol
> symbol  : variable Debug
> location: class org.ofbiz.hello3.Hello3Services
>             Debug.logInfo ("queryResult = " + queryResult, module);
>             ^
> Hello3Services.java:92: cannot resolve symbol
> symbol  : variable UtilMisc
> location: class org.ofbiz.hello3.Hello3Services
>             Map result = UtilMisc.toMap("helloPersonIdOut",
> helloPersonId);
>                          ^
> Hello3Services.java:98: cannot resolve symbol
> symbol  : variable Debug
> location: class org.ofbiz.hello3.Hello3Services
>             Debug.logInfo("result = " + result, module);
>             ^
> Hello3Services.java:102: cannot resolve symbol
> symbol  : class GenericEntityException
> location: class org.ofbiz.hello3.Hello3Services
>         } catch (GenericEntityException ex) { // required if you use
> delegator i
> n Java
>                  ^
> Hello3Services.java:103: cannot resolve symbol
> symbol  : variable ServiceUtil
> location: class org.ofbiz.hello3.Hello3Services
>             return ServiceUtil.returnError(ex.getMessage());
>
>
>  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
> >
> > if u want to create a table. u have to write entity defination in
> > entityModel.xml in appropreate  component.
> >
> > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> > >
> > > how to create a new table without reusing from ofbiz?
> > >
> > >
> >
> >
> > --
> > Regards
> > Raj Kumar Sav
> > Aditisoft Technology Laboratory
> >
> >
>

Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by Andrew Sykes <an...@sykesdevelopment.com>.
Sounds like ant isn't set up properly.

- Andrew

On Thu, 2007-01-11 at 17:40 +0530, shruthi krishnan wrote:
> I m getting those errors when i compile the code. when i refered an article
> it was specified to run the ant batch file to compile the source If i run
> ant.bat i get the error
> 
> java.lang.ClassNotFoundException: org.apache.tools.ant.Main
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:244)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
> 
> 
> 
> 
> On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> >
> > I want to buld a new application I m using Hello3 example appln to build
> > on and use web services to access the services if i make some changes to the
> > Hello3Services.java file m getting following errors can u help me?
> >
> > Hello3Services.java:34: package org.ofbiz.base.util does not exist
> > import org.ofbiz.base.util.Debug;        // uses Log4J
> >                            ^
> > Hello3Services.java:35: package org.ofbiz.base.util does not exist
> > import org.ofbiz.base.util.UtilMisc;     // helpful utility for working
> > with Map
> > s, Lists, etc.
> >                            ^
> > Hello3Services.java:36: package org.ofbiz.entity does not exist
> > import org.ofbiz.entity.GenericDelegator ;
> >                         ^
> > Hello3Services.java:37: package org.ofbiz.entity does not exist
> > import org.ofbiz.entity.GenericEntityException;
> >                         ^
> > Hello3Services.java:38: package org.ofbiz.entity does not exist
> > import org.ofbiz.entity.GenericValue;
> >                         ^
> > Hello3Services.java:39: package org.ofbiz.service does not exist
> > import org.ofbiz.service.DispatchContext;
> >                          ^
> > Hello3Services.java:40: package org.ofbiz.service does not exist
> > import org.ofbiz.service.ServiceUtil;
> >                          ^
> > Hello3Services.java:51: cannot resolve symbol
> > symbol  : class DispatchContext
> > location: class org.ofbiz.hello3.Hello3Services
> >     public static Map createHelloPerson(DispatchContext dctx, Map context)
> > {
> >                                         ^
> > Hello3Services.java:76: cannot resolve symbol
> > symbol  : class DispatchContext
> > location: class org.ofbiz.hello3.Hello3Services
> >     public static Map searchHelloPerson(DispatchContext dctx, Map context)
> > {
> >                                         ^
> > Hello3Services.java :52: cannot resolve symbol
> > symbol  : class GenericDelegator
> > location: class org.ofbiz.hello3.Hello3Services
> >         GenericDelegator delegator = dctx.getDelegator();  // always
> > passed in w
> > ith DispatchContext
> >         ^
> > Hello3Services.java:56: cannot resolve symbol
> > symbol  : variable Debug
> > location: class org.ofbiz.hello3.Hello3Services
> >             Debug.logInfo("helloPersonId = " + helloPersonId, module); //
> > prints
> >  to the console or console.log
> >             ^
> > Hello3Services.java:57: cannot resolve symbol
> > symbol  : class GenericValue
> > location: class org.ofbiz.hello3.Hello3Services
> >             GenericValue helloPerson = delegator.makeValue("HelloPerson",
> >             ^
> > Hello3Services.java:58: cannot resolve symbol
> > symbol  : variable UtilMisc
> > location: class org.ofbiz.hello3.Hello3Services
> >                     UtilMisc.toMap ("helloPersonId", helloPersonId)); //
> > create a
> >  GenericValue from ID we just got
> >                     ^
> > Hello3Services.java:62: cannot resolve symbol
> > symbol  : variable ServiceUtil
> > location: class org.ofbiz.hello3.Hello3Services
> >             Map result = ServiceUtil.returnSuccess(); // gets standard Map
> > for s
> > uccessful service operations
> >                          ^
> > Hello3Services.java:65: cannot resolve symbol
> > symbol  : class GenericEntityException
> > location: class org.ofbiz.hello3.Hello3Services
> >         } catch (GenericEntityException ex) { // required if you use
> > delegator i
> > n Java
> >                  ^
> > Hello3Services.java :66: cannot resolve symbol
> > symbol  : variable ServiceUtil
> > location: class org.ofbiz.hello3.Hello3Services
> >             return ServiceUtil.returnError(ex.getMessage());
> >                    ^
> > Hello3Services.java :77: cannot resolve symbol
> > symbol  : class GenericDelegator
> > location: class org.ofbiz.hello3.Hello3Services
> >         GenericDelegator delegator = dctx.getDelegator();  // always
> > passed in w
> > ith DispatchContext
> >         ^
> > Hello3Services.java:84: cannot resolve symbol
> > symbol  : variable Debug
> > location: class org.ofbiz.hello3.Hello3Services
> >             Debug.logInfo("helloPersonId = " + helloPersonId, module);
> >             ^
> > Hello3Services.java:88: cannot resolve symbol
> > symbol  : variable UtilMisc
> > location: class org.ofbiz.hello3.Hello3Services
> >                                             UtilMisc.toMap("helloPersonId",hello
> >
> > PersonId));
> >                                             ^
> > Hello3Services.java:89: cannot resolve symbol
> > symbol  : variable Debug
> > location: class org.ofbiz.hello3.Hello3Services
> >             Debug.logInfo ("queryResult = " + queryResult, module);
> >             ^
> > Hello3Services.java:92: cannot resolve symbol
> > symbol  : variable UtilMisc
> > location: class org.ofbiz.hello3.Hello3Services
> >             Map result = UtilMisc.toMap("helloPersonIdOut",
> > helloPersonId);
> >                          ^
> > Hello3Services.java:98: cannot resolve symbol
> > symbol  : variable Debug
> > location: class org.ofbiz.hello3.Hello3Services
> >             Debug.logInfo("result = " + result, module);
> >             ^
> > Hello3Services.java:102: cannot resolve symbol
> > symbol  : class GenericEntityException
> > location: class org.ofbiz.hello3.Hello3Services
> >         } catch (GenericEntityException ex) { // required if you use
> > delegator i
> > n Java
> >                  ^
> > Hello3Services.java:103: cannot resolve symbol
> > symbol  : variable ServiceUtil
> > location: class org.ofbiz.hello3.Hello3Services
> >             return ServiceUtil.returnError(ex.getMessage());
> >
> >
> >  On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
> > >
> > > if u want to create a table. u have to write entity defination in
> > > entityModel.xml in appropreate  component.
> > >
> > > On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> > > >
> > > > how to create a new table without reusing from ofbiz?
> > > >
> > > >
> > >
> > >
> > > --
> > > Regards
> > > Raj Kumar Sav
> > > Aditisoft Technology Laboratory
> > >
> > >
> >
-- 
Kind Regards
Andrew Sykes <an...@sykesdevelopment.com>
Sykes Development Ltd
http://www.sykesdevelopment.com


Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by shruthi krishnan <nk...@gmail.com>.
I want to buld a new application I m using Hello3 example appln to build on
and use web services to access the services if i make some changes to the
Hello3Services.java file m getting following errors can u help me?

Hello3Services.java:34: package org.ofbiz.base.util does not exist
import org.ofbiz.base.util.Debug;        // uses Log4J
                           ^
Hello3Services.java:35: package org.ofbiz.base.util does not exist
import org.ofbiz.base.util.UtilMisc;     // helpful utility for working with
Map
s, Lists, etc.
                           ^
Hello3Services.java:36: package org.ofbiz.entity does not exist
import org.ofbiz.entity.GenericDelegator;
                        ^
Hello3Services.java:37: package org.ofbiz.entity does not exist
import org.ofbiz.entity.GenericEntityException;
                        ^
Hello3Services.java:38: package org.ofbiz.entity does not exist
import org.ofbiz.entity.GenericValue;
                        ^
Hello3Services.java:39: package org.ofbiz.service does not exist
import org.ofbiz.service.DispatchContext;
                         ^
Hello3Services.java:40: package org.ofbiz.service does not exist
import org.ofbiz.service.ServiceUtil;
                         ^
Hello3Services.java:51: cannot resolve symbol
symbol  : class DispatchContext
location: class org.ofbiz.hello3.Hello3Services
    public static Map createHelloPerson(DispatchContext dctx, Map context) {
                                        ^
Hello3Services.java:76: cannot resolve symbol
symbol  : class DispatchContext
location: class org.ofbiz.hello3.Hello3Services
    public static Map searchHelloPerson(DispatchContext dctx, Map context) {
                                        ^
Hello3Services.java:52: cannot resolve symbol
symbol  : class GenericDelegator
location: class org.ofbiz.hello3.Hello3Services
        GenericDelegator delegator = dctx.getDelegator();  // always passed
in w
ith DispatchContext
        ^
Hello3Services.java:56: cannot resolve symbol
symbol  : variable Debug
location: class org.ofbiz.hello3.Hello3Services
            Debug.logInfo("helloPersonId = " + helloPersonId, module); //
prints
 to the console or console.log
            ^
Hello3Services.java:57: cannot resolve symbol
symbol  : class GenericValue
location: class org.ofbiz.hello3.Hello3Services
            GenericValue helloPerson = delegator.makeValue("HelloPerson",
            ^
Hello3Services.java:58: cannot resolve symbol
symbol  : variable UtilMisc
location: class org.ofbiz.hello3.Hello3Services
                    UtilMisc.toMap("helloPersonId", helloPersonId)); //
create a
 GenericValue from ID we just got
                    ^
Hello3Services.java:62: cannot resolve symbol
symbol  : variable ServiceUtil
location: class org.ofbiz.hello3.Hello3Services
            Map result = ServiceUtil.returnSuccess(); // gets standard Map
for s
uccessful service operations
                         ^
Hello3Services.java:65: cannot resolve symbol
symbol  : class GenericEntityException
location: class org.ofbiz.hello3.Hello3Services
        } catch (GenericEntityException ex) { // required if you use
delegator i
n Java
                 ^
Hello3Services.java:66: cannot resolve symbol
symbol  : variable ServiceUtil
location: class org.ofbiz.hello3.Hello3Services
            return ServiceUtil.returnError(ex.getMessage());
                   ^
Hello3Services.java:77: cannot resolve symbol
symbol  : class GenericDelegator
location: class org.ofbiz.hello3.Hello3Services
        GenericDelegator delegator = dctx.getDelegator();  // always passed
in w
ith DispatchContext
        ^
Hello3Services.java:84: cannot resolve symbol
symbol  : variable Debug
location: class org.ofbiz.hello3.Hello3Services
            Debug.logInfo("helloPersonId = " + helloPersonId, module);
            ^
Hello3Services.java:88: cannot resolve symbol
symbol  : variable UtilMisc
location: class org.ofbiz.hello3.Hello3Services
                                            UtilMisc.toMap
("helloPersonId",hello
PersonId));
                                            ^
Hello3Services.java:89: cannot resolve symbol
symbol  : variable Debug
location: class org.ofbiz.hello3.Hello3Services
            Debug.logInfo("queryResult = " + queryResult, module);
            ^
Hello3Services.java:92: cannot resolve symbol
symbol  : variable UtilMisc
location: class org.ofbiz.hello3.Hello3Services
            Map result = UtilMisc.toMap("helloPersonIdOut", helloPersonId);
                         ^
Hello3Services.java:98: cannot resolve symbol
symbol  : variable Debug
location: class org.ofbiz.hello3.Hello3Services
            Debug.logInfo("result = " + result, module);
            ^
Hello3Services.java:102: cannot resolve symbol
symbol  : class GenericEntityException
location: class org.ofbiz.hello3.Hello3Services
        } catch (GenericEntityException ex) { // required if you use
delegator i
n Java
                 ^
Hello3Services.java:103: cannot resolve symbol
symbol  : variable ServiceUtil
location: class org.ofbiz.hello3.Hello3Services
            return ServiceUtil.returnError(ex.getMessage());


On 1/11/07, Raj Kumar Sav <ra...@adititechlabs.com> wrote:
>
> if u want to create a table. u have to write entity defination in
> entityModel.xml in appropreate  component.
>
> On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
> >
> > how to create a new table without reusing from ofbiz?
> >
> >
>
>
> --
> Regards
> Raj Kumar Sav
> Aditisoft Technology Laboratory
>
>

Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by Raj Kumar Sav <ra...@adititechlabs.com>.
if u want to create a table. u have to write entity defination in
entityModel.xml in appropreate  component.

On 1/11/07, shruthi krishnan <nk...@gmail.com> wrote:
>
> how to create a new table without reusing from ofbiz?
>
>


-- 
Regards
Raj Kumar Sav
Aditisoft Technology Laboratory

Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup

Posted by shruthi krishnan <nk...@gmail.com>.
how to create a new table without reusing from ofbiz?