Loading ...
Sorry, an error occurred while loading the content.

Re: Compile errors

Expand Messages
  • abam_1111
    Can you any one please help me on this. It must a small mistake but I cannot find it. I have a presentation this eve , can someone please help me wiht this.
    Message 1 of 1 , Jun 1, 2005
    • 0 Attachment
      Can you any one please help me on this. It must a small mistake but I
      cannot find it.

      I have a presentation this eve , can someone please help me wiht this.

      Thanks
      AA

      --- In fitnesse@yahoogroups.com, "abam_1111" <abam_1111@y...> wrote:
      > I got the fit src zip directory and trying to build it using
      >
      > ant -f build.xml build
      >
      > I am getting compile errors. I tried older versions too but seeing the
      > same errors.
      > Can someone please help me to find what I am doing wrong.
      >
      > Thanks in advance.
      >
      > Compile errors
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/fixtures/AuthenticatorSetup.java:15:
      > incompatible types
      > [javac] found : fitnesse.authentication.OneUserAuthenticator
      > [javac] required: fitnesse.Authenticator
      > [javac] FitnesseFixtureContext.context.authenticator =
      > new OneUserAuthenticator(username, password);
      > [javac]
      > ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesseContext.java:23:
      > incompatible types
      > [javac] found : fitnesse.authentication.PromiscuousAuthenticator
      > [javac] required: fitnesse.Authenticator
      > [javac] public Authenticator authenticator = new
      > PromiscuousAuthenticator();
      > [javac] ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesse.java:96:
      > incompatible types
      > [javac] found : fitnesse.authentication.PromiscuousAuthenticator
      > [javac] required: fitnesse.Authenticator
      > [javac] Authenticator authenticator = new
      > PromiscuousAuthenticator();
      > [javac] ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesse.java:100:
      > incompatible types
      > [javac] found : fitnesse.authentication.MultiUserAuthenticator
      > [javac] required: fitnesse.Authenticator
      > [javac] authenticator = new
      > MultiUserAuthenticator(authenticationParameter);
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/responders/run/Te
      > stResultFormattingResponder.java:46:
      > reference to StreamReader is ambiguous, both class
      > fitnesse.http.StreamReader in fitnesse.http and class
      > fitnesse.util.StreamReader in fitnesse.util match
      > [javac] StreamReader reader = new StreamReader(input);
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/responders/run/Te
      > stResultFormattingResponder.java:46:
      > reference to StreamReader is ambiguous, both class
      > fitnesse.http.StreamReader in fitnesse.http and class
      > fitnesse.util.StreamReader in fitnesse.util match
      > [javac] StreamReader reader = new StreamReader(input);
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/responders/run/Te
      > stResultFormattingResponder.java:50:
      > readSize(fitnesse.util.StreamReader) in
      > fitnesse.components.FitProtocol cannot be applied to
      > (fitnesse.http.StreamReader)
      > [javac] int bytesToRead =
      > FitProtocol.readSize(reader);
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/responders/run/Te
      > stResultFormattingResponder.java:60:
      > readCounts(fitnesse.util.StreamReader) in
      > fitnesse.components.FitProtocol cannot be applied to
      > (fitnesse.http.StreamReader)
      > [javac]
      > formatter.acceptFinalCount(FitProtocol.readCounts(reader));
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/responders/WikiIm
      > portingResponderTest.java:304:
      > incompatible types
      > [javac] found : fitnesse.authentication.OneUserAuthenticator
      > [javac] required: fitnesse.Authenticator
      > [javac] FitNesseUtil.context.authenticator = new
      > OneUserAuthenticator("joe", "blow");
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/ComponentFactoryTest.java:121:
      > getAuthenticator(fitnesse.Authenticator) in fitnesse.ComponentFactory
      > cannot be applied to (fitnesse.authentication.Prom
      > iscuousAuthenticator)
      > [javac] Authenticator authenticator =
      > factory.getAuthenticator(new PromiscuousAuthenticator());
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/ComponentFactoryTest.java:132:
      > getAuthenticator(fitnesse.Authenticator) in fitnesse.ComponentFactory
      > cannot be applied to (fitnesse.authentication.Prom
      > iscuousAuthenticator)
      > [javac] Authenticator authenticator =
      > factory.getAuthenticator(new PromiscuousAuthenticator());
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/FitNesseExpediter.java:130:
      > authenticate(fitnesse.http.HttpRequest,fitnesse.Responder) in
      > fitnesse.Authenticator cannot be applied to
      > (fitnesse.FitNesseContext,fitnesse.http.Request,fitnesse.Responder)
      > [javac] responder =
      > context.authenticator.authenticate(context, request, responder);
      > [javac] ^
      > [javac]
      > /workplace/Fitnesse/src/fitnesse/FitNesseExpediterTest.java:38:
      > incompatible types
      > [javac] found :
      > fitnesse.FitNesseExpediterTest.StoneWallAuthenticator
      > [javac] required: fitnesse.Authenticator
      > [javac] context.authenticator = new
      > StoneWallAuthenticator();
      > [javac] ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesseMainTest.java:45:
      > inconvertible types
      > [javac] found : fitnesse.Authenticator
      > [javac] required: fitnesse.authentication.PromiscuousAuthenticator
      > [javac] assertTrue(a instanceof PromiscuousAuthenticator);
      > [javac] ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesseMainTest.java:53:
      > cannot resolve symbol
      > [javac] symbol : method getUser ()
      > [javac] location: class fitnesse.OneUserAuthenticator
      > [javac] assertEquals("bob", oua.getUser());
      > [javac] ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesseMainTest.java:54:
      > cannot resolve symbol
      > [javac] symbol : method getPassword ()
      > [javac] location: class fitnesse.OneUserAuthenticator
      > [javac] assertEquals("uncle", oua.getPassword());
      > [javac] ^
      > [javac] /workplace/Fitnesse/src/fitnesse/FitNesseMainTest.java:63:
      > inconvertible types
      > [javac] found : fitnesse.Authenticator
      > [javac] required: fitnesse.authentication.MultiUserAuthenticator
      > [javac] assertTrue(a instanceof MultiUserAuthenticator);
      > [javac] ^
      > [javac] 17 errors
    Your message has been successfully submitted and would be delivered to recipients shortly.