Build of 13.07.01 fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Build of 13.07.01 fails

pprice
I downloaded the apache-ofbiz-13.07.01.zip file and extracted it.
I then issued the ./ant command which produces lots of output terminating with:

classes:
  [javac16] Compiling 11 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java:139: error: cannot access DataResourceWorkerInterface
  [javac16]                     ByteBuffer dataContent = DataResourceWorker.getContentAsByteBuffer(delegator, dataResource.getString("dataResourceId"), null, null, locale, null);
  [javac16]                                                                ^
  [javac16]   class file for org.ofbiz.widget.DataResourceWorkerInterface not found
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java:229: error: cannot access ContentWorkerInterface
  [javac16]             ContentWorker.renderContentAsText(dispatcher, delegator, partyContent.getString("contentId"), outWriter, inContext, locale, mimeTypeId, null, null, false);
  [javac16]                          ^
  [javac16]   class file for org.ofbiz.widget.ContentWorkerInterface not found
  [javac16] 2 errors

BUILD FAILED
/home/pprice/Downloads/apache-ofbiz-13.07.01/build.xml:229: The following error occurred while executing this line:
/home/pprice/Downloads/apache-ofbiz-13.07.01/build.xml:248: The following error occurred while executing this line:
/home/pprice/Downloads/apache-ofbiz-13.07.01/macros.xml:39: The following error occurred while executing this line:
/home/pprice/Downloads/apache-ofbiz-13.07.01/common.xml:91: Compile failed; see the compiler error output for details.

I also tried building trunk but got other unrelated errors.

System configuration:
os: ubuntu 14.04
ant : v1.9.3
javac: v1.8.0_20

Full output of $ ./ant refresh
Buildfile: /home/pprice/Downloads/apache-ofbiz-13.07.01/build.xml

refresh:

clean-all:

clean-data:
   [delete] Deleting /home/pprice/Downloads/apache-ofbiz-13.07.01/runtime/data/derby

clean-logs:
   [delete] Deleting /home/pprice/Downloads/apache-ofbiz-13.07.01/runtime/logs/test-results

clean-output:

clean-xtra:

clean-catalina:

clean-cache:
     [echo] NOTICE: deleting ${cache.file.store}.db
   [delete] Could not find file /home/pprice/Downloads/apache-ofbiz-13.07.01/${cache.file.store}.db to delete.

clean-tempfiles:

clean-search-indexes:

clean:
[externalsubant] No sub-builds to iterate on

clean-specialpurpose:

clean:

clean-applications:

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/build

clean:

clean:

clean:

clean:

clean:

clean:

clean:

clean:

clean-framework:

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/start/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/geronimo/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/catalina/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/security/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entityext/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/bi/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/minilang/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webapp/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/datafile/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/testtools/build

clean:
   [delete] Deleting directory /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/build
   [delete] Deleting: /home/pprice/Downloads/apache-ofbiz-13.07.01/ofbiz.jar
     [echo] [clean] ========== Done Cleaning ==========

dir-init:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/runtime/logs/test-results
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/runtime/data/derby

copy-derby-props:

ofbiz-init:

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

build-framework:

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/start/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/start/build/lib

classes:
  [javac16] Compiling 8 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/start/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/start/build/lib/ofbiz.jar
     [copy] Copying 1 file to /home/pprice/Downloads/apache-ofbiz-13.07.01

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build/lib

gen-src:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build/gen-src/javacc/org/ofbiz/base/json
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/src/org/ofbiz/base/json/JSON.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

classes:
  [javac16] Compiling 180 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java:39: warning: [deprecation] getXmlRootElement(String) in ResourceLoader has been deprecated
  [javac16]             return ResourceLoader.getXmlRootElement(JNDIConfigUtil.JNDI_CONFIG_XML_FILENAME);
  [javac16]                                  ^
  [javac16] warning: Implicitly compiled files were not subject to annotation processing.
  [javac16]   Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
  [javac16] Note: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/src/org/ofbiz/base/conversion/Converters.java uses unchecked or unsafe operations.
  [javac16] Note: Recompile with -Xlint:unchecked for details.
  [javac16] 2 warnings

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build/lib/ofbiz-base.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/base/build/lib/ofbiz-base-test.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build/lib

gen-src:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build/gen-src/javacc/org/ofbiz/sql
   [javacc] Java Compiler Compiler Version 5.0 (Parser Generator)
   [javacc] (type "javacc" with no arguments for help)
   [javacc] Reading from file /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/src/org/ofbiz/sql/Parser.jj . . .
   [javacc] File "TokenMgrError.java" does not exist.  Will create one.
   [javacc] File "ParseException.java" does not exist.  Will create one.
   [javacc] File "Token.java" does not exist.  Will create one.
   [javacc] File "SimpleCharStream.java" does not exist.  Will create one.
   [javacc] Parser generated successfully.

classes:
  [javac16] Compiling 55 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] warning: Implicitly compiled files were not subject to annotation processing.
  [javac16]   Use -proc:none to disable annotation processing or -implicit to specify a policy for implicit compilation.
  [javac16] 1 warning

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build/lib/ofbiz-sql.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/sql/build/lib/ofbiz-sql-test.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/build/lib

