[fedora-java] photran fortran dev module for eclipse

Orion Poplawski orion at cora.nwra.com
Mon Jul 11 20:53:00 UTC 2005


Andrew Overholt wrote:
> Hi,
> 
> * Orion Poplawski <orion at cora.nwra.com> [2005-07-11 15:25]:
> 
  >>The main distribution is a .zip file of the compiled plugin with a
>>"features" and a "plugins" directory.  I move the contents to the
>>/usr/share/eclipse/features and /usr/lib/eclipse/plugins directories
>>respectively, but eclipse still did not find it.  Is there anything else
>>I need to do?
> 
> 
> Hmm.  Did you try using the Eclipse update manager thingy?  Does Photran
> have an update site?
>

Not sure.  If I try to "Scan for Updates" to find new features, nothing 
seems to show up.  I eventually used this to do add the directory I made 
from the photran-2.1.0.zip file.

> 
> Yes, you should compile from source.  There are some issues around building
> arbitrary Eclipse plug-ins from source (see [1], for example), but with a
> bit of help, we should be okay on this one.  We can worry about adding
> native compilation later, so in the meantime, look at one of the specfiles
> for the plug-ins we ship in FC (bugzilla, pydev, changelog, cdt) for some
> inspiration (you can ignore most of the stuff in the gcj_support if
> blocks).
>

Was there a url for [1]?  Okay, basing off of CDT for now, with 
gcj_support = 0 for now.

Having trouble with the build trying to fetch things:

  java -cp 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/SDK/startup.jar 
-Duser.home=/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/home 
-Dosgi.install.area=/usr/share/eclipse 
-Dorg.eclipse.core.runtime.ignoreLockFile=true 
org.eclipse.core.launcher.Main -application 
org.eclipse.ant.core.antRunner -DjavacFailOnError=true -DdontUnzip=true 
-DbaseLocation=/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/SDK 
-Dpde.build.scripts=/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/SDK/plugins/org.eclipse.pde.build_3.1.0/scripts 
-DdontFetchAnything=true
Buildfile: 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/build.xml

init:
     [touch] Creating 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/home/.cvspass

unzip:

zips:

main:

preBuild:
     [mkdir] Created dir: 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/results

preSetup:

getMapFiles:
      [copy] Copying 1 file to 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/results/maps

postSetup:

fetch:

preFetch:

allElements:

init:

fetchElement:
     [mkdir] Created dir: 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/results/features
     [mkdir] Created dir: 
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/results/plugins

BUILD FAILED
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/build.xml:45: 
The following error occurred while executing this line:
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/SDK/plugins/org.eclipse.pde.build_3.1.0/scripts/build.xml:21: 
The following error occurred while executing this line:
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/SDK/plugins/org.eclipse.pde.build_3.1.0/scripts/build.xml:48: 
The following error occurred while executing this line:
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/org.eclipse.photran.releng/platform/customTargets.xml:13: 
The following error occurred while executing this line:
/export/home/orion/redhat/eclipse-photran-2.1.0/eclipse-photran-2.1.0/SDK/plugins/org.eclipse.pde.build_3.1.0/scripts/genericTargets.xml:33: 
org.eclipse.core.runtime.CoreException: Feature org.eclipse.photran may 
have not been fetched correctly, check your map files.

This is the line in releng/build.xml:

        <target name="zips" depends="init,unzip">
                 <ant antfile="build.xml" dir="${pde.build.scripts}">
                         <property name="builder" 
value="${basedir}/platform" />
                 </ant>

Any ideas?

> Any reason why you took this off list?  Others could probably benefit from
> this exercise.

Nope, just did a reply rather than reply all.  Back on the list...


-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com




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