You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/02/22 11:00:10 UTC

cvs commit: xml-forrest/src/documentation/content/xdocs faq.xml

jefft       2003/02/22 02:00:10

  Modified:    src/documentation/content/xdocs faq.xml
  Log:
  Document the ${project.home} bug
  
  Revision  Changes    Path
  1.25      +22 -0     xml-forrest/src/documentation/content/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/documentation/content/xdocs/faq.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- faq.xml	30 Jan 2003 14:09:06 -0000	1.24
  +++ faq.xml	22 Feb 2003 10:00:10 -0000	1.25
  @@ -74,6 +74,28 @@
         </answer>
       </faq>
   
  +    <faq id="unresolved_project.home">
  +      <question>When invoking Forrest 0.4 from the
  +        <code>forrest.antproxy.xml</code>, the build fails because
  +        <code>${project.home}</code> isn't resolved.
  +      </question>
  +      <answer>
  +        <p>This is a bug in 0.4. The following modification to
  +          <code>FORREST_HOME/forrest.antproxy.xml</code> should fix it:</p>
  +        <source
  +><![CDATA[--- forrest.antproxy.xml        7 Feb 2003 22:21:15 -0000       1.2
  ++++ forrest.antproxy.xml        22 Feb 2003 09:39:42 -0000
  +@@ -41,6 +41,7 @@
  +   </path>
  + 
  +   <target name="forrest">
  ++    <property name="project.home" location="."/>
  +     <java classname="org.apache.tools.ant.Main" fork="true">
  +       <classpath refid="forrest-classpath"/>
  +       <jvmarg value="-Dforrest.home=${forrest.home}"/>]]></source>
  +      </answer>
  +    </faq>
  +
       <faq id="index.html">
         <question>
           The tab link in my site incorrectly assumes that 'index.html' is present in