dear,

thanks for your suggestion, after i trying this command,

the path of java/javac/javadoc is

"/usr/lib/jvm/java-1.5.0-sun/bin/"

and i think this is java 1.5.

but it still build failed  :-(

by the way, my build host is ubuntu 8.04

On 5月4日, 下午4時13分, Daniel Baeyens <dbaey...@warp.es> wrote:
> Hi,
>
> Just in case, try:
>
> sudo update-alternatives --config java
>
> Same command for javac and javadoc, and check if your default java SDK
> is the one from your installed package (sun-java5-jdk)
>
> Good luck, kr
>
> 2009/5/4, nail <s894...@gmail.com>:
>
>
>
>
>
>
>
> > dear Mike
>
> > what is the real package name of "java 1.5." in ubuntu system ?
>
> > the java version in my ubuntu build host is "sun-java5-jdk"
>
> > On 5月1日, 下午1時17分, DrMike <mwrit...@gmail.com> wrote:
> >> You need to use java 1.5.
> >>  -Mike
>
> >> On Apr 28, 10:13 pm, nail <s894...@gmail.com> wrote:
>
> >> > dear all,
>
> >> > i try to generate the pdk_docs target using following command to
>
> >> > generate the document of android
>
> >> > ==========================================
> >> > make pdk pdk_docs dist DIST_DIR=dist 2>&1 | tee logs/`date +%y%m%d-%H%M
> >> > %S`
> >> > ==========================================
>
> >> > and my java version is "sun-java5-jdk"
>
> >> > but it happens compile error below:
>
> >> > =======================
>
> >> > javadoc: error - In doclet class DroidDoc,  method start has thrown an
> >> > exception java.lang.reflect.InvocationTargetException
> >> > java.lang.RuntimeException: ParseError: [development/pdk/ndk/../../../
> >> > out/target/product/generic/obj/PACKAGING/pdkdocs_intermediates/docs/
> >> > header.cs:1] Undefined macro called: custom_masthead()
> >> >         at org.clearsilver.CS._parseFile(Native Method)
> >> >         at org.clearsilver.CS.parseFile(CS.java:58)
> >> >         at ClearPage.write(ClearPage.java:120)
> >> >         at ClearPage.write(ClearPage.java:74)
> >> >         at DroidDoc.writeDirectory(DroidDoc.java:525)
> >> >         at DroidDoc.writeHTMLPages(DroidDoc.java:547)
> >> >         at DroidDoc.start(DroidDoc.java:209)
> >> >         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:585)
> >> >         at com.sun.tools.javadoc.DocletInvoker.invoke
> >> > (DocletInvoker.java:269)
> >> >         at com.sun.tools.javadoc.DocletInvoker.start
> >> > (DocletInvoker.java:143)
> >> >         at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
> >> >         at com.sun.tools.javadoc.Start.begin(Start.java:128)
> >> >         at com.sun.tools.javadoc.Main.execute(Main.java:41)
> >> >         at com.sun.tools.javadoc.Main.main(Main.java:31)
> >> > 1 error
> >> > make: *** [out/target/common/docs/online-pdk-timestamp] Error 45
>
> >> > ================
>
> >> > does any body has idea about this issue ?- 隱藏被引用文字 -
>
> >> - 顯示被引用文字 -
>
> --
> Daniel Baeyens
> Warp Networks S.L. -http://www.warp.es- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to