Re: [wiki2xhtml-users] Nullpointer Exception whilegenerating doc_de.wiki, doc_design_de.wiki and li
Brought to you by:
granjow
From: Simon E. <sim...@gm...> - 2009-04-07 06:55:29
|
Hi Axel, Could you try to use javac with the argument «-source 1.6» then? It seems to believe that the source code is Java 1.4 or so. I have updated the build script too. Simon 2009/4/6 Axel Birndt <tow...@gm...>: > Hi Simon, > > Simon Eugster schrieb: >> Hi Axel, >> >> Glad to hear that. >> >> Something I forgot to mention, you run /usr/java...1.6.../java. Did >> you also use it for compiling? ;) > > I think i doesn't do this. > >>> Yes you are right, maybe i used the wrong java on my laptop. Sorry > for this. I'm not so familiar with java and i'am not a developer. > > > I'm working on two different machines. On my Win* Desktop i have only > the cygwin shell. To compile the application here is really difficult, > and so i tried it on my laptop (Kubuntu is running here). > > abirndt@UBUNTUNB:.../wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > java -version > java version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) > > > I tried now your new build.sh script, but i got the same failure as i > sent to you in my mail from april the 3rd, 11:43am, german time. > > .... > Syntax error, 'for each' statements are only available if source level > is 5.0 > ---------- > 109 problems (107 errors, 2 warnings)Creating .jar file ... > Buildfile: build.xml > [jar] Building jar: > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki2xhtml.jar > ..... > > > abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > which ant > /usr/bin/ant > > abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > > > ant -v > Apache Ant version 1.7.0 compiled on August 29 2007 > Buildfile: build.xml > Detected Java version: 1.6 in: /usr/lib/jvm/java-6-sun-1.6.0.06/jre > Detected OS: Linux > parsing buildfile > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/build.xml > with URI = > file:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/build.xml > Project base dir set to: > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current > [antlib:org.apache.tools.ant] Could not load definitions from resource > org/apache/tools/ant/antlib.xml. It could not be found. > [jar] bin/l10n/Messages_de$1.class omitted as > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki2xhtml.jar:bin/l10n/Messages_de$1.class > is up to date. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > |