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
--- eclipse-photran.spec.orig 2007-04-25 00:38:35.000000000 +0900 +++ eclipse-photran.spec 2007-04-25 19:16:29.000000000 +0900 @@ -69,6 +69,7 @@ #Patch11: %{name}-managedbuild-failcheck.patch BuildRequires: eclipse-pde +BuildRequires: eclipse-cdt %if %{gcj_support} BuildRequires: gcc-java >= 4.0.2 BuildRequires: java-gcj-compat-devel >= 1.0.64 @@ -134,7 +135,7 @@ export PATH=%{java_bin}:/usr/bin:$PATH # See comments in the script to understand this. -/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK %{eclipse_base} +/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK %{eclipse_base} cdt SDK=$(cd SDK >/dev/null && pwd) # Eclipse may try to write to the home directory. @@ -167,7 +168,7 @@ org.eclipse.core.launcher.Main \ -application org.eclipse.ant.core.antRunner \ -Dtype=feature \ - -Did=org.eclipse.photran \ + -Did=org.eclipse.photran_feature \ -DsourceDirectory=$(pwd) \ -DbaseLocation=$SDK \ -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \
Attachment:
prepare-build-dir.sh
Description: application/shellscript
-- fedora-devel-java-list mailing list fedora-devel-java-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-java-list