From user-return-4191-apmail-forrest-user-archive=forrest.apache.org@forrest.apache.org Sun Apr 22 19:07:10 2007 Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 99482 invoked from network); 22 Apr 2007 19:07:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2007 19:07:09 -0000 Received: (qmail 33523 invoked by uid 500); 22 Apr 2007 19:07:16 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 33349 invoked by uid 500); 22 Apr 2007 19:07:15 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Delivered-To: moderator for user@forrest.apache.org Received: (qmail 52598 invoked by uid 99); 22 Apr 2007 14:07:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Message-ID: <462B6C15.3080309@rblasch.org> Date: Sun, 22 Apr 2007 16:07:17 +0200 From: Ron Blaschke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: user@forrest.apache.org, dev@forrest.apache.org Subject: Re: [apache-forrest-0.8] problem with org.apache.forrest.plugin.output.inputModule References: <61c9bc470704200224y689b014h645aa0e79a1ea8cc@mail.gmail.com> In-Reply-To: <61c9bc470704200224y689b014h645aa0e79a1ea8cc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Ross Gardler wrote: > On 20/04/07, Paul.Divine@alcatel-lucent.fr > wrote: >> >> Hi, >> Just for test I put >> org.apache.forrest.plugin.output.inputModule in the list of >> plugin in the forrest.properties file. >> >> Note I use the java version j2sdk1.4.2_03. >> >> When trying to reach the index.html, the browser displays the following >> message >> >> >> HTTP ERROR: 500 >> org%2Fapache%2Fforrest%2Fgeneration%2FModuleGenerator+%28Unsupported+major%2Eminor+version+49%2E0%29 >> >> RequestURI=/index.html > > We are fully test on JDK1.4 and it should work, so this is probably a > configuration problem on your end. Please provide the following info: > > Operating System > Output of "java -version" command > Output of JAVA_HOME I think this is a problem with the plugin. If you look at the 0.8/org.apache.forrest.plugin.output.inputModule.zip there's a file lib/org.apache.forrest.plugin.output.inputModule.jar. It contains the ModuleGenerator class. This class has version 49.0, which is Java 5. My pod-input plugins seems to have the same problem. After a quick look into plugins/build.xml I think the javac task call should contain target="1.4" to tell the compiler to always generate Java 1.4 code. Otherwise the compiler targets the default version, which is the own version for recent Sun JDKs. Ron