Community
Participate
Working Groups
Build ID: S-3.5M6-200903130100 Steps To Reproduce: 1. Attempt to build Eclipse 3.5M6 from sourceBuild-srcIncluded. More information: @dot: [mkdir] Created dir: /tmp/eclipse/plugins/org.eclipse.ui.intro/@dot [javac] Compiling 88 source files to /tmp/eclipse/plugins/org.eclipse.ui.intro/@dot [javac] ---------- [javac] 1. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 25) [javac] import org.eclipse.help.search.ISearchIndex; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.eclipse.help.search cannot be resolved [javac] ---------- [javac] 2. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 26) [javac] import org.eclipse.help.search.LuceneSearchParticipant; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.eclipse.help.search cannot be resolved [javac] ---------- [javac] 3. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 42) [javac] public class IntroSearchParticipant extends LuceneSearchParticipant { [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] LuceneSearchParticipant cannot be resolved to a type [javac] ---------- [javac] 4. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 137) [javac] href = resolveVariables(bundleId, content, locale); [javac] ^^^^^^^^^^^^^^^^ [javac] The method resolveVariables(String, String, String) is undefined for the type IntroSearchParticipant [javac] ---------- [javac] 5. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 151) [javac] public IStatus addDocument(ISearchIndex index, String pluginId, String name, URL url, String id, [javac] ^^^^^^^^^^^^ [javac] ISearchIndex cannot be resolved to a type [javac] ---------- [javac] 6. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 170) [javac] private IStatus addPage(ISearchIndex index, String pluginId, String name, URL url, IntroPage page, [javac] ^^^^^^^^^^^^ [javac] ISearchIndex cannot be resolved to a type [javac] ---------- [javac] 7. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 179) [javac] addTitle(titleSummary.title, doc); [javac] ^^^^^^^^ [javac] The method addTitle(String, Document) is undefined for the type IntroSearchParticipant [javac] ---------- [javac] 7 problems (7 errors) [javac] Compilation failed. Compiler errors are available in /tmp/eclipse/plugins/org.eclipse.ui.intro/@dot.log BUILD FAILED /tmp/eclipse/build.xml:68: The following error occurred while executing this line: /tmp/eclipse/build.xml:8: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.sdk/build.xml:39: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.sdk/build.xml:17: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.platform/build.xml:381: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.platform/build.xml:255: The following error occurred while executing this line: /tmp/eclipse/plugins/org.eclipse.ui.intro/build.xml:291: The following error occurred while executing this line: /tmp/eclipse/plugins/org.eclipse.ui.intro/build.xml:254: Compile failed; see the compiler error output for details. Apparently, the org.eclipse.ui.intro plugin depends on classes from the org.eclipse.help.base plugin, which has not yet been built at this point in the build process.
This is still a problem with the 3.5RC3 source build package! 3.5 should not be released while this bug persists, as it effectively prevents anyone from building Eclipse SDK from sources. Here's the error output from an unadulterated extraction of eclipse-sourceBuild-srcIncluded-3.5RC3.zip: [javac] 1. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 25) [javac] import org.eclipse.help.search.ISearchIndex; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.eclipse.help.search cannot be resolved [javac] ---------- [javac] 2. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 26) [javac] import org.eclipse.help.search.LuceneSearchParticipant; [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] The import org.eclipse.help.search cannot be resolved [javac] ---------- [javac] 3. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 42) [javac] public class IntroSearchParticipant extends LuceneSearchParticipant { [javac] ^^^^^^^^^^^^^^^^^^^^^^^ [javac] LuceneSearchParticipant cannot be resolved to a type [javac] ---------- [javac] 4. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 137) [javac] href = resolveVariables(bundleId, content, locale); [javac] ^^^^^^^^^^^^^^^^ [javac] The method resolveVariables(String, String, String) is undefined for the type IntroSearchParticipant [javac] ---------- [javac] 5. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 151) [javac] public IStatus addDocument(ISearchIndex index, String pluginId, String name, URL url, String id, [javac] ^^^^^^^^^^^^ [javac] ISearchIndex cannot be resolved to a type [javac] ---------- [javac] 6. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 170) [javac] private IStatus addPage(ISearchIndex index, String pluginId, String name, URL url, IntroPage page, [javac] ^^^^^^^^^^^^ [javac] ISearchIndex cannot be resolved to a type [javac] ---------- [javac] 7. ERROR in /tmp/eclipse/plugins/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroSearchParticipant.java (at line 179) [javac] addTitle(titleSummary.title, doc); [javac] ^^^^^^^^ [javac] The method addTitle(String, Document) is undefined for the type IntroSearchParticipant [javac] ---------- [javac] 7 problems (7 errors) BUILD FAILED /tmp/eclipse/build.xml:68: The following error occurred while executing this line: /tmp/eclipse/build.xml:8: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.sdk/build.xml:43: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.sdk/build.xml:21: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.platform/build.xml:390: The following error occurred while executing this line: /tmp/eclipse/features/org.eclipse.platform/build.xml:354: The following error occurred while executing this line: /tmp/eclipse/plugins/org.eclipse.ui.intro/build.xml:336: The following error occurred while executing this line: /tmp/eclipse/plugins/org.eclipse.ui.intro/build.xml:297: Compile failed; see the compiler error output for details.
The source build doesn't really reflect how we build eclipse anymore. We build it by checking out the source, compiling it, generating the metadata, running the p2 publisher, publishing the bundles to a repo and then running the p2 director to assemble the bits from the repo. I'll start writing some documentation on how to use our existing build scripts to build the SDKs, instead of the source build.
(In reply to comment #2) > The source build doesn't really reflect how we build eclipse anymore... Thanks, Kim. I've been trying to write a Gentoo ebuild for Eclipse 3.5 for a while now without much success. If your instructions would include a headless way to compile the Eclipse SDK using PDE/Build and P2, I'd be most appreciative. Where could I find these instructions once you've written them, or will you post a link to this bug?
I'll update the bug with a link.
(In reply to comment #4) > I'll update the bug with a link. > Kim, any progress on this yet? Would be nice to get a working Gentoo ebuild ready before the 3.5 release.
This doesn't seem like a blocker to me. Can the severity be downgraded?
I'm still working on it. I've been testing it all last week.
(In reply to comment #6) > This doesn't seem like a blocker to me. Can the severity be downgraded? > Depends on whether you view having a working source build as a requirement for releasing 3.5. It's your project, though, so set the severity to whatever you think it should be. Now that I have a developer's attention, I don't care if this bug report gets downgraded.
Eclipse SDK 3.5 was released with the source build still broken. Kim, is your "documentation on how to use our existing build scripts to build the SDKs, instead of the source build" ready for consumption?
The document is here. http://wiki.eclipse.org/Platform-releng-sourcebuild35 However, it doesn't work with the source build included with 3.5. I'm testing a new source build zip now, but it still has some issues. Once I have fixed all the remaining issues, I'll post it and update this bug with the link.
Not meaning to usurp Kim, but you know about eclipse-build, right, Matt? This is our effort as part of the Linux Tools project to wrap the Eclipse SDK build up into a single build.sh call that will produce something suitable for Linux distributions. We've got it building on both Fedora and Debian and I can't see any reason why it wouldn't also work on Gentoo. It does all the p2 stuff that Kim does in the regular build. We're on #eclipse-linux and linuxtools-dev@eclipse.org if you're interested. http://wiki.eclipse.org/Linux_Tools_Project/Eclipse_Build
I would agree with Andrew, the Linux tools project is a great resources for building eclipse for distros.
(In reply to comment #11) > Not meaning to usurp Kim, but you know about eclipse-build, right, Matt? I was aware of eclipse-build, and I've been keeping my eye on it, but so far I haven't seen that it's been applicable to any given source tarball. It seemed to only work with one particular integration build ID. Also, it's not really the Gentoo way of doing things to check out any source from Eclipse's SCM. Gentoo would rather distribute a tarball of the sources on its distfiles mirrors and let the ebuild build from that tarball.
(In reply to comment #13) > (In reply to comment #11) > > Not meaning to usurp Kim, but you know about eclipse-build, right, Matt? > > I was aware of eclipse-build, and I've been keeping my eye on it, but so far I > haven't seen that it's been applicable to any given source tarball. It seemed > to only work with one particular integration build ID. Yes, it works with a build ID, but we don't expect distros to re-build the source tarball each time. > Also, it's not really the Gentoo way of doing things to check out any source > from Eclipse's SCM. Gentoo would rather distribute a tarball of the sources on > its distfiles mirrors and let the ebuild build from that tarball. eclipse-build has a buildable tarball (similar to srcIncluded but without build.xml files) created from the 3.5 final tag.
*** Bug 239589 has been marked as a duplicate of this bug. ***
*** Bug 264920 has been marked as a duplicate of this bug. ***
(In reply to comment #12) > I would agree with Andrew, the Linux tools project is a great resources for > building eclipse for distros. Hi Kim, I have tried instructions again after I saw that the instructions page was updated. I see the build is still broke. It platform feature itself does not build. Please take look. I am sending the log in separate email to you. Regards, Miten.
Are you trying to build using a recent 3.5.1 build or the 3.5 build? I have been fixing the 3.5.1 build. Please don't sent logs to my email, please attach them to the bug.
*** This bug has been marked as a duplicate of bug 374428 ***