[fedora-java] Problems compiling Sun Grid Engine code

orion at cora.nwra.com orion at cora.nwra.com
Wed Oct 3 14:22:18 UTC 2007


> Orion Poplawski wrote:
>> Orion Poplawski wrote:
>>> Thomas Fitzsimmons wrote:
>>>>
>>>> Calendar.compareTo was added in 1.5.  Is it possible that you're
>>>> compiling 1.4-level source code?  If so, this represents a breakage
>>>> in source compatibility.  The usual resolution is to stub or
>>>> implement the inherited abstract method.
>>>>
>>>> Tom
>>>
>>> Changing target from 1.4 to 1.5 in the build.xml file fixed it.
>>> Thanks!
>>>
>>> Next step, where can I find the javacc class for ant?
>>>
>>
>> Ah, dejavu:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=225196
>>
> Seems like you need ant-nodeps.
>

Indeed, that gets me farther, thanks!

No I get:

     [java]      [java] BUILD FAILED
     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/build.xml:1060: The
following error occurred while executing this line:
     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/cullconv/build.xml:49:
The following error occurred while executing this line:
     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/cullconv/build.xml:62:
JavaCC home must be a valid directory.

The relevant section of build.xml is:

      <javacc javacchome="${javacc.home}"
              outputdirectory="${basedir}/build/gensrc/com/sun/grid/cull"
              target="${basedir}/Cull.jj"
              static="true"/>

Now, I have no idea what javacc.home is being set to, or what it should
be, or how to set it if I need to.  Any ideas?

- Orion





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