Thanks Marnie, Thing is strange because the each module compiles fine..I
have this error only when I run ant from the java root...
Anyway, in order to see if my submitted work builds, I built common and
client modules separately.

I will try your workaround too

Thanks again.

Andrea


2009/1/15 Marnie McCormack <[email protected]>

> Hi Andrea,
>
> There are some JIRAs around for this (the old ones are the best) - try
> running again, I believe it works the second time :-)
>
> Marnie
>
> On Thu, Jan 15, 2009 at 9:12 AM, Andrea Gazzarini <[email protected]
> >wrote:
>
> > Hi,
> > Ant issue has been solved! Finally I found ant and I'm able to run the
> > build.
> >
> > Now I have a question : the build fails if java 1.5 is used...is that
> > expected?
> >
> > Problem seems due to the fact that only from JDK1.6 the @Override
> > annotation
> > can be used for annotate an implementor method. JDK 1.5 requires that the
> > method is really overriden. QpidThreadExecutor.execute(Runnable) seems to
> > be
> > an implementation of the Executor inteface.
> >
> >
> >
> ================================================================================================
> > Buildfile: build.xml
> >     [echo] Running ant for module : client
> >
> > prepare:
> >
> > precompile:
> >
> > compile:
> >     [echo] Targeting : 1.5
> >    [javac] Compiling 134 source files to
> > /x1/home/agazzarini/qpid/trunk/qpid/java/build/client/classes
> >    [javac]
> >
> >
> /x1/home/agazzarini/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/client/transport/QpidThreadExecutor.java:9:
> > method does not override a method from its superclass
> >    [javac]     @Override
> >    [javac]      ^
> >    [javac] Note: Some input files use or override a deprecated API.
> >    [javac] Note: Recompile with -Xlint:deprecation for details.
> >    [javac] Note: Some input files use unchecked or unsafe operations.
> >    [javac] Note: Recompile with -Xlint:unchecked for details.
> >    [javac] 1 error
> >
> > BUILD FAILED
> >
> >
> ============================================================================
> >
> > Regards,
> > Andrea
> >
> > 2009/1/15 Andrea Gazzarini <[email protected]>
> >
> > > Hi all,I just submitted QMan WS-DM so I'd need to run a manual build in
> > > order to see that all is working...
> > > I tried that on my machine and it builds ok but I'd like to run it on
> the
> > > apache machine too.
> > > Is ant installed on that machine? If so How can I use it?
> > >
> > > Regards,
> > > Andrea
> > >
> >
>

Reply via email to