[fedora-java] Problems compiling Sun Grid Engine code
Orion Poplawski
orion at cora.nwra.com
Tue Oct 2 22:29:19 UTC 2007
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?
[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:
Could not create task or type of type: javacc.
[java] [java] Ant could not find the task or a class this
task relies upon.
[java] [java] This is common and has a number of causes; the
usual
[java] [java] solutions are to read the manual pages then
download and
[java] [java] install needed JAR files, or fix the build file:
[java] [java] - You have misspelt 'javacc'.
[java] [java] Fix: check your spelling.
[java] [java] - The task needs an external JAR file to execute
[java] [java] and this is not found at the right place
in the classpath.
[java] [java] Fix: check the documentation for dependencies.
[java] [java] Fix: declare the task.
[java] [java] - The task is an Ant optional task and the JAR
file and/or libraries
[java] [java] implementing the functionality were not
found at the time you
[java] [java] yourself built your installation of Ant
from the Ant sources.
[java] [java] Fix: Look in the ANT_HOME/lib for the 'ant-'
JAR corresponding to the
[java] [java] task and make sure it contains more than
merely a META-INF/MANIFEST.MF.
[java] [java] If all it contains is the manifest, then
rebuild Ant with the needed
[java] [java] libraries present in
${ant.home}/lib/optional/ , or alternatively,
[java] [java] download a pre-built release version from
apache.org
[java] [java] - The build file was written for a later
version of Ant
[java] [java] Fix: upgrade to at least the latest release
version of Ant
[java] [java] - The task is not an Ant core or optional task
[java] [java] and needs to be declared using <taskdef>.
[java] [java] - You are attempting to use a task defined using
[java] [java] <presetdef> or <macrodef> but have spelt
wrong or not
[java] [java] defined it at the point of use
[java] [java] Remember that for JAR files to be visible to
Ant tasks implemented
[java] [java] in ANT_HOME/lib, the files must be in the same
directory or on the
[java] [java] classpath
[java] [java] Please neither file bug reports on this
problem, nor email the
[java] [java] Ant mailing lists, until all of these causes
have been explored,
[java] [java] as this is not an Ant bug.
--
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