ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1239858 - /ant/ivy/ivyde/trunk/doc/cpc/wtp.html
Date Thu, 02 Feb 2012 21:23:00 GMT
Author: hibou
Date: Thu Feb  2 21:23:00 2012
New Revision: 1239858

URL: http://svn.apache.org/viewvc?rev=1239858&view=rev
Log:
Document that WTP doesn't work with IvyDE's workspace resolver

Modified:
    ant/ivy/ivyde/trunk/doc/cpc/wtp.html

Modified: ant/ivy/ivyde/trunk/doc/cpc/wtp.html
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/cpc/wtp.html?rev=1239858&r1=1239857&r2=1239858&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/doc/cpc/wtp.html (original)
+++ ant/ivy/ivyde/trunk/doc/cpc/wtp.html Thu Feb  2 21:23:00 2012
@@ -48,6 +48,22 @@ with
 <li>Load the modified .epf</li>
 </ul>
 
+<h1>Resolve in workspace</h1>
+
+WTP doesn't support classpath containers like IvyDE's or Maven's one which can link to a
Java project in a workspace.
+
+A feature request has been opened in WTP's Bugzilla: see <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=184125">bug
#184125</a>.
+
+If you really want to link a Java project into the classpath of a WTP project, you should
folow what is described in the <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=184125#c12">comment
#12</a> and the <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=184125#c17">comment
#17</a>:
+<ul>
+  <li>in your ivy.xml of your WTP project, exclude from your dependencies the java
projects you want to link to (you can create a specific Ivy configuration for that, so it
won't mess with the configurations used by an Ant build for instance)</li>
+  <li>make sure your Java project is a WTP "utility" project</li>
+  <li>make sure any IvyDE classpath container in the Java projects has been added to
the deployment assembly</li>
+  <li>in your WTP project, add the IvyDE container which resolve the dependencies excluded
your Java project dependencies</li>
+  <li>in your WTP project, add your Java project dependencies to the WTP project using
existing deployment
+assembly facilities</li>
+</ul>
+
 </textarea>
 <script type="text/javascript">xooki.postProcess();</script>
 </body>



Mime
View raw message