| Summary: | ecjsrc build.xml returns build failed | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Titus Barik <titus> |
| Component: | Core | Assignee: | Stephan Herrmann <stephan.herrmann> |
| Status: | VERIFIED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chewi, jarthana, shankhba, stephan.herrmann |
| Version: | 4.5 | ||
| Target Milestone: | 4.4 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows 8 | ||
| Whiteboard: | |||
I see similar behavior for 4.5 M2.
The scripts directory is not part of the ecjsrc*.jar.
There are two lines in the build.xml file:
1) <delete file="${basedir}/META-INF/MANIFEST.MF" failonerror="false"/>
2) <copy tofile="${basedir}/META-INF/MANIFEST.MF" file="${basedir}/scripts/binary/META-INF/MANIFEST.MF"/>
If the scripts directory does not exist where will the MANIFEST.MF file get copied from ?
Did it work in any previous build?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. I vaguely recall some fixes in this area and on trying today with the latest I-Build the ant build succeeds out-of-the-box. *** This bug has been marked as a duplicate of bug 434527 *** Verified for 4.14 M3 using build I20191119-1250 |
ecjsrc-4.4.1.jar contains a build.xml file. However, attempting to build returns the following error: D:\Downloads\ecjsrc-4.4.1>ant build Buildfile: D:\Downloads\ecjsrc-4.4.1\build.xml build: [delete] Deleting directory D:\Downloads\ecjsrc-4.4.1\bin [mkdir] Created dir: D:\Downloads\ecjsrc-4.4.1\bin [javac] D:\Downloads\ecjsrc-4.4.1\build.xml:26: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 438 source files to D:\Downloads\ecjsrc-4.4.1\bin [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. BUILD FAILED D:\Downloads\ecjsrc-4.4.1\build.xml:31: Warning: Could not find file D:\Downloads\ecjsrc-4.4.1\scripts\binary\META-INF\MANIFEST.MF to copy. Several oddities appear in the build.xml file: 1. ${basedir}/META-INF/MANIFEST.MF is deleted (line 30), but this file initially exists in the default src jar. 2. The copy source (line 31) does not exist, since there is no scripts directory in the jar. 3. The MANIFEST.MF is different from the MANIFEST.MF when compared against the compiled ecj-4.4.1.jar.