[nbj2ee] Re: Glassfish 3 and JDK 7

  • From: Andreas Ernst < >
  • To:
  • Subject: [nbj2ee] Re: Glassfish 3 and JDK 7
  • Date: Mon, 14 Jan 2013 19:17:45 +0100

Am 14.01.13 17:56, schrieb John Yeary:
Please add a glassfish-web.xml file with the following to your project


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD GlassFish
Application Server 3.1 Servlet 3.0//EN"
"http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd";>
<glassfish-web-app error-url="">
   <class-loader delegate="true"/>
   <jsp-config>
     <property name="keepgenerated" value="true">
       <description>Keep a copy of the generated servlet class' java
code.</description>
     </property>
     <property name="compilerSourceVM" value="7"/>
     <property name="compilerTargetVM" value="7"/>
   </jsp-config>
</glassfish-web-app>

This will set the default compilation to Java 7

Thanks John!

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003

 | www.ae-online.de
www.parcelchecker.de | www.tachyon-online.de


[nbj2ee] Glassfish 3 and JDK 7

Andreas Ernst 01/11/2013

[nbj2ee] Re: Glassfish 3 and JDK 7

John Yeary 01/11/2013

[nbj2ee] Re: Glassfish 3 and JDK 7

Andreas Ernst 01/12/2013

[nbj2ee] Re: Glassfish 3 and JDK 7

Andreas Ernst 01/12/2013

[nbj2ee] Re: Glassfish 3 and JDK 7

John Yeary 01/14/2013

[nbj2ee] Re: Glassfish 3 and JDK 7

Andreas Ernst 01/14/2013

[nbj2ee] Re: Glassfish 3 and JDK 7

John Yeary 01/14/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close