From: Wolfgang K. <wol...@gm...> - 2006-08-01 19:19:37
|
Besides our scripts, Ant is using JAVA_HOME as well to determine which JDK to use (I'm not quite sure about this, but that would be an explanation of the behaviour you've seen. The message regarding the unsupported Java version comes from our Ant script. That is the little Java version check I mentioned in my first mail. -- Frusty Christopher Kriese wrote: > Something is dependent on JAVA_HOME. > > I had my PATH set to include JDK 1.5.07, but (when I did *not* have JAVA_HOME > set) the build was using a 1.4 JDK on my Linux box. This caused serveral > compile errors. I believe that Wolfgang's changes are addressing this issue. > > cjk > > --- Sascha Haeberling <ma...@sa...> wrote: > > >> Hey, >> >> I just tested the Linux-Shellscript. In the past, when the JAVA_HOME >> variable wasn't set, it returned an error. When testing it now, it >> doesn't fail but instead shows: >> "Java version 1.4.2 not supported. Supported versions are 1.5" When I >> set JAVA_HOME, everything is fine. Do we really need JAVA_HOME? Because >> usually, all the java tools are known through PATH, I think? >> >> >> Sascha >> >> >> >> >> Wolfgang Korn wrote: >> >>> Guys, >>> >>> I just committed some changes. >>> >>> * The shell scripts should work now >>> * The Ant script performs a basic check on the Java version being >>> used. Currently all JDKs other than 1.5 should cause a failure >>> * Fixed the problem with the log4j warning. The reason for this >>> warnig was a missing log4j.xml in classes/core. Eclipse already >>> copied this file from core/src to classes/core but the Ant >>> script did not. >>> >>> @Arno: The problem concerning LayoutDemo you reported today is not >>> caused by the log4j problem mentioned above. The log4j problem only >>> caused missing log output. Besides that I can not reproduce that >>> problem with LayoutDemo on my box. >>> >>> -- Frusty >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> >> your >> >>> opinions on IT & business topics through brief surveys -- and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> XML11-devel mailing list >>> XML...@li... >>> https://lists.sourceforge.net/lists/listinfo/xml11-devel >>> >>> >>> ------------------------------------------------------------------------- >>> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> >> > _______________________________________________ > >> XML11-devel mailing list >> XML...@li... >> https://lists.sourceforge.net/lists/listinfo/xml11-devel >> >> > > > Christopher J. Kriese > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > XML11-devel mailing list > XML...@li... > https://lists.sourceforge.net/lists/listinfo/xml11-devel > > |