At line 137 changed 2 lines. |
<p><b>1.</b> Crie um novo diretorio para a bibliotéca em <tt>/lib</tt> |
usando o modelo <i>libname-version</i> (ex. <tt>/lib/itext-1.1.4</tt>). |
__1.__ Create a new folder for your library in {{/lib}} using the pattern ''libname-version'' (e.g. {{/lib/iText-1.1}}). |
At line 140 changed 21 lines. |
<pre> |
<tt>/jasper-reports-1.2.0</tt> |
<tt>/itext-1.1.4</tt> |
<tt>/poi-2.5.1</tt> |
<tt>/bsh-2.0b2</tt> |
</pre> |
</p> |
<p><b>2.</b> Adicionar todos os requeridos <tt>.jar</tt>'s no diretorio |
que você criou. (ex. <tt>/lib/itext-1.1.4/iText.jar</tt>) |
<pre> |
<tt>/lib/jasper-reports-1.2.0/jasperreports-1.2.0.jar</tt> |
<tt>/lib/jasper-reports-1.2.0/jr-bsh-compiler.jar</tt> |
<tt>/lib/itext-1.1.4/itext-1.1.4.jar</tt> |
<tt>/lib/poi-2.5.1/poi-2.5.1.jar</tt> |
<tt>/lib/bsh-2.0b2/bsh-2.0b2.jar</tt> |
</pre> |
</p> |
</p> |
<p><b>3.</b> Editar o arquivo <tt>/lib/lib.properties</tt> para incluir |
a seguinte seção para sua bibliotéca. |
<pre># |
<tt>/jasper-reports-1.2.0</tt> |
<tt>/itext-1.1.4</tt> |
<tt>/poi-2.5.1</tt> |
<tt>/bsh-2.0b2</tt> |
|
__2.__ Add all required {{.jar}}'s into the folder you created. (e.g. {{/lib/iText-1.1/iText.jar}}) |
|
<tt>/lib/jasper-reports-1.2.0/jasperreports-1.2.0.jar</tt> |
<tt>/lib/jasper-reports-1.2.0/jr-bsh-compiler.jar</tt> |
<tt>/lib/itext-1.1.4/itext-1.1.4.jar</tt> |
<tt>/lib/poi-2.5.1/poi-2.5.1.jar</tt> |
<tt>/lib/bsh-2.0b2/bsh-2.0b2.jar</tt> |
|
__3.__ Edit {{/lib/lib.properties}} to include a section like the following for your library. |
{{{ |
At line 167 changed 1 line. |
|
}}} |
{{{ |
At line 174 changed 1 line. |
|
}}} |
{{{ |
At line 181 changed 1 line. |
|
}}} |
{{{ |
At line 187 changed 3 lines. |
</pre> |
</p> |
<p><b>4.</b> Adicionar a biblioteca para os classpaths em <tt>/properties.xml</tt>. |
}}} |
|
__4.__ Add library to the necessary classpaths in {{/properties.xml}}. |
|
{{{ |
<path id="web.compile.classpath"> |
... |
<fileset dir="${jasperreports.dir}" includes="*.jar"/> |
<pathelement location="${itext.jar}"/> |
<pathelement location="${poi.jar}"/> |
</path> |
|
}}} |
|
|