OpenCCG / openccg

OpenCCG library for parsing and realization with CCG
http://openccg.sourceforge.net/
Other
205 stars 45 forks source link

Build issue due to ant #32

Closed jkallini closed 4 years ago

jkallini commented 4 years ago

Hello! I have been having a lot of trouble with installation due to an ant error when I run ./bin/ccg-build:

Error: Could not find or load main class org.apache.tools.ant.launch.Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher

I'm using Mac OSX and I have ant version 1.10.9 installed. I tried updating my ANT_HOME variable, but that didn't seem to help. Do you have any suggestions about how to proceed?

mwhite14850 commented 4 years ago

Have you set OPENCCG_HOME per the README? If you look at ccg-build, it puts the various ant jars on the java classpath. To do so, it uses OPENCCG_LIB, which is derived from OPENCCG_HOME in the ccg-env script.

On Thu, Oct 8, 2020 at 2:04 AM Julie Kallini notifications@github.com wrote:

Hello! I have been having a lot of trouble with installation due to an ant error when I run ./bin/ccg-build:

Error: Could not find or load main class org.apache.tools.ant.launch.Launcher Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher

I'm using Mac OSX and I have ant version 1.10.9 installed. I tried updating my ANT_HOME variable, but that didn't seem to help. Do you have any suggestions about how to proceed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenCCG/openccg/issues/32, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6G7TLVLNNBQCXJA7MO2DTSJV6ABANCNFSM4SIPCNLA .

jkallini commented 4 years ago

You're right - I just checked again and realized I changed my path, but didn't update OPENCCG_HOME. Thank you for the quick response, and sorry for the inconvenience.