[fedora-java] Another crack at photran

Orion Poplawski orion at cora.nwra.com
Tue Apr 24 15:51:48 UTC 2007


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.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the fedora-devel-java-list mailing list