classes:
  [javac16] Compiling 150 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/src/org/ofbiz/entity/connection/DBCPConnectionFactory.java:133: warning: [deprecation] setFactory(PoolableObjectFactory) in GenericObjectPool has been deprecated
  [javac16]         pool.setFactory(factory);
  [javac16]             ^
  [javac16] Note: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/src/org/ofbiz/entity/test/EntityTestSuite.java uses unchecked or unsafe operations.
  [javac16] Note: Recompile with -Xlint:unchecked for details.
  [javac16] 1 warning

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/build/lib/ofbiz-entity.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entity/build/lib/ofbiz-entity-test.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/geronimo/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/geronimo/build/lib

classes:
  [javac16] Compiling 2 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/geronimo/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/geronimo/build/lib/ofbiz-geronimo.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/catalina/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/catalina/build/lib

classes:
  [javac16] Compiling 5 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/catalina/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java:358: warning: [deprecation] setResolveHosts(boolean) in AccessLogValve has been deprecated
  [javac16]             al.setResolveHosts(alp4);
  [javac16]               ^
  [javac16] 1 warning

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/catalina/build/lib/ofbiz-catalina.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/security/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/security/build/lib

classes:
  [javac16] Compiling 4 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/security/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/security/build/lib/ofbiz-security.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/lib

classes:
  [javac16] Compiling 122 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

stubs:
     [rmic] RMI Compiling 1 class to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/classes
     [rmic] Warning: generation and use of skeletons and static stubs for JRMP
     [rmic] is deprecated. Skeletons are unnecessary, and static stubs have
     [rmic] been superseded by dynamically generated stubs. Users are
     [rmic] encouraged to migrate away from using rmic to generate skeletons and static
     [rmic] stubs. See the documentation for java.rmi.server.UnicastRemoteObject.

main-jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/lib/ofbiz-service.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/lib/ofbiz-service-test.jar

rmi-jar:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/rmi
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/service/build/rmi/ofbiz-service-rmi.jar

jar:

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entityext/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entityext/build/lib

classes:
  [javac16] Compiling 16 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entityext/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/entityext/build/lib/ofbiz-entityext.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/bi/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/bi/build/lib

classes:
  [javac16] Compiling 1 source file to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/bi/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/bi/build/lib/ofbiz-bi.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/minilang/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/minilang/build/lib

classes:
  [javac16] Compiling 128 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/minilang/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/minilang/build/lib/ofbiz-minilang.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/minilang/build/lib/ofbiz-minilang-test.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webapp/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webapp/build/lib

classes:
  [javac16] Compiling 91 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webapp/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webapp/build/lib/ofbiz-webapp.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webapp/build/lib/ofbiz-webapp-test.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/build/lib

classes:
  [javac16] Compiling 63 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:60: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer.ScreenletMenuRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:60: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer.ScreenletMenuRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/ScreenFopViewHandler.java:43: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:60: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer.ScreenletMenuRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:60: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer.ScreenletMenuRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/ScreenFopViewHandler.java:43: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:60: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer.ScreenletMenuRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java:60: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer.ScreenletMenuRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/ScreenFopViewHandler.java:43: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/fo/FoFormRenderer.java:80: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]             writer.append(FoScreenRenderer.getFoStyle(widgetStyle));
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/fo/FoFormRenderer.java:206: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]                 writer.append(FoScreenRenderer.getFoStyle(areaStyle));
  [javac16]                               ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/fo/FoFormRenderer.java:288: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]         writer.append(FoScreenRenderer.getFoStyle(areaStyle));
  [javac16]                       ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/html/HtmlTreeRenderer.java:340: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16]                 screenStringRenderer = new HtmlScreenRenderer();
  [javac16]                                            ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/src/org/ofbiz/widget/screen/ScreenFopViewHandler.java:124: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16]             ScreenRenderer screens = new ScreenRenderer(writer, null, new HtmlScreenRenderer());
  [javac16]                                                                           ^
  [javac16] 14 warnings

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/widget/build/lib/ofbiz-widget.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/build/lib

classes:
  [javac16] Compiling 33 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:77: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16] import org.ofbiz.widget.fo.FoScreenRenderer;
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:78: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:77: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16] import org.ofbiz.widget.fo.FoScreenRenderer;
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:78: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:77: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16] import org.ofbiz.widget.fo.FoScreenRenderer;
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:78: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:91: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16]     protected static final HtmlScreenRenderer htmlScreenRenderer = new HtmlScreenRenderer();
  [javac16]                            ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:91: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16]     protected static final HtmlScreenRenderer htmlScreenRenderer = new HtmlScreenRenderer();
  [javac16]                                                                        ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:92: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]     protected static final FoScreenRenderer foScreenRenderer = new FoScreenRenderer();
  [javac16]                            ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/email/EmailServices.java:92: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]     protected static final FoScreenRenderer foScreenRenderer = new FoScreenRenderer();
  [javac16]                                                                    ^
  [javac16] Note: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/src/org/ofbiz/common/CommonEvents.java uses unchecked or unsafe operations.
  [javac16] Note: Recompile with -Xlint:unchecked for details.
  [javac16] 10 warnings

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/common/build/lib/ofbiz-common.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/datafile/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/datafile/build/lib

