miguel01997 / cookcc

Automatically exported from code.google.com/p/cookcc
Other
0 stars 1 forks source link

Calculator does not compile #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a project in IDE
2. Try to compile it
3.

What is the expected output? What do you see instead?

Does not compile

What version of the product are you using? On what operating system?

0.3.2

Please provide any additional information below.

Calculator extends Parser. The import is from org.yuanheng.cookcc.* which
does not contain Parser class. 

Original issue reported on code.google.com by gkrizhev...@gmail.com on 8 Jul 2009 at 8:04

GoogleCodeExporter commented 9 years ago
I guess you have to run test.sh 1st :)

Original comment by gkrizhev...@gmail.com on 8 Jul 2009 at 8:57

GoogleCodeExporter commented 9 years ago
test.sh:

line 14 has to have:

apt="${JAVA_HOME}/bin/apt -nocompile -cp $classpath -s ."
instead of

apt="${JAVA_HOME}/apt -nocompile -cp $classpath -s ."

and there is no Parser compiling code so it fails. 

Original comment by gkrizhev...@gmail.com on 8 Jul 2009 at 9:45

GoogleCodeExporter commented 9 years ago
This is not a bug.  The /bin part is left out intentionally.  JRE does not have 
APT
tools.  It's not that hard to figure out the right path anyways.

Original comment by superdup...@gmail.com on 21 Jul 2009 at 7:33

GoogleCodeExporter commented 9 years ago
Changed my mind and made the change as suggested :)  See r686.

Original comment by superdup...@gmail.com on 17 Oct 2009 at 5:20