Author: hibou
Date: Sun Feb  5 21:10:29 2012
New Revision: 1240820

URL: http://svn.apache.org/viewvc?rev=1240820&view=rev
Log:
fix the headers

Modified:
    ant/site/ivyde/production/history/trunk/book.html
    ant/site/ivyde/production/history/trunk/non-java.html

Modified: ant/site/ivyde/production/history/trunk/book.html
URL: 
http://svn.apache.org/viewvc/ant/site/ivyde/production/history/trunk/book.html?rev=1240820&r1=1240819&r2=1240820&view=diff
==============================================================================
--- ant/site/ivyde/production/history/trunk/book.html (original)
+++ ant/site/ivyde/production/history/trunk/book.html Sun Feb  5 21:10:29 2012
@@ -378,15 +378,15 @@ WTP doesn't support classpath containers
   <li>in your WTP project, add your Java project dependencies to the WTP 
project using existing deployment<br class="xooki-br"/>assembly facilities</li>
 </ul>
 
-<hr/><div class='toc-title toc-title-2'>Non-Java dependencies</div><br 
class="xooki-br"/><br class="xooki-br"/>Ivy is a generic dependency manager and 
can manipulate jars as well as any other kind of resources. IvyDE leverages 
this feature by bringing dependency management to non Java Eclipse projects.<br 
class="xooki-br"/><br class="xooki-br"/>In this document we will document how 
to work with IvyDE and non Java dependencies with a concrete exemple: we will 
manage the dependencies between some javascript files and bring them into a 
Java webapp.<br class="xooki-br"/><br class="xooki-br"/><h2>Import the sample 
project into Eclipse</h2>
+<hr/><div class='toc-title toc-title-2'>Non-Java dependencies</div><br 
class="xooki-br"/><br class="xooki-br"/>Ivy is a generic dependency manager and 
can manipulate jars as well as any other kind of resources. IvyDE leverages 
this feature by bringing dependency management to non Java Eclipse projects.<br 
class="xooki-br"/><br class="xooki-br"/>In this document we will document how 
to work with IvyDE and non Java dependencies with a concrete exemple: we will 
manage the dependencies between some javascript files and bring them into a 
Java webapp.<br class="xooki-br"/><br class="xooki-br"/><h1>Import the sample 
project into Eclipse</h1>
 
-The full project sample can be downloaded from <a 
href="sample/webapp-js-repo.zip">there</a>. Unzip it somewhere and import it 
into Eclipse (see "Existing Projects into Workspace" in the "Import" menu).<br 
class="xooki-br"/><br class="xooki-br"/>The Eclipse project is already 
configured with an IvyDE classpath container so we can run the Java webapp. We 
will just have to add the retrieve of the javascript files.<br 
class="xooki-br"/><br class="xooki-br"/><h2><a name="configure"></a>Configure 
the non-Java dependencies</h2>
+The full project sample can be downloaded from <a 
href="sample/webapp-js-repo.zip">there</a>. Unzip it somewhere and import it 
into Eclipse (see "Existing Projects into Workspace" in the "Import" menu).<br 
class="xooki-br"/><br class="xooki-br"/>The Eclipse project is already 
configured with an IvyDE classpath container so we can run the Java webapp. We 
will just have to add the retrieve of the javascript files.<br 
class="xooki-br"/><br class="xooki-br"/><h1><a name="configure"></a>Configure 
the non-Java dependencies</h1>
 
-<h3><a name="configure-nature"></a>Configure the Ivy nature</h3>
+<h2><a name="configure-nature"></a>Configure the Ivy nature</h2>
 
 In order to manage dependencies with Ivy, it is required for the Eclipse 
project to have the "Ivy" nature.<br class="xooki-br"/><br class="xooki-br"/>In 
the sample project, an Ivyde classpath container is already configured, so the 
Eclipse project already has the "Ivy" nature.<br class="xooki-br"/><br 
class="xooki-br"/>In case your project doesn't has it, right click on the 
project and in the menu "Configure" select "Add Ivy dependency management".<br 
class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/add_ivy_nature.jpg"/></center>
 
-<h3><a name="configure-retrieve"></a>Add a retrieve setup</h3>
+<h2><a name="configure-retrieve"></a>Add a retrieve setup</h2>
 
 Now that the project has the Ivy nature, a new entry should have appeared in 
the properties of your project. This is where non Java dependencies are 
managed.<br class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/ivy_project_properties.jpg"/></center>
 
@@ -400,11 +400,11 @@ Before doing a retrieve, the location wh
 This is a comma separated list of configuration names which will be used for 
