Bug 225196 - javacc component does not set javacc.home
javacc component does not set javacc.home
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: ant (Show other bugs)
7
All Linux
medium Severity medium
: ---
: ---
Assigned To: Permaine Cheung
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-29 13:27 EST by Orion Poplawski
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-03 14:10:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Orion Poplawski 2007-01-29 13:27:59 EST
Description of problem:

The ant package does not appear to build/ship javacc optional component.  Is
this intentional?  Is it available elsewhere?

Version-Release number of selected component (if applicable):
ant-1.6.5-2jpp.2
Comment 1 Andrew Overholt 2007-10-02 21:58:31 EDT
Any thoughts on this, Permaine?
Comment 2 Permaine Cheung 2007-10-03 07:26:14 EDT
There are these classes in the ant-nodeps.jar:

org/apache/tools/ant/taskdefs/optional/javacc/
org/apache/tools/ant/taskdefs/optional/javacc/JJDoc.class
org/apache/tools/ant/taskdefs/optional/javacc/JJTree.class
org/apache/tools/ant/taskdefs/optional/javacc/JavaCC.class

Are these the ones that you need? If so, you need to install the ant-nodeps
subpackage.
Comment 3 Orion Poplawski 2007-10-03 11:24:53 EDT
Sorry, I was looking for something of the form ant-javacc.jar.  

Next issued seems to be whether it should be setting ${javacc.home}.

     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/cullconv/build.xml:61: JavaCC
home must be a valid directory.

      <javacc javacchome="${javacc.home}"
              outputdirectory="${basedir}/build/gensrc/com/sun/grid/cull"
              target="${basedir}/Cull.jj"
              static="true"/>
Comment 4 Orion Poplawski 2007-10-03 12:22:50 EDT
Works if I do:

javacchome="/usr/share/java"

But it seems like javacc.home should be being set.
Comment 5 Permaine Cheung 2007-10-03 14:10:57 EDT
This should be a user config setting. From
http://ant.apache.org/manual/OptionalTasks/javacc.html, the javacchome is a
required parameter in the ant javacc task, the user have to specify it whenever
the javacc task is called.

Note You need to log in before you can comment on or make changes to this bug.