[HHH-2755] Wrong "jsdk.jar" referenced in the tutorial

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@12938 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Diego Plentz 2007-08-14 20:07:25 +00:00
parent ce0cbf1f18
commit 014c2664c9
4 changed files with 18 additions and 14 deletions

View File

@ -1471,7 +1471,7 @@ out.close();]]></programlisting>
<programlisting><![CDATA[<target name="war" depends="compile">
<war destfile="hibernate-tutorial.war" webxml="web.xml">
<lib dir="${librarydir}">
<exclude name="jsdk*.jar"/>
<exclude name="servlet.jar"/>
</lib>
<classes dir="${targetdir}"/>
@ -1503,8 +1503,9 @@ out.close();]]></programlisting>
<para>
Before you compile and deploy the web application, note that an additional library
is required: <literal>jsdk.jar</literal>. This is the Java servlet development kit,
if you don't have this library already, get it from the Sun website and copy it to
is required: <literal>servlet.jar</literal>. This is the Java Servlet Development Kit,
if you don't have this library already, get it from the
<ulink url="http://java.sun.com/products/servlet/archive.html">Sun website</ulink> and copy it to
your library directory. However, it will be only used for compliation and excluded
from the WAR package.
</para>

View File

@ -1494,7 +1494,7 @@ out.close();]]></programlisting>
<programlisting><![CDATA[<target name="war" depends="compile">
<war destfile="hibernate-tutorial.war" webxml="web.xml">
<lib dir="${librarydir}">
<exclude name="jsdk*.jar"/>
<exclude name="servlet.jar"/>
</lib>
<classes dir="${targetdir}"/>
@ -1526,8 +1526,9 @@ out.close();]]></programlisting>
<para>
Avant de compiler et déployer l'application web, notez qu'une bibliothèque supplémentaire
est requise: <literal>jsdk.jar</literal>. C'est le kit de développement de Servlet Java,
si vous ne disposez pas de cette bibliothèque, prenez la sur le site de Sun et copiez la
est requise: <literal>servlet.jar</literal>. C'est le kit de développement de Servlet Java,
si vous ne disposez pas de cette bibliothèque, prenez la sur le
<ulink url="http://java.sun.com/products/servlet/archive.html">site de Sun</ulink> et copiez la
dans votre répertoire des bibliothèques. Cependant, elle ne sera utilisée uniquement pour la
compilation et sera exclue du paackage WAR.
</para>

View File

@ -1,4 +1,4 @@
<chapter id="tutorial">
<chapter id="tutorial">
<title>Introdu&#x00E7;&#x00E3;o ao Hibernate</title>
<sect1 id="tutorial-intro" revision="1">
@ -1447,7 +1447,7 @@ out.close();]]></programlisting>
<programlisting><![CDATA[<target name="war" depends="compile">
<war destfile="hibernate-tutorial.war" webxml="web.xml">
<lib dir="${librarydir}">
<exclude name="jsdk*.jar"/>
<exclude name="servlet.jar"/>
</lib>
<classes dir="${targetdir}"/>
@ -1479,8 +1479,9 @@ out.close();]]></programlisting>
<para>
Antes de você compilar e fazer o deploy desta aplicação web, note que uma biblioteca
adicional é requerida: <literal>jsdk.jar</literal>. Esse é o Java servlet development kit,
se você não possui esta biblioteca, faça seu download na página da Sun e copie-a
adicional é requerida: <literal>servlet.jar</literal>. Esse é o Java Servlet Development Kit,
se você não possui esta biblioteca, faça seu download na
<ulink url="http://java.sun.com/products/servlet/archive.html">página da Sun</ulink> e copie-a
para seu diretório de bibliotecas. Entretanto, será usado somente para a compilação e
excluído do pacote WAR.
</para>

View File

@ -1,4 +1,4 @@
<chapter id="tutorial">
<chapter id="tutorial">
<title>Introdu&#x00E7;&#x00E3;o ao Hibernate</title>
<sect1 id="tutorial-intro" revision="1">
@ -1461,7 +1461,7 @@ out.close();]]></programlisting>
<programlisting><![CDATA[<target name="war" depends="compile">
<war destfile="hibernate-tutorial.war" webxml="web.xml">
<lib dir="${librarydir}">
<exclude name="jsdk*.jar"/>
<exclude name="servlet.jar"/>
</lib>
<classes dir="${targetdir}"/>
@ -1493,8 +1493,9 @@ out.close();]]></programlisting>
<para>
Before you compile and deploy the web application, note that an additional library
is required: <literal>jsdk.jar</literal>. This is the Java servlet development kit,
if you don't have this library already, get it from the Sun website and copy it to
is required: <literal>servlet.jar</literal>. This is the Java Servlet Development Kit,
if you don't have this library already, get it from the
<ulink url="http://java.sun.com/products/servlet/archive.html">Sun website</ulink> and copy it to
your library directory. However, it will be only used for compliation and excluded
from the WAR package.
</para>