Bug 721378

Summary: PDE not resolving from dropins
Product: [Fedora] Fedora Reporter: Kiu Kwan Leung <kleung>
Component: eclipseAssignee: Alexander Kurtakov <akurtako>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akurtako, kleung, overholt, sgehwolf, swagiaal, zx
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-20 09:43:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kiu Kwan Leung 2011-07-14 12:59:19 UTC
Description of problem:

eclipse pdebuild fails with FileNotFoundException due to malformed file path:

/usr/lib64/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/${eclipse.pdebuild.scripts}/genericTargets.xml

This happens when somebody tries to download eclipse-pde from rawhide after 8th July.

How reproducible:


Steps to Reproduce:
1. On/after 8th July, do yum --enablerepo=rawhide install eclipse-pde
2. After installation, perform any pdebuild or rpmbuild for eclipse plugins.

  
Actual results:
The following error -

BUILD FAILED
/usr/lib64/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/build.xml:35: The following error occurred while executing this line:
/usr/lib64/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/build.xml:91: The following error occurred while executing this line:
/usr/lib64/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/templates/package-build/customTargets.xml:19: The following error occurred while executing this line:
java.io.FileNotFoundException: /usr/lib64/eclipse/dropins/sdk/plugins/org.eclipse.pde.build_3.7.0.v20110512-1320/scripts/${eclipse.pdebuild.scripts}/genericTargets.xml (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at ...
...

Total time: 1 second
An error has occurred. See the log file
/home/kleung/workspace/.metadata/.log.
error: Bad exit status from /var/tmp/rpm-tmp.RLehvc (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.RLehvc (%build)



Expected results:
A successful build.

Additional info:

Comment 1 Andrew Overholt 2011-07-14 16:26:00 UTC
The root cause of this is the org.eclipse.pde.build bundle not being present (it provides the ${eclipse.pdebuild.scripts} ant variable).  This means that eclipse-pde's contents aren't being loaded from dropins.  I'm pretty sure this is a duplicate of bug #719128.

Comment 2 Alexander Kurtakov 2011-08-25 14:32:34 UTC
Is this bug still present?

Comment 3 Alexander Kurtakov 2011-09-20 09:43:03 UTC
Almost a month without response. Closing.

*** This bug has been marked as a duplicate of bug 719128 ***