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 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 |
[ https://issues.apache.org/jira/browse/OFBIZ-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Si Chen reassigned OFBIZ-607: ----------------------------- Assignee: Si Chen > 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 |
In reply to this post by Nicolas Malin (Jira)
[ 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 |
how to create a new table without reusing from ofbiz?
|
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 <[hidden email]> wrote: > > how to create a new table without reusing from ofbiz? > > -- Regards Raj Kumar Sav Aditisoft Technology Laboratory |
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 <[hidden email]> 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 <[hidden email]> wrote: > > > > how to create a new table without reusing from ofbiz? > > > > > > > -- > Regards > Raj Kumar Sav > Aditisoft Technology Laboratory > > |
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > > > > > how to create a new table without reusing from ofbiz? > > > > > > > > > > > > -- > > Regards > > Raj Kumar Sav > > Aditisoft Technology Laboratory > > > > > |
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: >> > > >> > > how to create a new table without reusing from ofbiz? >> > > >> > > >> > >> > >> > -- >> > Regards >> > Raj Kumar Sav >> > Aditisoft Technology Laboratory >> > >> > >> > |
In reply to this post by shruthi krishnan
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > > > > > > > how to create a new table without reusing from ofbiz? > > > > > > > > > > > > > > > > > -- > > > Regards > > > Raj Kumar Sav > > > Aditisoft Technology Laboratory > > > > > > > > Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
In reply to this post by rajsaini
sorry for intruding in ur list how to access the users list?
Thanks. On 1/11/07, Raj Saini <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > >> > > > >> > > how to create a new table without reusing from ofbiz? > >> > > > >> > > > >> > > >> > > >> > -- > >> > Regards > >> > Raj Kumar Sav > >> > Aditisoft Technology Laboratory > >> > > >> > > >> > > > > |
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 [hidden email]. 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: >> >> > > >> >> > > how to create a new table without reusing from ofbiz? >> >> > > >> >> > > >> >> > >> >> > >> >> > -- >> >> > Regards >> >> > Raj Kumar Sav >> >> > Aditisoft Technology Laboratory >> >> > >> >> > >> >> >> > >> >> > |
Administrator
|
In reply to this post by shruthi krishnan
That's a good question. As OFBiz has changed from [hidden email] to [hidden email] 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" <[hidden email]> To: <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > >> > > > > >> > > how to create a new table without reusing from ofbiz? > > >> > > > > >> > > > > >> > > > >> > > > >> > -- > > >> > Regards > > >> > Raj Kumar Sav > > >> > Aditisoft Technology Laboratory > > >> > > > >> > > > >> > > > > > > > > |
thanku all
On 1/12/07, Jacques Le Roux <[hidden email]> wrote: > > That's a good question. As OFBiz has changed from > [hidden email] to [hidden email] 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" <[hidden email]> > To: <[hidden email]> > 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > > >> > > > > > >> > > how to create a new table without reusing from ofbiz? > > > >> > > > > > >> > > > > > >> > > > > >> > > > > >> > -- > > > >> > Regards > > > >> > Raj Kumar Sav > > > >> > Aditisoft Technology Laboratory > > > >> > > > > >> > > > > >> > > > > > > > > > > > > > > |
Administrator
|
In reply to this post by Nicolas Malin (Jira)
I don't know where to ask to change references in http://mail-archives.apache.org/mod_mbox/, infra ?
I just changed references in Website. Jacques ----- Original Message ----- From: "Jacques Le Roux" <[hidden email]> To: <[hidden email]> Sent: Friday, January 12, 2007 8:41 AM Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup > That's a good question. As OFBiz has changed from [hidden email] to [hidden email] 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" <[hidden email]> > To: <[hidden email]> > 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > > >> > > > > > >> > > how to create a new table without reusing from ofbiz? > > > >> > > > > > >> > > > > > >> > > > > >> > > > > >> > -- > > > >> > Regards > > > >> > Raj Kumar Sav > > > >> > Aditisoft Technology Laboratory > > > >> > > > > >> > > > > >> > > > > > > > > > > > > > |
Administrator
|
We need to change infos in http://svn.ofbiz.org/ (incubator always there)
I tried change it in site from the repository but seems not to be there no more (looked for "Anonymous (Guest) Access" in all files) This page is referenced in the old wiki, it may be disturbing for new users... BTW deleting obsolete infos at root (ie even complete page) in old wiki is perhaps a best method ? Jacques ----- Original Message ----- From: "Jacques Le Roux" <[hidden email]> To: <[hidden email]> Sent: Saturday, January 13, 2007 12:37 PM Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup > I don't know where to ask to change references in http://mail-archives.apache.org/mod_mbox/, infra ? > > I just changed references in Website. > > Jacques > > > ----- Original Message ----- > From: "Jacques Le Roux" <[hidden email]> > To: <[hidden email]> > Sent: Friday, January 12, 2007 8:41 AM > Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup > > > > That's a good question. As OFBiz has changed from [hidden email] to [hidden email] 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" <[hidden email]> > > To: <[hidden email]> > > 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > > > >> > > > > > > >> > > how to create a new table without reusing from ofbiz? > > > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > -- > > > > >> > Regards > > > > >> > Raj Kumar Sav > > > > >> > Aditisoft Technology Laboratory > > > > >> > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > |
On Jan 13, 2007, at 5:07 AM, Jacques Le Roux wrote: > We need to change infos in http://svn.ofbiz.org/ (incubator always > there) > > I tried change it in site from the repository but seems not to be > there no more (looked for "Anonymous (Guest) Access" in all files) See the links from the index.html file, this has been moved to the docs.ofbiz.org site. > This page is referenced in the old wiki, it may be disturbing for > new users... BTW deleting obsolete infos at root (ie even complete > page) in old wiki is perhaps a best method ? Part of the trouble with wikis... they are a bit wild and difficult to maintain, which is the reason we have "moderated" content areas on docs.ofbiz.org. -David > > Jacques > > ----- Original Message ----- > From: "Jacques Le Roux" <[hidden email]> > To: <[hidden email]> > Sent: Saturday, January 13, 2007 12:37 PM > Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary > productcategory lookup > > >> I don't know where to ask to change references in http://mail- >> archives.apache.org/mod_mbox/, infra ? >> >> I just changed references in Website. >> >> Jacques >> >> >> ----- Original Message ----- >> From: "Jacques Le Roux" <[hidden email]> >> To: <[hidden email]> >> Sent: Friday, January 12, 2007 8:41 AM >> Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary >> productcategory lookup >> >> >>> That's a good question. As OFBiz has changed from ofbiz- >>> [hidden email] to [hidden email] 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" <[hidden email]> >>> To: <[hidden email]> >>> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> >>>>>>> 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 <[hidden email]> wrote: >>>>>>>>> >>>>>>>>> how to create a new table without reusing from ofbiz? >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards >>>>>>>> Raj Kumar Sav >>>>>>>> Aditisoft Technology Laboratory >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>> >>> >> > smime.p7s (3K) Download Attachment |
Administrator
|
In reply to this post by Jacques Le Roux
Hi,
Who is able to tackle this please ? I might help but I don't know how... Thanks Jacques ----- Original Message ----- From: "Jacques Le Roux" <[hidden email]> To: <[hidden email]> Sent: Saturday, January 13, 2007 1:07 PM Subject: Update svn links > We need to change infos in http://svn.ofbiz.org/ (incubator always there) > > I tried change it in site from the repository but seems not to be there no more (looked for "Anonymous (Guest) Access" in all files) > > This page is referenced in the old wiki, it may be disturbing for new users... BTW deleting obsolete infos at root (ie even complete > page) in old wiki is perhaps a best method ? > > Jacques > > ----- Original Message ----- > From: "Jacques Le Roux" <[hidden email]> > To: <[hidden email]> > Sent: Saturday, January 13, 2007 12:37 PM > Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup > > > > I don't know where to ask to change references in http://mail-archives.apache.org/mod_mbox/, infra ? > > > > I just changed references in Website. > > > > Jacques > > > > > > ----- Original Message ----- > > From: "Jacques Le Roux" <[hidden email]> > > To: <[hidden email]> > > Sent: Friday, January 12, 2007 8:41 AM > > Subject: Re: [jira] Commented: (OFBIZ-607) Remove unnecessary productcategory lookup > > > > > > > That's a good question. As OFBiz has changed from [hidden email] to [hidden email] I just looked for > > > 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" <[hidden email]> > > > To: <[hidden email]> > > > 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote: > > > > > >> > > > > > > > >> > > how to create a new table without reusing from ofbiz? > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > >> > -- > > > > > >> > Regards > > > > > >> > Raj Kumar Sav > > > > > >> > Aditisoft Technology Laboratory > > > > > >> > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > |
Free forum by Nabble | Edit this page |