Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Problems whith the project

If you compile via command line and then use 
   $ adb install i-jetty.apk 

What happens?
--
Joakim Erdfelt
joakim@xxxxxxxxxxx

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 <jmbaquerosanchez@xxxxxxxxx> 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/ 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
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top