can someone post the snippet to use jikes as the compiler with ant? sorry
for the beginner question..

marcf


|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Dain
|Sundstrom
|Sent: Wednesday, August 22, 2001 4:45 PM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-dev] Extra ;
|
|
|That's it. Why don't we fix these errors. I think both are Ambiguous class
|referances and can be fixed with absolute class referances.  We should
|atleast try, as jikes is like a billion times faster then javac.  Do you
|want to take a shot at resolving the errors? (take a look at the jikes docs
|for info on resolving the problems)
|
|-dain
|
|----- Original Message -----
|From: "Dave Smith" <[EMAIL PROTECTED]>
|To: <[EMAIL PROTECTED]>
|Sent: Wednesday, August 22, 2001 3:19 PM
|Subject: Re: [JBoss-dev] Extra ;
|
|
|> As of 4:14 EST
|> jikes -v
|> Version 1.12 8/1/2000
|>
|>
|> compile-classes:
|>      [mkdir] Created dir: /home/dave/jboss/cluster/output/classes
|>      [javac] Compiling 22 source files to
|> /home/dave/jboss/cluster/output/classes
|>      [javac]
|>      [javac] Issued 1 semantic warning compiling
|> "/home/dave/jboss/cluster/src/main/org/jboss/ha/HAConfigNodeImpl.java":
|>      [javac]
|>      [javac]    441.                         wait ();
|>      [javac]                                 <----->
|>      [javac] *** Caution: Ambiguous reference to member named "wait"
|> inherited from type "java/lang/Object" but also declared or inherited in
|> the enclosing type "org/jboss/ha/HAConfigNodeImpl". Explicit
|> qualification is required.
|>
|>
|> [javac] Compiling 1 source file to
|> /home/dave/jboss/plugins/jetty/output/classes
|>      [javac]
|>      [javac] Found 1 semantic error compiling
|>
|"/home/dave/jboss/plugins/jetty/src/main/org/jboss/jetty/SetupHandl
|er.java":
|>      [javac]
|>      [javac]     21. public class SetupHandler
|>      [javac]                      <---------->
|>      [javac] *** Error: The abstract method "void
|> handle(java.lang.String $1, com.mortbay.HTTP.HttpRequest $2,
|> com.mortbay.HTTP.HttpResponse $3);", inherited from type
|> "com/mortbay/HTTP/Handler/NullHandler", is not implemented in the
|> non-abstract class "org/jboss/jetty/SetupHandler". Since the type
|> "com/mortbay/HTTP/Handler/NullHandler" was read from a class file, it is
|> possible that it just needs to be recompiled because after having
|> inherited method "void handle(java.lang.String $1,
|> com.mortbay.HTTP.HttpRequest $2, com.mortbay.HTTP.HttpResponse $3);"
|> from an interface, the method was subsequently removed from that
|interface.
|>
|>
|>
|> But the ';' problem went away ...
|>
|> Jason Dillon wrote:
|> > I think it still fails to compile some org.jboss.web.* stuff properly.
|> >
|> > --jason
|> >
|> >
|> > On Wed, 22 Aug 2001, Dain Sundstrom wrote:
|> >
|> >
|> >>Fixed, will commit change as soon as sourcefouge cvs is back on line.
|> >>
|> >>Does jikes work compile jboss server now?
|> >>
|> >>-dain
|> >>
|> >>----- Original Message -----
|> >>From: "Dave Smith" <[EMAIL PROTECTED]>
|> >>To: <[EMAIL PROTECTED]>
|> >>Sent: Tuesday, August 21, 2001 6:44 AM
|> >>Subject: [JBoss-dev] Extra ;
|> >>
|> >>
|> >>
|> >>>Dain in server/src/main/org/jboss/ejb/plugins/cmp/ejbql/Parser.java
|line
|> >>>66 you have an extra ';' terminating the return statement. It is
|causing
|> >>>jikes to complain.
|> >>>
|> >>>Found 1 semantic error compiling
|> >>>
|> >>>
|>
|>>"/home/dave/jboss/server/src/main/org/jboss/ejb/plugins/cmp/ejbql
|/Parser.j
|av
|> >>a":
|> >>
|> >>>     [javac]
|> >>>     [javac]     66.             return
|> >>>(Assembly)completeMatches.iterator().next();;
|> >>>     [javac]
|> >>>                 ^
|> >>>     [javac] *** Error: This statement is unreachable.
|> >>>
|> >>>Could you take it out? Thanks ..
|> >>>
|> >>>
|> >>>_______________________________________________
|> >>>Jboss-development mailing list
|> >>>[EMAIL PROTECTED]
|> >>>http://lists.sourceforge.net/lists/listinfo/jboss-development
|> >>>
|> >>>
|> >>
|> >>_______________________________________________
|> >>Jboss-development mailing list
|> >>[EMAIL PROTECTED]
|> >>http://lists.sourceforge.net/lists/listinfo/jboss-development
|> >>
|> >>
|> >
|> >
|> > _______________________________________________
|> > Jboss-development mailing list
|> > [EMAIL PROTECTED]
|> > http://lists.sourceforge.net/lists/listinfo/jboss-development
|> >
|> >
|>
|>
|>
|> _______________________________________________
|> Jboss-development mailing list
|> [EMAIL PROTECTED]
|> http://lists.sourceforge.net/lists/listinfo/jboss-development
|>
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to