bobalosa / androidscreencast

Automatically exported from code.google.com/p/androidscreencast
0 stars 0 forks source link

building the androidscreencast-***.jnlp from source doesnt work #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Computer OS and version (Mac,Win,Linux,...) : winXP
Java version (java -version from command line) : "1.6.0_18"
ADB version (adb -version from command line) : 1.0.25
AndroidScreencast version : r41

What steps will reproduce the problem?
1.edit androidscreencast.conf in root folder with local parameters
2.run "ant -v -f .\androidscreencast\build.xml"

What is the expected output? What do you see instead?

the result is: 
    [javac] Compiling 29 source files to
C:\androidscreencast\androidscreencast\bin
    [javac] Using modern compiler dropping
C:\androidscreencast\androidscreencast\ddmlib-DEV.jar from path as it
doesn't exist
[...]
BUILD FAILED

-------------------------------

i think in line 26 {ddmlib} should be {sdk-ddmlib} so I modified the
build.xml line 26:
 <javac nowarn="true" srcdir="${src}" destdir="${build}"
classpath="C:\android-sdk-windows\tools\lib\ddmlib.jar"/> 

this works here is my output 
http://snipt.net/embed/1ec56c7a67a9f4fa1a43807beffb40d9

Now I did change the "codebase" in my "androidscreencast-DEV.jnlp" to my
local "dist" dir.
codebase="file:///C:/androidscreencast/AndroidScreencast/dist"

it starts to load but I get this error:

java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(Unknown Source)
    at net.srcz.android.screencast.ui.JSplashScreen.<init>(Unknown Source)
    at net.srcz.android.screencast.Main.<init>(Unknown Source)
    at net.srcz.android.screencast.Main.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by Clemens....@gmail.com on 9 Feb 2010 at 12:00

GoogleCodeExporter commented 9 years ago
here is my output in a readable form: http://snipt.net/royalcs

Original comment by Clemens....@gmail.com on 9 Feb 2010 at 8:46