Login | Register
My pages Projects Community openCollabNet

Discussions > issues > Re: [maxq-issues] Can't compile MaxQ

maxq
Discussion topic

Back to topic list

Re: [maxq-issues] Can't compile MaxQ

Author oliverbock
Full name Oliver Bock
Date 2006-10-04 16:41:26 PDT
Message > I commented out line 44 of build.xml, then ran ant on a fresh copy of
> the source from cvs. It compiled!

Is this the line you commented out of build.xml?

<depend srcdir="${src.java.dir}" destdir="${build.dir}" cache="depcache"/>

> However, when I put TwillScriptGenerator.java back into
> /tmp/maxq/java/com/b​itmechanic/maxq/gene​rator/ , I get this:
> ...
> [javac]
> /tmp/maxq/java/com/b​itmechanic/maxq/gene​rator/TwillScriptGen​erator.java:25:
> com.bitmechanic.maxq​.generator.TwillScri​ptGenerator is not abstract
> and does not override abstract method
> doHeaders(com.bitmec​hanic.maxq.HeaderVal​ue[]) in
> com.bitmechanic.maxq​.generator.AbstractC​odeGenerator
> [javac] public class TwillScriptGenerator extends
> AbstractCodeGenerator {
> [javac] ^
> [javac] 1 error

It looks like the base class for script generators has been expanded
since TwillScriptGenerator was written. It will need to be updated.
doHeaders() was added in version 1.21 of AbstractCodeGenerator.java. To
bring TwillScriptGenerator up-to-date you will need to look at the
changes made to AbstractCodeGenerator, and apply them to
TwillScriptGenerator. I suspect the effect on TwillScripGenerator will
be fairly minimal. You can see the changes applied to
CompactScriptGenerator here:

http://maxq.tigris.o​rg/source/browse/max​q/java/com/bitmechan​ic/maxq/generator/Co​mpactGenerator.java?​r1=text&tr1=1.10​&r2=text&tr2​=1.15&diff_forma​t=h


Regards,

  Oliver

« Previous message in topic | 8 of 8 | Next message in topic »

Messages

Show all messages in topic

Can't compile MaxQ Erik Wickstrom <erik at erikwickstrom dot com> Erik Wickstrom <erik at erikwickstrom dot com> 2006-09-13 09:03:00 PDT
     Can't compile MaxQ Erik Wickstrom <erik at erikwickstrom dot com> Erik Wickstrom <erik at erikwickstrom dot com> 2006-09-13 15:19:48 PDT
     Re: [maxq-issues] Can't compile MaxQ oliverbock Oliver Bock 2006-09-13 16:44:27 PDT
         Re: [maxq-issues] Can't compile MaxQ Erik Wickstrom <erik at erikwickstrom dot com> Erik Wickstrom <erik at erikwickstrom dot com> 2006-09-16 10:04:09 PDT
             Re: [maxq-issues] Can't compile MaxQ oliverbock Oliver Bock 2006-09-17 15:58:31 PDT
                 Re: [maxq-issues] Can't compile MaxQ Erik Wickstrom <erik at erikwickstrom dot com> Erik Wickstrom <erik at erikwickstrom dot com> 2006-10-04 13:42:24 PDT
                     Re: [maxq-issues] Can't compile MaxQ Erik Wickstrom <erik at erikwickstrom dot com> Erik Wickstrom <erik at erikwickstrom dot com> 2006-10-04 14:24:06 PDT
                         Re: [maxq-issues] Can't compile MaxQ oliverbock Oliver Bock 2006-10-04 16:41:26 PDT
Messages per page: