Hi;
The project i have got is legacy project and all hibernate queries are
defined like that only(in package-info.java). So; I am not sure whether it
is standard or i need to tweak something with compiler.

Is there any option exists so i can do a compiling.

:)

Regards,
Vijay Shanker Dubey



On Mon, Jan 11, 2010 at 10:08 PM, Wayne Fay <wayne...@gmail.com> wrote:

> > I am not able to find any relevent answer till now. In eclispe this
> project
> > is working well without any error. So i think this is something with
> meven
> > compiler. But not aware of What? will you please describe the reason for
> me?
>
> Eclipse has its own compiler. Maven does not -- it uses the Javac
> compiler included with the JDK you have installed. So there is no
> problem with the Maven compiler, rather it is likely you have found a
> problem in the Eclipse compiler, which does not complain about a bad
> file when it should.
>
> > my package-info.java class
>
> This does not appear to be a valid Package Comment file per the
> Javadoc documentation, specifically the import statements are invalid.
> Read more online:
>
> http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#packagecomment
>
> "package-info.java - Can contain a package declaration, package
> annotations, package comments and Javadoc tags. This file is new in
> JDK 5.0, and is preferred over package.html."
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to