Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 479805 - WTP 3.8 build fails to build org.eclipse.wst.jsdt.doc
Summary: WTP 3.8 build fails to build org.eclipse.wst.jsdt.doc
Status: RESOLVED FIXED
Alias: None
Product: WTP Releng
Classification: WebTools
Component: releng (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Carl Anderson CLA
QA Contact: Carl Anderson CLA
URL:
Whiteboard:
Keywords:
Depends on: 478987
Blocks:
  Show dependency tree
 
Reported: 2015-10-14 19:43 EDT by Carl Anderson CLA
Modified: 2015-10-14 19:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Anderson CLA 2015-10-14 19:43:47 EDT
WTP is trying to build against the Eclipse Neon M2 platform, but fails.
From the build console output:

[INFO] ------------------------------------------------------------------------
[INFO] Building org.eclipse.wst.jsdt.doc 1.4.101-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.eclipse.wst.jsdt.doc ---
[INFO] 
[INFO] --- tycho-packaging-plugin:0.21.0:build-qualifier (default-build-qualifier) @ org.eclipse.wst.jsdt.doc ---
[INFO] The project's OSGi version is 1.4.101.v201507140011
[INFO] 
[INFO] --- tycho-packaging-plugin:0.21.0:validate-id (default-validate-id) @ org.eclipse.wst.jsdt.doc ---
[INFO] 
[INFO] --- tycho-packaging-plugin:0.21.0:validate-version (default-validate-version) @ org.eclipse.wst.jsdt.doc ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.wst.jsdt.doc ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/src/main/resources
[INFO] 
[INFO] --- tycho-compiler-plugin:0.21.0:compile (default-compile) @ org.eclipse.wst.jsdt.doc ---
[INFO] 
[INFO] --- tycho-eclipserun-plugin:0.21.0:eclipse-run (build_java_doc) @ org.eclipse.wst.jsdt.doc ---
[WARNING] p2 repository with URL http://download.eclipse.org/eclipse/updates/4.6milestones/S-4.6M2-201509162000 is associated with multiple IDs; was 'platform', now is 'eclipse'
[INFO] Expected eclipse log file: /jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/target/eclipserun-work/data/.metadata/.log
[INFO] Command line:
	[/opt/public/common/jdk1.8.0_51.x64/jre/bin/java, -jar, /jobs/genie.webtools/WTP-R3_8_Integration/workspace/.maven/repo/p2/osgi/bundle/org.eclipse.equinox.launcher/1.3.100.v20150511-1540/org.eclipse.equinox.launcher-1.3.100.v20150511-1540.jar, -install, /jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/target/eclipserun-work, -configuration, /jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/target/eclipserun-work/configuration, -consolelog, -debug, -application, org.eclipse.ant.core.antRunner, -quiet, -buildfile, buildDoc.xml]
Configuration location:
    file:/jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/target/eclipserun-work/configuration/
Configuration file:
    file:/jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/target/eclipserun-work/configuration/config.ini loaded
Install location:
    file:/jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/target/eclipserun-work/
Framework located:
    file:/home/hudson/genie.webtools/.hudson/jobs/WTP-R3_8_Integration/workspace/.maven/repo/p2/osgi/bundle/org.eclipse.osgi/3.10.200.v20150831-0856/org.eclipse.osgi-3.10.200.v20150831-0856.jar
Framework classpath:
    file:/home/hudson/genie.webtools/.hudson/jobs/WTP-R3_8_Integration/workspace/.maven/repo/p2/osgi/bundle/org.eclipse.osgi/3.10.200.v20150831-0856/org.eclipse.osgi-3.10.200.v20150831-0856.jar
Debug options:
    file:/jobs/genie.webtools/WTP-R3_8_Integration/workspace/webtools.jsdt/docs/org.eclipse.wst.jsdt.doc/.options not found
Time to load bundles: 3444
Starting application: 6341
Application Started: 6351
!SESSION 2015-10-14 18:00:52.374 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -application org.eclipse.ant.core.antRunner -quiet -buildfile buildDoc.xml
Command-line arguments:  -consolelog -debug -application org.eclipse.ant.core.antRunner -quiet -buildfile buildDoc.xml

!ENTRY org.eclipse.osgi 2 0 2015-10-14 18:00:58.936
!MESSAGE org.eclipse.ant.internal.core.ant.InternalAntRunner cannot be found by org.eclipse.core.resources_3.11.0.v20150909-2051
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.ant.internal.core.ant.InternalAntRunner cannot be found by org.eclipse.core.resources_3.11.0.v20150909-2051
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:444)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:583)
	at org.eclipse.ant.core.AntCorePreferences$WrappedClassLoader.findClass(AntCorePreferences.java:97)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.eclipse.ant.internal.core.AntClassLoader.loadClassPlugins(AntClassLoader.java:68)
	at org.eclipse.ant.internal.core.AntClassLoader.findClass(AntClassLoader.java:46)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.eclipse.ant.core.AntRunner.run(AntRunner.java:508)
	at org.eclipse.ant.core.AntRunner.start(AntRunner.java:608)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
Comment 1 Carl Anderson CLA 2015-10-14 19:44:50 EDT
David Williams pointed me at bug 478987 which seems to be the cause of this issue.
Comment 2 Carl Anderson CLA 2015-10-14 19:47:48 EDT
Note that our CBI Maven/Tycho/Hudson build already uses Java 8.  Changing the Eclipse Platform to http://download.eclipse.org/eclipse/downloads/drops4/I20151006-0800/ gets us past this issue.  (So we cannot build with the Eclipse Neon M2 platform, we must use the later driver.)