Hi Sam,
Inline...
From: "Sam Hamilton" <[email protected]>
Thanks Shi.
I found that OFBiz trunk is in Hudson and from what I can tell is only building against sun-java6-jdk-1.6.0.10
(http://ci.apache.org/builders/ofbiz-trunk) but I totally could be reading this wrong.
Builbot is not Hudson http://ci.apache.org/
Does it make sense to add openJDK to the build list to make sure that ofbiz is compatible - I ask this as a total layman and only
for the POV that being able to one day "yum install ofbiz-trunk" / "apt-get install ofbiz-trunk" would be a great way to get the
project into many more less technical hands.
Not sure how to "add openJDK to the build list" but sure a good idea
Regards
Jacques
Sam
Shi Jinghai wrote:
That's the pain to follow trunk.
Not sure whether OFBiz has used the Hudson. If yes, I think Hudson report
will help you to know which the latest version has passed build and test
without any errors.
Good luck,
Shi Jinghai/Beijing Langhua Ltd.
在 2009-12-03四的 11:42 +0800,Sam Hamilton写道:
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" <[email protected]>
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