the resolve (<tt>*</tt> means <i>All</i>).<br class="xooki-br"/>For the sample 
project, we want it to be <tt>js</tt>.<br class="xooki-br"/><br 
class="xooki-br"/><h4>Types</h4>
 This is a comma seperated list of type names which is be retrieved (<tt>*</tt> 
means <i>All</i>).<br class="xooki-br"/>For the sample project, we want them 
all: <tt>*</tt>.<br class="xooki-br"/><br class="xooki-br"/>Now in the 
"Settings" tab, the setup entries are the same as the <a 
href="preferences.html#settings">global ones</a>. Click on "Enable project 
specific settings" to customize for your setup.<br class="xooki-br"/><br 
class="xooki-br"/><center><img 
src="images/retrieve_setup_settings.jpg"/></center>
 
-For the sample project, we want to use the ivysettings in the java project: 
<tt>${workspace_loc:ivyde-sample-webapp-js-repo/ivysettings.xml}</tt>.<br 
class="xooki-br"/><br class="xooki-br"/>Finally, click <b>OK</b> to finish.<br 
class="xooki-br"/><br class="xooki-br"/><h3>Launch a retrieve</h3>
+For the sample project, we want to use the ivysettings in the java project: 
<tt>${workspace_loc:ivyde-sample-webapp-js-repo/ivysettings.xml}</tt>.<br 
class="xooki-br"/><br class="xooki-br"/>Finally, click <b>OK</b> to finish.<br 
class="xooki-br"/><br class="xooki-br"/><h1>Launch a retrieve</h1>
 
 Now that the retrieve is setup, a new entry should be available in the "Ivy" 
context menu. The menu entry should be "Retrieve 'xxx'" where "xxx" is the name 
you gave to the retrieve setup. For the sample project, it will be "Retrieve 
'javascripts'".<br class="xooki-br"/><br class="xooki-br"/>Select the entry to 
actually launch the retrieve. The Eclipse project get automatically refreshed 
with the retrieved files. For the sample project look into 
<tt>src/org/apache/ivyde/sample/webappjsrepo/js/jquery-1.7.1.min.js</tt>.<br 
class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/launch_standalone_retrieve.jpg"/></center>
 
-<h3>Launch the sample webapp</h3>
+<h1>Launch the sample webapp</h1>
 
 To see the result, we'll launch the Java webapp and look it it your browser 
locally.<br class="xooki-br"/><br class="xooki-br"/>Right click the Java class 
<tt>org.apache.ivyde.sample.webappjsrepo.HTTPServer</tt> and select "Run As" / 
"Java Application".<br class="xooki-br"/>Now open the web page <a 
href="http://localhost:8888/index.html";>http://localhost:8888/index.html</a><br 
class="xooki-br"/>If working properly, the javascript files should have been 
properly loaded and the input field should have automatically been filled with 
a default value.<br class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/webapp-js-repo-launch.jpg"/></center>
 

Modified: ant/site/ivyde/production/history/trunk/non-java.html
URL: 
http://svn.apache.org/viewvc/ant/site/ivyde/production/history/trunk/non-java.html?rev=1240820&r1=1240819&r2=1240820&view=diff
==============================================================================
--- ant/site/ivyde/production/history/trunk/non-java.html (original)
+++ ant/site/ivyde/production/history/trunk/non-java.html Sun Feb  5 21:10:29 
2012
@@ -109,15 +109,15 @@
                <div id="main">
 
                <h1 class="title">Non-Java dependencies</h1>
-            <br class="xooki-br"/><br class="xooki-br"/>Ivy is a generic 
dependency manager and can manipulate jars as well as any other kind of 
resources. IvyDE leverages this feature by bringing dependency management to 
non Java Eclipse projects.<br class="xooki-br"/><br class="xooki-br"/>In this 
document we will document how to work with IvyDE and non Java dependencies with 
a concrete exemple: we will manage the dependencies between some javascript 
files and bring them into a Java webapp.<br class="xooki-br"/><br 
class="xooki-br"/><h2>Import the sample project into Eclipse</h2>
+            <br class="xooki-br"/><br class="xooki-br"/>Ivy is a generic 
dependency manager and can manipulate jars as well as any other kind of 
resources. IvyDE leverages this feature by bringing dependency management to 
non Java Eclipse projects.<br class="xooki-br"/><br class="xooki-br"/>In this 
document we will document how to work with IvyDE and non Java dependencies with 
a concrete exemple: we will manage the dependencies between some javascript 
files and bring them into a Java webapp.<br class="xooki-br"/><br 
class="xooki-br"/><h1>Import the sample project into Eclipse</h1>
 
