Ok I understand what you are trying to explain...but how does it come that you dont need to include that in your Maven then? (The last zip-file you send me didnt had this and you told me that it was sufficient to run the compile with that..)
Date: Mon, 22 Nov 2010 15:09:28 +0100 From: couteau@codelutin.com To: jaxx-users@list.nuiton.org Subject: Re: [Jaxx-users] JAXX beginner - help !
Le 22/11/2010 14:45, Daone a écrit :
Hi
Unfortunately I am not able to run the "mvn compile" outside of eclipse either, when I run it I get the error message saying something that "static import declarations are not supported in source -1.3, generics are not supported in source 1.3 and annotations are not supported in source -1.3" with the following comment "use source -1.5 or higher to enable static import, generics and annotations"..
This is not a eclipse or jaxx problem. The console told you that you got a java version problem, so you need to tell maven wich java version to use. Configure the maven-compile-plugin (http://maven.apache.org/plugins/maven-compiler-plugin/index.html) to do so.
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin>
You could also say it in eclipse but is really not recommended as any other developper would have to use eclipse (here we got devs using eclipse, netbeans, intelliJ or even emacs).
Other things, when you got error messages, send them using copy/paste so that we got the exact error message. With it we could have answer you right away. And with a zip file containing your files, not screenshots (i cannot do anything with screenshots) is also better, sending screenshots of code is like sending nothing because we will never take the time to type your code.
Best regards Jean _______________________________________________ Jaxx-users mailing list Jaxx-users@list.nuiton.org http://list.nuiton.org/cgi-bin/mailman/listinfo/jaxx-users