ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mandeepmavi <mandeepm...@yahoo.com>
Subject Re: New to Ofbiz and Ofbiz POS
Date Wed, 12 Nov 2014 15:32:59 GMT
HI 
If i add POS to new release or SVN. getting error with ant command. 

copy-derby-props: 

ofbiz-init: 

build: 
     [echo] [build] ========== Start Building (Compile) ========== 

build-framework: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

gen-src: 

classes: 

jar: 

init: 

prepare: 

gen-src: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

stubs: 

main-jar: 

rmi-jar: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

build-applications: 

init: 

prepare: 

classes: 
  [javac16] Compiling 1 source file to
c:\ofbiz\applications\content\build\class 
es 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 

jar: 

build-specialpurpose: 

init: 

prepare: 

classes: 

jar: 

init: 

prepare: 

classes: 
  [javac16] Compiling 62 source files to
c:\ofbiz\specialpurpose\pos\build\class 
es 
  [javac16]
c:\ofbiz\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:59 
: cannot find symbol 
  [javac16] symbol  : class EntityQuery 
  [javac16] location: package org.ofbiz.entity.util 
  [javac16] import org.ofbiz.entity.util.EntityQuery; 
  [javac16]                             ^ 
  [javac16]
c:\ofbiz\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:59 
: cannot find symbol 
  [javac16] symbol  : class EntityQuery 
  [javac16] location: package org.ofbiz.entity.util 
  [javac16] import org.ofbiz.entity.util.EntityQuery; 
  [javac16]                             ^ 
  [javac16]
c:\ofbiz\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:43 
7: cannot find symbol 
  [javac16] symbol  : variable EntityQuery 
  [javac16] location: class org.ofbiz.pos.PosTransaction 
  [javac16]             product =
EntityQuery.use(delegator).from("Product").whe 
re("productId", productId).cache().queryOne(); 
  [javac16]                       ^ 
  [javac16]
c:\ofbiz\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:49 
6: cannot find symbol 
  [javac16] symbol  : variable EntityQuery 
  [javac16] location: class org.ofbiz.pos.PosTransaction 
  [javac16]             product =
EntityQuery.use(delegator).from("Product").whe 
re("productId", productId).cache().queryOne(); 
  [javac16]                       ^ 
  [javac16]
c:\ofbiz\specialpurpose\pos\src\org\ofbiz\pos\config\ButtonEventConf 
ig.java:55: warning: [deprecation] getXmlRootElement(java.lang.String) in
org.of 
biz.base.config.ResourceLoader has been deprecated 
  [javac16]         Element root =
ResourceLoader.getXmlRootElement(ButtonEventC 
onfig.BUTTON_EVENT_CONFIG); 
  [javac16]                                      ^ 
  [javac16] 3 errors 
  [javac16] 1 warning 

BUILD FAILED 
c:\ofbiz\build.xml:230: The following error occurred while executing this
line: 
c:\ofbiz\build.xml:252: The following error occurred while executing this
line: 
c:\ofbiz\macros.xml:39: The following error occurred while executing this
line: 
c:\ofbiz\common.xml:91: Compile failed; see the compiler error output for
detail 
s. 

Total time: 7 seconds 
c:\ofbiz>

Mandeep



--
View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4658123.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message