avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nic...@apache.org
Subject svn commit: rev 46983 - in avalon/trunk/central/site/src/xdocs: central/tools/magic/tasks/common products/runtime/reference/containment/components products/runtime/reference/kernel/overrides products/runtime/reference/kernel/overrides/target
Date Tue, 21 Sep 2004 14:41:29 GMT
Author: niclas
Date: Tue Sep 21 07:41:28 2004
New Revision: 46983

Modified:
   avalon/trunk/central/site/src/xdocs/central/tools/magic/tasks/common/property.xml
   avalon/trunk/central/site/src/xdocs/products/runtime/reference/containment/components/configuration.xml
   avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/index.xml
   avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/target/config.xml
Log:
Documentation of x:property updates from Peter Neubauer.

Modified: avalon/trunk/central/site/src/xdocs/central/tools/magic/tasks/common/property.xml
==============================================================================
--- avalon/trunk/central/site/src/xdocs/central/tools/magic/tasks/common/property.xml	(original)
+++ avalon/trunk/central/site/src/xdocs/central/tools/magic/tasks/common/property.xml	Tue
Sep 21 07:41:28 2004
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
 <document>
 
   <properties>
@@ -17,7 +17,7 @@
       </p>
 
 <source><![CDATA[
-    <x:property name="spec" key="cornerstone-threads-impl" feature="spec"/>
+    <x:property name="spec" key="cornerstone-threads-impl" feature="spec" resolve="true"/>
     <echo message="${spec}"/>
 ]]></source>
 
@@ -51,6 +51,11 @@
           <td>The resource type.</td>
         </tr>
         <tr>
+          <td>key</td>
+          <td>The key the resource is referenced by in the project model (the index.xml).
if no key attribute is given, 
+           the current project is assumed.</td>
+        </tr>
+        <tr>
           <td>uri</td>
           <td>The full artifact uri.</td>
         </tr>
@@ -63,6 +68,11 @@
           <td>spec</td>
           <td>Short form of uri.  The spec value is equivalent to the 
             uri with the "artifact:" protocol identifier.</td>
+        </tr>
+        <tr>
+          <td>resolve</td>
+          <td>Should dependencies be resolved or not. Default is true. if you reference
the curernt project, a good idea is to set resolve"false"
+            in order to avoid to download the not yet compiled current projects artifact.</td>
         </tr>
         <tr>
           <td>filename</td>

Modified: avalon/trunk/central/site/src/xdocs/products/runtime/reference/containment/components/configuration.xml
==============================================================================
--- avalon/trunk/central/site/src/xdocs/products/runtime/reference/containment/components/configuration.xml
(original)
+++ avalon/trunk/central/site/src/xdocs/products/runtime/reference/containment/components/configuration.xml
Tue Sep 21 07:41:28 2004
@@ -42,8 +42,8 @@
        <!-- ... -->
        <component name="test2" class="AnotherComponent">
          <!-- will be passed into configurable() method -->
-         <configuration>
-           <colour>red</color>
+         <configuration attr1="test">
+           <colour match="false">red</color>
          </configuration>
        </component>
      </container>

Modified: avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/index.xml
==============================================================================
--- avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/index.xml
(original)
+++ avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/index.xml
Tue Sep 21 07:41:28 2004
@@ -50,8 +50,8 @@
 
        <targets>
          <target path="/main">
-           <configuration>
-             <frequency>100</frequency>
+           <configuration name="freq">
+             <frequency scale="normal">100</frequency>
            </configuration>
            <categories priority="WARN"/>
          </target>

Modified: avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/target/config.xml
==============================================================================
--- avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/target/config.xml
(original)
+++ avalon/trunk/central/site/src/xdocs/products/runtime/reference/kernel/overrides/target/config.xml
Tue Sep 21 07:41:28 2004
@@ -36,8 +36,8 @@
       <subsection name="Sample XML">
 <source><![CDATA[
 
-<configuration>
-  <frequency>100</frequency>
+<configuration time="now">
+  <frequency measurescale="Hertz">100</frequency>
   <!-- or anything else you care to include -->
 </configuration>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message