Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-releng-dev] Fw: Errors with ${eclipse.javadoc} while build org.eclipse.jdt.doc.isv

Pavel,

Was this ever answered? In fact, did it ever go to the mailing list? I did not see it, but found a "bounced" message in my inbox, ... and you may have gotten one too? That you need to subscribe to the mailing list before sending to it?
In any case, I have opened bug 439190 [1] to address the issue. We can at least document it, but I thought it would not have caused the kind of error you are seeing, so will peek if we can improve on that.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=439190

Thanks,


----- Forwarded by David M Williams/Raleigh/IBM on 07/08/2014 11:43 PM -----

From:        "Pavel Samolisov" <samolisov@xxxxxxxxx>
To:        <platform-dev@xxxxxxxxxxx>, "','" <platform-releng-dev@xxxxxxxxxxx>,
Date:        07/04/2014 03:16 AM
Subject:        [platform-releng-dev] Errors with ${eclipse.javadoc} while build        org.eclipse.jdt.doc.isv
Sent by:        platform-releng-dev-bounces@xxxxxxxxxxx




Hello everyone!
 
I try build eclipse platform from sources (Git, branch ‘master’) and got following errors while build the ‘org.eclipse.jdt.doc.isv’ bundle:
 
[INFO] Command line:
                [C:\Java\jdk1.7.0_40\jre\bin\java.exe, -Dhelp.lucene.tokenizer=standard, -jar, C:\Users\psamolisov\.m2\repository\p2\osgi\bundle\org.eclipse.equinox.launcher\1.3.0.v20140415-2008\org.eclipse.equinox.launcher-1.3.0.v20140415-2008.jar, -install, C:\Work\Develop\J\z\eclipse.platform.common\bundles\org.eclipse.jdt.doc.isv\target\eclipserun-work, -configuration, C:\Work\Develop\J\z\eclipse.platform.common\bundles\org.eclipse.jdt.doc.isv\target\eclipserun-work\configuration, -consolelog, -debug, -application, org.eclipse.ant.core.antRunner, -buildfile, buildDoc.xml, -Dbasedir.properties=cbi_basedirs.properties, -logger, org.apache.tools.ant.XmlLogger, -verbose, -logfile, buildDoc_log.xml, -Declipse.javadoc=${eclipse.javadoc}]
 
// skipped …
 
Framework arguments:  -application org.eclipse.ant.core.antRunner -buildfile buildDoc.xml -Dbasedir.properties=cbi_basedirs.properties -logger org.apache.tools.ant.XmlLogger -verbose -logfile buildDoc_log.xml -Declipse.javadoc=${eclipse.javadoc}
Command-line arguments:  -consolelog -debug -application org.eclipse.ant.core.antRunner -buildfile buildDoc.xml -Dbasedir.properties=cbi_basedirs.properties -logger org.apache.tools.ant.XmlLogger -verbose -logfile buildDoc_log.xml -Declipse.javadoc=${eclipse.javadoc}
 
!ENTRY org.eclipse.osgi 4 0 2014-07-04 08:24:58.166
!MESSAGE Application error
!STACK 1
java.lang.reflect.InvocationTargetException
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.eclipse.ant.core.AntRunner.run(AntRunner.java:511)
                at org.eclipse.ant.core.AntRunner.start(AntRunner.java:607)
                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:382)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
                at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: C:\Work\Develop\J\z\eclipse.platform.common\bundles\org.eclipse.jdt.doc.isv\buildDoc.xml:12: The following error occurred while executing this line:
C:\Work\Develop\J\z\eclipse.platform.common\bundles\org.eclipse.jdt.doc.isv\buildDoc.xml:124: Execute failed: java.io.IOException: Cannot run program "${eclipse.javadoc}": CreateProcess error=2, ?? ??????? ????? ????????? ????
                at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:568)
                at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
                at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
                at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
                at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:606)
                at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
                at org.apache.tools.ant.Task.perform(Task.java:348)
                at org.apache.tools.ant.Target.execute(Target.java:435)
                at org.apache.tools.ant.Target.performTasks(Target.java:456)
                at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
                at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
                at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
                at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36)
                at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
                at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:703)
                at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:566)
                ... 19 more
Caused by: C:\Work\Develop\J\z\eclipse.platform.common\bundles\org.eclipse.jdt.doc.isv\buildDoc.xml:124: Execute failed: java.io.IOException: Cannot run program "${eclipse.javadoc}": CreateProcess error=2, ?? ??????? ????? ????????? ????
 
I think the error source is “Execute failed: java.io.IOException: Cannot run program "${eclipse.javadoc}": CreateProcess error=2, ?? ??????? ????? ????????? ????”, so Maven could not resolve the ${eclipse.javadoc} property.
 
I added this property into the ‘eclipse-platform-parent/pom.xml’ file:
 
//…
  <properties>
    <eclipse.javadoc>javadoc</eclipse.javadoc>
//..
 
Eclipse Platform successfully builded after this changes. I can add this property into the ‘eclipse.platform.common/pom.xml’ file and build also successful.
 
Could you talk me what is right way to set this property? May be we should document this parameter into our Platform-releng wiki [1]?
 
[1]: http://wiki.eclipse.org/Platform-releng/Platform_Build
 
С уважением,
Самолысов Павел Евгеньевич
+7 (925) 144 76 82
 _______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-releng-dev

Back to the top