jetty-project / i-jetty

Jetty for Android (moved from code.google.com)
277 stars 99 forks source link

Build Error during compilation #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Platform
--------
Apache Maven 2.1.0 (r755702; 2009-03-19 00:40:27+0530)
Java version: 1.6.0_03
Java home: C:\Java\jdk1.6.0_03\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
android i-jetty version = i-jetty-1.1
What steps will reproduce the problem?
--------------------------------------
1. mvn install:install-file -DgroupId=android -DartifactId=android 
-Dversion=1.0_r1 -Dpackaging=jar -Dfile=D:\Softwares\Stuff\Android\android-
sdk-windows-1.1_r1.zip
2. mvn clean install -Dandroid.home=D:\dev\android-sdk-windows-1.1_r1 -X
3.

What is the expected output? What do you see instead?
-----------------------------------------------------
Expected  - ijetty.apk.
Instead   - Error during build

The following error is on console
-----------------------------------
[INFO] --------------------------------------------------------------------
----
[DEBUG] Traceorg.apache.maven.BuildFailureException: Compilation failure
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:699)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
(Defau
ltLifecycleExecutor.java:519)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
(DefaultLi
fecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode
(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: 
Compilation fail
ure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute
(AbstractCompiler
Mojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute
(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
(DefaultPlugi
nManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
(Defa
ultLifecycleExecutor.java:678)
[INFO] --------------------------------------------------------------------
----

Original issue reported on code.google.com by apss.and...@gmail.com on 22 May 2009 at 7:28

Attachments:

GoogleCodeExporter commented 9 years ago
I don't see the actual error - did you run with "mvn -X"? Can you try with 
jdk1.5 and
see if it works?

thanks
Jan

Original comment by janb.web...@gmail.com on 19 Oct 2009 at 5:37

GoogleCodeExporter commented 9 years ago
This is fixed in the latest trunk.

Original comment by joakim.erdfelt on 5 Apr 2010 at 10:43