ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Hamilton <...@sh81.com>
Subject Re: Java 6 Question
Date Thu, 03 Dec 2009 03:42:53 GMT
Shi - yep the branch builds fine but the trunk errors out with the 
following error:

classes:
  [javac15] Compiling 54 source files to 
/opt/ofbiz/applications/product/build/classes
  [javac15] 
/opt/ofbiz/applications/product/src/org/ofbiz/product/config/ProductConfigWorker.java:139:

warning: [deprecation] 
getProductvirtualVariantMethod(org.ofbiz.entity.Delegator,java.lang.String) 
in org.ofbiz.product.product.ProductWorker has been deprecated
  [javac15]                                         if 
("VV_FEATURETREE".equals(ProductWorker.getProductvirtualVariantMethod((Delegator)request.getAttribute("delegator"),

selectedProdcutId))) {
  
[javac15]                                                                                
 
^
  [javac15] 
/opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1220:

cannot find symbol
  [javac15] symbol  : method 
add(java.util.Map<java.lang.String,java.lang.Object>)
  [javac15] location: interface 
java.util.List<java.util.Map<java.lang.String,java.lang.String>>
  [javac15]             
featureCountList.add(UtilMisc.toMap("productFeatureId", (String) 
searchResult.get("pfacProductFeatureId"), "productFeatureTypeId", 
(String) searchResult.get("pfcProductFeatureTypeId"), "description", 
(String) searchResult.get("pfcDescription"), "featureCount", 
Long.toString((Long) searchResult.get("featureCount"))));
  [javac15]                             ^
  [javac15] Note: 
/opt/ofbiz/applications/product/src/org/ofbiz/product/product/ProductSearch.java 
uses unchecked or unsafe operations.
  [javac15] Note: Recompile with -Xlint:unchecked for details.
  [javac15] 1 error
  [javac15] 1 warning

BUILD FAILED
/opt/ofbiz/build.xml:192: The following error occurred while executing 
this line:
/opt/ofbiz/applications/build.xml:67: The following error occurred while 
executing this line:
/opt/ofbiz/macros.xml:27: The following error occurred while executing 
this line:
/opt/ofbiz/applications/product/build.xml:67: Compile failed; see the 
compiler error output for details.




BJ Freeman wrote:
> comes with centos 5 and works out of the box
> java version "1.6.0"
> OpenJDK  Runtime Environment (build 1.6.0-b09)
> OpenJDK Client VM (build 1.6.0-b09, mixed mode)
>
>
> Sam Hamilton sent the following on 12/1/2009 5:49 AM:
>   
>> I dug this out from the fedora wiki -
>> http://fedoraproject.org/wiki/PackageMaintainers which explains how to
>> get a package submitted but at the moment the trunk r885762 fails to
>> build so I am guessing Shi that you have fixed a few things to get it
>> working.
>>
>> Sam
>>
>>
>> Shi Jinghai wrote:
>>     
>>> Yes, I see. That's a great idea. Not sure how Apache(httpd) and Tomcat
>>> became a part of Linux releases, create a self maintained repository at
>>> the 1st step and then try to merge it into Linux releases step by step?
>>>
>>> Shi Jinghai
>>>
>>> 在 2009-12-01二的 10:53 +0100,Jacques Le Roux写道:
>>>  
>>>       
>>>> This is very intereting because it allows to create packages for
>>>> Linux systems. And this would increase much OFBiz visibility...
>>>>
>>>> Jacques
>>>>
>>>> From: "Shi Jinghai" <shijh@langhua.cn>
>>>>    
>>>>         
>>>>> We have used OpenJDK (on Fedora) for a while. There is no problem at
>>>>> all.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Shi Jinghai/Beijing Langhua Ltd.
>>>>>
>>>>>
>>>>> 在 2009-12-01二的 15:32 +0800,Sam Hamilton写道:
>>>>>      
>>>>>           
>>>>>> Hi Guys,
>>>>>>
>>>>>> I see that there is a vote going on at the moment about java 6 -
I am
>>>>>> wondering if this would also mean that it would be possible to run
>>>>>> OFBiz
>>>>>> using openJDK once this migration has been done?
>>>>>>
>>>>>>
>>>>>> Cheers
>>>>>> Sam
>>>>>>         
>>>>>>             
>>>>     
>>>>         
>>>   
>>>       
>>     
>
>   


Mime
View raw message