I have tried to do it but I have an error in the building, this is the comanline output:
[INFO] C:\Program Files\Android\android-sdk\tools\apkbuilder.bat [C:\Users\jbacq uero\android\IJetty22\i-jetty\i-jetty-ui\target\i-jetty-3.2-SNAPSHOT.apk, -z, C: \Users\jbacquero\android\IJetty22\i-jetty\i-jetty-ui\target\i-jetty-3.2-SNAPSHOT .ap_, -f, C:\Users\jbacquero\android\IJetty22\i-jetty\i-jetty-ui\target\classes. dex, -rf, C:\Users\jbacquero\android\IJetty22\i-jetty\i-jetty-ui\target\classes, -rj, C:\Users\jbacquero\.m2\repository\javax\servlet\servlet-api\2.5\servlet-ap i-2.5.jar, -rj, C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-client \7.6.0.RC4\jetty-client-7.6.0.RC4.jar, -rj, C:\Users\jbacquero\.m2\repository\or g\eclipse\jetty\jetty-http\7.6.0.RC4\jetty-http-7.6.0.RC4.jar, -rj, C:\Users\jba cquero\.m2\repository\org\eclipse\jetty\jetty-io\7.6.0.RC4\jetty-io-7.6.0.RC4.ja r, -rj, C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-util\7.6.0.RC4 \jetty-util-7.6.0.RC4.jar, -rj, C:\Users\jbacquero\android\IJetty22\i-jetty\i-je tty-server\target\i-jetty-server-3.2-SNAPSHOT.jar, -rj, C:\Users\jbacquero\.m2\r epository\org\eclipse\jetty\jetty-webapp\7.6.0.RC4\jetty-webapp-7.6.0.RC4.jar, - rj, C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-xml\7.6.0.RC4\jett y-xml-7.6.0.RC4.jar, -rj, C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\je tty-servlet\7.6.0.RC4\jetty-servlet-7.6.0.RC4.jar, -rj, C:\Users\jbacquero\.m2\r epository\org\eclipse\jetty\jetty-security\7.6.0.RC4\jetty-security-7.6.0.RC4.ja r, -rj, C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-server\7.6.0.R C4\jetty-server-7.6.0.RC4.jar, -rj, C:\Users\jbacquero\.m2\repository\org\eclips e\jetty\jetty-continuation\7.6.0.RC4\jetty-continuation-7.6.0.RC4.jar, -rj, C:\U sers\jbacquero\.m2\repository\org\eclipse\jetty\jetty-deploy\7.6.0.RC4\jetty-dep loy-7.6.0.RC4.jar] [INFO] [INFO] THIS TOOL IS DEPRECATED. See --help for more information. [INFO] [INFO] Found duplicate file for APK: about.html [INFO] Origin 1: C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-clien t\7.6.0.RC4\jetty-client-7.6.0.RC4.jar [INFO] Origin 2: C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-http\ 7.6.0.RC4\jetty-http-7.6.0.RC4.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Embedded error: ANDROID-040-001: Could not execute: Command = cmd.exe /X /C ""C: \Program Files\Android\android-sdk\tools\apkbuilder.bat" C:\Users\jbacquero\andr oid\IJetty22\i-jetty\i-jetty-ui\target\i-jetty-3.2-SNAPSHOT.apk -z C:\Users\jbac quero\android\IJetty22\i-jetty\i-jetty-ui\target\i-jetty-3.2-SNAPSHOT.ap_ -f C:\ Users\jbacquero\android\IJetty22\i-jetty\i-jetty-ui\target\classes.dex -rf C:\Us ers\jbacquero\android\IJetty22\i-jetty\i-jetty-ui\target\classes -rj C:\Users\jb acquero\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar -rj C:\ Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-client\7.6.0.RC4\jetty-cl ient-7.6.0.RC4.jar -rj C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty -http\7.6.0.RC4\jetty-http-7.6.0.RC4.jar -rj C:\Users\jbacquero\.m2\repository\o rg\eclipse\jetty\jetty-io\7.6.0.RC4\jetty-io-7.6.0.RC4.jar -rj C:\Users\jbacquer o\.m2\repository\org\eclipse\jetty\jetty-util\7.6.0.RC4\jetty-util-7.6.0.RC4.jar -rj C:\Users\jbacquero\android\IJetty22\i-jetty\i-jetty-server\target\i-jetty-s erver-3.2-SNAPSHOT.jar -rj C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\j etty-webapp\7.6.0.RC4\jetty-webapp-7.6.0.RC4.jar -rj C:\Users\jbacquero\.m2\repo sitory\org\eclipse\jetty\jetty-xml\7.6.0.RC4\jetty-xml-7.6.0.RC4.jar -rj C:\User s\jbacquero\.m2\repository\org\eclipse\jetty\jetty-servlet\7.6.0.RC4\jetty-servl et-7.6.0.RC4.jar -rj C:\Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-s ecurity\7.6.0.RC4\jetty-security-7.6.0.RC4.jar -rj C:\Users\jbacquero\.m2\reposi tory\org\eclipse\jetty\jetty-server\7.6.0.RC4\jetty-server-7.6.0.RC4.jar -rj C:\ Users\jbacquero\.m2\repository\org\eclipse\jetty\jetty-continuation\7.6.0.RC4\je tty-continuation-7.6.0.RC4.jar -rj C:\Users\jbacquero\.m2\repository\org\eclipse \jetty\jetty-deploy\7.6.0.RC4\jetty-deploy-7.6.0.RC4.jar", Result = 1 [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14 seconds [INFO] Finished at: Wed Mar 21 10:20:03 GMT 2012 [INFO] Final Memory: 65M/736M [INFO] -------------------------------------------------------------------- ---- any idea? I'm going crazy with this. Regards. Juan El 21 de marzo de 2012 10:07, Thomas Becker <[email protected]> escribió: > Yes, that's what he meant. > > > On Wed Mar 21 10:52:30 2012, Juan Manuel Baquero Sánchez wrote: > >> When you say via command line you mean using maven directly with "mvn >> clean install" ? >> >> 2012/3/20 Joakim Erdfelt <[email protected] <mailto:[email protected]>> >> >> >> If you compile via command line and then use >> $ adb install i-jetty.apk >> >> What happens? >> -- >> Joakim Erdfelt >> [email protected] <mailto:[email protected]> >> >> >> http://webtide.com | http://intalio.com >> (the people behind jetty and cometd) >> >> >> >> On Tue, Mar 20, 2012 at 10:42 AM, Juan Manuel Baquero Sánchez >> <[email protected] >> <mailto:jmbaquerosanchez@**gmail.com<[email protected]> >> >> >> >> wrote: >> >> Hi everybody, I have been for a long time trying to build the >> project but I did not manage to do it. >> >> I hope anybody can help me. I'm working in windows 7 and eclipse. >> >> I have installed the m2 eclipse plugin to help me to build the >> maven project in eclipse. Then I have downloaded the code from >> >> http://i-jetty.googlecode.com/**svn/trunk/<http://i-jetty.googlecode.com/svn/trunk/>using >> tortoiseSVN. >> After that I go to eclipse and I do file/import/maven/existing >> maven projects/ and I select the i-jetty folder into the >> folder I have downloaded before. After that I can see a root >> project and 2 projects that appear. without any changes I >> press "next" and I see another window asking me to install >> more plugins. I press finish and It start to download and >> install this stuff. Then Eclipse ask me to restart Eclipse, I >> do it. >> >> As result There are three projects called i-jetty, >> i-jetty-server and ijetty-parent. >> >> If I go to the i-jetty project and I do run >> as/AndroidApplication I have this error: >> >> [2012-03-20 13:09:25 - i-jetty] Error generating final >> archive: Found duplicate file for APK: about.html >> Origin 1: >> C:\Users\jbacquero\.m2\**repository\org\eclipse\jetty\** >> jetty-client\7.6.0.RC4\jetty-**client-7.6.0.RC4.jar >> Origin 2: >> C:\Users\jbacquero\.m2\**repository\org\eclipse\jetty\** >> jetty-http\7.6.0.RC4\jetty-**http-7.6.0.RC4.jar >> >> After that I cleaned the project and after try again it build >> the apk but when it try to install the apk into the virtual >> device give me this error: >> >> [2012-03-20 13:11:52 - i-jetty] Installation failed due to >> invalid APK file! >> [2012-03-20 13:11:52 - i-jetty] Please check logcat output for >> more details. >> [2012-03-20 13:11:52 - i-jetty] Launch canceled! >> >> >> I have been trying installing the apk into a real android >> device but is the same problem.It doesn't unpack the apk >> correctly. >> >> I'm completely lost. I would be very grateful for any help you >> can provide me. Thanks a lot! >> >> ______________________________**_________________ >> jetty-users mailing list >> [email protected] >> <mailto:jetty-users@eclipse.**org<[email protected]> >> > >> >> >> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users> >> >> >> >> ______________________________**_________________ >> jetty-users mailing list >> [email protected] >> <mailto:jetty-users@eclipse.**org<[email protected]> >> > >> >> >> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users> >> >> >> >> >> ______________________________**_________________ >> jetty-users mailing list >> [email protected] >> https://dev.eclipse.org/**mailman/listinfo/jetty-users<https://dev.eclipse.org/mailman/listinfo/jetty-users> >> > > -- > thomas becker > [email protected] > > http://webtide.com / http://intalio.com > (the folks behind jetty and cometd) >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
