I'm starting to take another crack at building the photran Eclipse feature. I've got a very rough srpm based on the cdt spec here:
http://www.cora.nwra.com/~orion/fedora/eclipse-photran-3.1.1-0.fc6.src.rpm
I have no idea if I've got the right compile command. Currently I'm using:
java -cp $SDK/startup.jar \ -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ -Duser.home=$homedir \ org.eclipse.core.launcher.Main \ -application org.eclipse.ant.core.antRunner \ -Dtype=feature \ -Did=org.eclipse.photran \ -DsourceDirectory=$(pwd) \ -DbaseLocation=$SDK \
-Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml
The build now seems to be failing because it needs access to the cdt to build:
generateScript: [eclipse.buildScript] An error occured while generating manifest for /export/home/orion/redhat/eclipse-photran-3.1.1/org.eclipse.photran/SDK/plugins/org.eclipse.pde.source_3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG. [eclipse.buildScript] An error occured while generating manifest for /export/home/orion/redhat/eclipse-photran-3.1.1/org.eclipse.photran/SDK/plugins/org.eclipse.jdt.source_3.2.2.r322_v20070104-R4CR0Znkvtfjv9-. [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied. [eclipse.buildScript] Bundle org.eclipse.photran.core.intel: [eclipse.buildScript] Missing required plug-in org.eclipse.cdt.core_0.0.0. [eclipse.buildScript] Bundle org.eclipse.photran.errorparsers.xlf: [eclipse.buildScript] Missing required plug-in org.eclipse.cdt.core_0.0.0.
and
[eclipse.buildScript] Bundle org.eclipse.cdt.core.linux.x86: [eclipse.buildScript] Host plug-in org.eclipse.cdt.core_[3.1.2,4.0.0) has not been found
I'd like to point it to /usr/share/eclipse/features/ and /usr/share/eclipse/plugins/ so that it could resolve the CDT dependencies from there, but I have no idea how to do this. I'm afraid I'm a complete neophyte when it comes to building eclipse components.
Hi,
I'll take a look at this tomorrow and report back. Thanks for the effort here.
Cheers, Ben
On Tue, 2007-04-24 at 09:51 -0600, Orion Poplawski wrote:
I'm starting to take another crack at building the photran Eclipse feature. I've got a very rough srpm based on the cdt spec here:
http://www.cora.nwra.com/~orion/fedora/eclipse-photran-3.1.1-0.fc6.src.rpm
I have no idea if I've got the right compile command. Currently I'm using:
java -cp $SDK/startup.jar \ -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \ -Duser.home=$homedir \ org.eclipse.core.launcher.Main \ -application org.eclipse.ant.core.antRunner \ -Dtype=feature \ -Did=org.eclipse.photran \ -DsourceDirectory=$(pwd) \ -DbaseLocation=$SDK \
-Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \ -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml
The build now seems to be failing because it needs access to the cdt to build:
generateScript: [eclipse.buildScript] An error occured while generating manifest for /export/home/orion/redhat/eclipse-photran-3.1.1/org.eclipse.photran/SDK/plugins/org.eclipse.pde.source_3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG. [eclipse.buildScript] An error occured while generating manifest for /export/home/orion/redhat/eclipse-photran-3.1.1/org.eclipse.photran/SDK/plugins/org.eclipse.jdt.source_3.2.2.r322_v20070104-R4CR0Znkvtfjv9-. [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied. [eclipse.buildScript] Bundle org.eclipse.photran.core.intel: [eclipse.buildScript] Missing required plug-in org.eclipse.cdt.core_0.0.0. [eclipse.buildScript] Bundle org.eclipse.photran.errorparsers.xlf: [eclipse.buildScript] Missing required plug-in org.eclipse.cdt.core_0.0.0.
and
[eclipse.buildScript] Bundle org.eclipse.cdt.core.linux.x86: [eclipse.buildScript] Host plug-in org.eclipse.cdt.core_[3.1.2,4.0.0) has not been found
I'd like to point it to /usr/share/eclipse/features/ and /usr/share/eclipse/plugins/ so that it could resolve the CDT dependencies from there, but I have no idea how to do this. I'm afraid I'm a complete neophyte when it comes to building eclipse components.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ben Konrath wrote:
[eclipse.buildScript] Bundle org.eclipse.cdt.core.linux.x86: [eclipse.buildScript] Host plug-in org.eclipse.cdt.core_[3.1.2,4.0.0) has not been found
I think these errors are related to the recent thread about broken features in the update manager.
At the same time, they don't seem to prevent anything from building, but every plugin is getting errors like these during build.
- -- Sincerely,
David Walluck david@zarb.org
On Tue, 2007-24-04 at 12:56 -0400, David Walluck wrote:
[eclipse.buildScript] Bundle org.eclipse.cdt.core.linux.x86: [eclipse.buildScript] Host plug-in
org.eclipse.cdt.core_[3.1.2,4.0.0)
has not been found
These are harmless errors AFAIK.
I think these errors are related to the recent thread about broken features in the update manager.
I don't think this is what is happening in this case. If there are dependencies missing in the SDK location ($baseLocation in PDE build stuff, I think), it'll fail. I just witnessed the same thing trying to update Mylar for Mik.
At the same time, they don't seem to prevent anything from building, but every plugin is getting errors like these during build.
Yeah, I don't think they're stopping anything. It's all the same bug with the update manager not resolving multiple update sites, I think.
Andrew
Hi Orion,
I investigated the photran build you provided and managed to get something going. There were a couple of problems with your spec file which I have corrected with the attached a patch. The photran build also hit a bug in package-build so you will need to install a new version of prepare-build-dir.sh (attached). Something like this should do the trick:
sudo mv prepare-build-dir.sh \ /usr/share/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/package-build
I will update package-build in the FC-6 eclipse package and push out a new release. Expect to see it in a couple of days.
Also, there are three features included in the Photran zip:
org.eclipse.photran_feature org.eclipse.photran.intel org.eclipse.photran.refactoring_feature
Your spec file (with my patch) is only building org.eclipse.photran_feature. You will need to add another call to package-build for the org.eclipse.photran.intel and org.eclipse.photran.refactoring_feature features if you want to build them.
Thanks for packaging up this plugin! Feel free to post any other questions you have.
Cheers, Ben
Hi Orion,
The updated Eclipse with a fix for the package-build bug was released so you should be good to use the eclipse packages in FC6 to build photran:
http://fedoraproject.org/wiki/FSA/FC6/FEDORA-2007-471
Cheers, Ben
On Wed, 2007-04-25 at 19:44 +0900, Ben Konrath wrote:
Hi Orion,
I investigated the photran build you provided and managed to get something going. There were a couple of problems with your spec file which I have corrected with the attached a patch. The photran build also hit a bug in package-build so you will need to install a new version of prepare-build-dir.sh (attached). Something like this should do the trick:
sudo mv prepare-build-dir.sh \ /usr/share/eclipse/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/templates/package-build
I will update package-build in the FC-6 eclipse package and push out a new release. Expect to see it in a couple of days.
Also, there are three features included in the Photran zip:
org.eclipse.photran_feature org.eclipse.photran.intel org.eclipse.photran.refactoring_feature
Your spec file (with my patch) is only building org.eclipse.photran_feature. You will need to add another call to package-build for the org.eclipse.photran.intel and org.eclipse.photran.refactoring_feature features if you want to build them.
Thanks for packaging up this plugin! Feel free to post any other questions you have.
Cheers, Ben
fedora-devel-java-list mailing list fedora-devel-java-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-java-list
java-devel@lists.fedoraproject.org