You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2008/06/13 14:16:20 UTC

svn commit: r667495 - in /commons/sandbox/exec/trunk/src/site: fml/ fml/faq.fml site.xml

Author: sgoeschl
Date: Fri Jun 13 05:16:19 2008
New Revision: 667495

URL: http://svn.apache.org/viewvc?rev=667495&view=rev
Log:
Adding FAQ to the project documentation

Added:
    commons/sandbox/exec/trunk/src/site/fml/
    commons/sandbox/exec/trunk/src/site/fml/faq.fml
Modified:
    commons/sandbox/exec/trunk/src/site/site.xml

Added: commons/sandbox/exec/trunk/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/site/fml/faq.fml?rev=667495&view=auto
==============================================================================
--- commons/sandbox/exec/trunk/src/site/fml/faq.fml (added)
+++ commons/sandbox/exec/trunk/src/site/fml/faq.fml Fri Jun 13 05:16:19 2008
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<faqs id="FAQ" title="Frequently Asked Questions">
+  <part id="General">
+    <faq id="Quoting">
+      <question>How do I create a complex command line using single and double quotes=</question>
+      <answer>
+        <p> It is recommended to use CommandLine.addArgument() instead of CommandLine.parse(). Using
+          CommandLine.parse() the implementation tries to figure out the correct quoting using your
+          arguments and file names containing spaces. With CommandLine.addArgument() you can
+          enable/disable quoting depending on your requirements. Having said that this is the recommended approach using Ant anyway. </p>
+      </answer>
+    </faq>
+  </part>
+</faqs>

Modified: commons/sandbox/exec/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/site/site.xml?rev=667495&r1=667494&r2=667495&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/site/site.xml (original)
+++ commons/sandbox/exec/trunk/src/site/site.xml Fri Jun 13 05:16:19 2008
@@ -23,6 +23,7 @@
     <menu name="Commons Exec">
       <item name="Overview" href="/index.html" />
       <item name="Tutorial" href="/tutorial.html" />
+      <item name="FAQ" href="faq.html"/>
       <item name="Test Matrix" href="/testmatrix.html" />
     </menu>