-The full project sample can be downloaded from <a 
href="sample/webapp-js-repo.zip">there</a>. Unzip it somewhere and import it 
into Eclipse (see "Existing Projects into Workspace" in the "Import" menu).<br 
class="xooki-br"/><br class="xooki-br"/>The Eclipse project is already 
configured with an IvyDE classpath container so we can run the Java webapp. We 
will just have to add the retrieve of the javascript files.<br 
class="xooki-br"/><br class="xooki-br"/><h2><a name="configure"></a>Configure 
the non-Java dependencies</h2>
+The full project sample can be downloaded from <a 
href="sample/webapp-js-repo.zip">there</a>. Unzip it somewhere and import it 
into Eclipse (see "Existing Projects into Workspace" in the "Import" menu).<br 
class="xooki-br"/><br class="xooki-br"/>The Eclipse project is already 
configured with an IvyDE classpath container so we can run the Java webapp. We 
will just have to add the retrieve of the javascript files.<br 
class="xooki-br"/><br class="xooki-br"/><h1><a name="configure"></a>Configure 
the non-Java dependencies</h1>
 
-<h3><a name="configure-nature"></a>Configure the Ivy nature</h3>
+<h2><a name="configure-nature"></a>Configure the Ivy nature</h2>
 
 In order to manage dependencies with Ivy, it is required for the Eclipse 
project to have the "Ivy" nature.<br class="xooki-br"/><br class="xooki-br"/>In 
the sample project, an Ivyde classpath container is already configured, so the 
Eclipse project already has the "Ivy" nature.<br class="xooki-br"/><br 
class="xooki-br"/>In case your project doesn't has it, right click on the 
project and in the menu "Configure" select "Add Ivy dependency management".<br 
class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/add_ivy_nature.jpg"/></center>
 
-<h3><a name="configure-retrieve"></a>Add a retrieve setup</h3>
+<h2><a name="configure-retrieve"></a>Add a retrieve setup</h2>
 
 Now that the project has the Ivy nature, a new entry should have appeared in 
the properties of your project. This is where non Java dependencies are 
managed.<br class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/ivy_project_properties.jpg"/></center>
 
@@ -131,11 +131,11 @@ Before doing a retrieve, the location wh
 This is a comma separated list of configuration names which will be used for 
the resolve (<tt>*</tt> means <i>All</i>).<br class="xooki-br"/>For the sample 
project, we want it to be <tt>js</tt>.<br class="xooki-br"/><br 
class="xooki-br"/><h4>Types</h4>
 This is a comma seperated list of type names which is be retrieved (<tt>*</tt> 
means <i>All</i>).<br class="xooki-br"/>For the sample project, we want them 
all: <tt>*</tt>.<br class="xooki-br"/><br class="xooki-br"/>Now in the 
"Settings" tab, the setup entries are the same as the <a 
href="preferences.html#settings">global ones</a>. Click on "Enable project 
specific settings" to customize for your setup.<br class="xooki-br"/><br 
class="xooki-br"/><center><img 
src="images/retrieve_setup_settings.jpg"/></center>
 
-For the sample project, we want to use the ivysettings in the java project: 
<tt>${workspace_loc:ivyde-sample-webapp-js-repo/ivysettings.xml}</tt>.<br 
class="xooki-br"/><br class="xooki-br"/>Finally, click <b>OK</b> to finish.<br 
class="xooki-br"/><br class="xooki-br"/><h3>Launch a retrieve</h3>
+For the sample project, we want to use the ivysettings in the java project: 
<tt>${workspace_loc:ivyde-sample-webapp-js-repo/ivysettings.xml}</tt>.<br 
class="xooki-br"/><br class="xooki-br"/>Finally, click <b>OK</b> to finish.<br 
class="xooki-br"/><br class="xooki-br"/><h1>Launch a retrieve</h1>
 
 Now that the retrieve is setup, a new entry should be available in the "Ivy" 
context menu. The menu entry should be "Retrieve 'xxx'" where "xxx" is the name 
you gave to the retrieve setup. For the sample project, it will be "Retrieve 
'javascripts'".<br class="xooki-br"/><br class="xooki-br"/>Select the entry to 
actually launch the retrieve. The Eclipse project get automatically refreshed 
with the retrieved files. For the sample project look into 
<tt>src/org/apache/ivyde/sample/webappjsrepo/js/jquery-1.7.1.min.js</tt>.<br 
class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/launch_standalone_retrieve.jpg"/></center>
 
-<h3>Launch the sample webapp</h3>
+<h1>Launch the sample webapp</h1>
 
 To see the result, we'll launch the Java webapp and look it it your browser 
locally.<br class="xooki-br"/><br class="xooki-br"/>Right click the Java class 
<tt>org.apache.ivyde.sample.webappjsrepo.HTTPServer</tt> and select "Run As" / 
"Java Application".<br class="xooki-br"/>Now open the web page <a 
href="http://localhost:8888/index.html";>http://localhost:8888/index.html</a><br 
class="xooki-br"/>If working properly, the javascript files should have been 
properly loaded and the input field should have automatically been filled with 
a default value.<br class="xooki-br"/><br class="xooki-br"/><center><img 
src="images/webapp-js-repo-launch.jpg"/></center>
 


Reply via email to