i-jetty
i-jetty copied to clipboard
Missing manual/wiki on how to integrate i-jetty in existing android app
What steps will reproduce the problem?
1. Trying to integrate i-jetty into existing android application
2.
3.
What is the expected output? What do you see instead?
that it would work
What version of the product are you using? On what operating system?
Mac OS X 10.6
Please provide any additional information below.
no information provided
Original issue reported on code.google.com by [email protected]
on 13 Jun 2010 at 3:37
Jens,
ijetty is an open-source project, and I would welcome contributions of any more
documentation.
cheers
Jan
Original comment by [email protected]
on 15 Jun 2010 at 8:00
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
I added
android.library.reference.1=/blah/blah/blah/i-jetty-read-only/i-jetty-server
to my build.properties and when i run ant debug I get
Buildfile: /home/thoth/src/android-httpd-exp/build.xml
[setup] Android SDK Tools Revision 6
BUILD FAILED
/home/thoth/src/android-httpd-exp/build.xml:65: java.lang.NullPointerException
at com.android.ant.SetupTask.processReferencedLibraries(SetupTask.java:473)
at com.android.ant.SetupTask.execute(SetupTask.java:200)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:179)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82)
at org.apache.tools.ant.Main.runBuild(Main.java:786)
at org.apache.tools.ant.Main.startAnt(Main.java:218)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 0 seconds
Creating an i-jetty-server/libs directory as was suggested in some
non-jetty-related mail threads did not solve the problem.
I'm hoping someone will be able to figure out what the magic spell to make this
work will be.
Can anyone even explain the sequence of android tools that are invoked to build
a project, and how the invocations are different for projects that use
libraries? I have only recently started working with android so my grip on
things is weak.
Original comment by [email protected]
on 10 Sep 2010 at 6:45