classes:
  [javac16] Compiling 9 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/datafile/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/datafile/build/lib/ofbiz-datafile.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/testtools/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/testtools/build/lib

classes:
  [javac16] Compiling 7 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/testtools/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/testtools/build/lib/ofbiz-testtools.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/build/lib

classes:
  [javac16] Compiling 19 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/print/FoPrintServerEvents.java:40: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/print/FoPrintServerEvents.java:40: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/print/FoPrintServerEvents.java:40: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16] import org.ofbiz.widget.html.HtmlScreenRenderer;
  [javac16]                             ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java:97: warning: [deprecation] getAllEntityNamesUsed() in SimpleMethod has been deprecated
  [javac16]             Set<String> allEntityNameSet = simpleMethodToCall.getAllEntityNamesUsed();
  [javac16]                                                              ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java:157: warning: [deprecation] getAllServiceNamesCalled() in SimpleMethod has been deprecated
  [javac16]             Set<String> allServiceNameSet = simpleMethodToCall.getAllServiceNamesCalled();
  [javac16]                                                               ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/print/FoPrintServerEvents.java:49: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16]     private static HtmlScreenRenderer htmlScreenRenderer = new HtmlScreenRenderer();
  [javac16]                    ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/print/FoPrintServerEvents.java:49: warning: [deprecation] HtmlScreenRenderer in org.ofbiz.widget.html has been deprecated
  [javac16]     private static HtmlScreenRenderer htmlScreenRenderer = new HtmlScreenRenderer();
  [javac16]                                                                ^
  [javac16] Note: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ArtifactInfoFactory.java uses unchecked or unsafe operations.
  [javac16] Note: Recompile with -Xlint:unchecked for details.
  [javac16] 7 warnings

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/framework/webtools/build/lib/ofbiz-webtools.jar

build-applications:

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/build/lib

classes:
  [javac16] Compiling 50 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/src/org/ofbiz/content/output/OutputServices.java:65: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16] import org.ofbiz.widget.fo.FoScreenRenderer;
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/src/org/ofbiz/content/output/OutputServices.java:65: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16] import org.ofbiz.widget.fo.FoScreenRenderer;
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/src/org/ofbiz/content/output/OutputServices.java:65: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16] import org.ofbiz.widget.fo.FoScreenRenderer;
  [javac16]                           ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/src/org/ofbiz/content/output/OutputServices.java:76: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]     protected static final FoScreenRenderer foScreenRenderer = new FoScreenRenderer();
  [javac16]                            ^
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/src/org/ofbiz/content/output/OutputServices.java:76: warning: [deprecation] FoScreenRenderer in org.ofbiz.widget.fo has been deprecated
  [javac16]     protected static final FoScreenRenderer foScreenRenderer = new FoScreenRenderer();
  [javac16]                                                                    ^
  [javac16] 5 warnings

jar:
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/build/lib/ofbiz-content.jar
      [jar] Building jar: /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/content/build/lib/ofbiz-content-test.jar

init:

prepare:
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/build/classes
    [mkdir] Created dir: /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/build/lib

classes:
  [javac16] Compiling 11 source files to /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/build/classes
  [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java:139: error: cannot access DataResourceWorkerInterface
  [javac16]                     ByteBuffer dataContent = DataResourceWorker.getContentAsByteBuffer(delegator, dataResource.getString("dataResourceId"), null, null, locale, null);
  [javac16]                                                                ^
  [javac16]   class file for org.ofbiz.widget.DataResourceWorkerInterface not found
  [javac16] /home/pprice/Downloads/apache-ofbiz-13.07.01/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java:229: error: cannot access ContentWorkerInterface
  [javac16]             ContentWorker.renderContentAsText(dispatcher, delegator, partyContent.getString("contentId"), outWriter, inContext, locale, mimeTypeId, null, null, false);
  [javac16]                          ^
  [javac16]   class file for org.ofbiz.widget.ContentWorkerInterface not found
  [javac16] 2 errors

Reply | Threaded
Open this post in threaded view
|

Re: Build of 13.07.01 fails

pprice
This appears to an issue with java 1.8
I was able to build using java version 1.7.0_67
Reply | Threaded
Open this post in threaded view
|

Re: Build of 13.07.01 fails

parnold
I was having also some problems with Build 13.07.01 and using Java 1.8 on Windows 7.

Switched than back to Java 1.7.0.71 and could to the build successfully.
However I was then not able to access neither catalog nor ecommerce nor webtools by using following links:

http://127.0.0.1:8080/ecommerce/control/main
https://127.0.0.1:8443/catalog/control/main
https://127.0.0.1:8443/webtools/control/main

Finally installed Java SDK 1.7.0_67 after having seen your post.
With that version everything finally is working.