avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oberh...@apache.org
Subject svn commit: rev 37411 - in avalon/trunk/central/laboratory/studio/eclipse/core: config templates/context/standard test/org/apache/metro/studio/eclipse/core/templateengine/test
Date Thu, 02 Sep 2004 19:48:56 GMT
Author: oberhack
Date: Thu Sep  2 12:48:55 2004
New Revision: 37411

Added:
   avalon/trunk/central/laboratory/studio/eclipse/core/templates/context/standard/HelloComponent.xinfo
Modified:
   avalon/trunk/central/laboratory/studio/eclipse/core/config/resources.test_cfg
   avalon/trunk/central/laboratory/studio/eclipse/core/test/org/apache/metro/studio/eclipse/core/templateengine/test/ResourceTemplateManagerTest.java
Log:


Modified: avalon/trunk/central/laboratory/studio/eclipse/core/config/resources.test_cfg
==============================================================================
--- avalon/trunk/central/laboratory/studio/eclipse/core/config/resources.test_cfg	(original)
+++ avalon/trunk/central/laboratory/studio/eclipse/core/config/resources.test_cfg	Thu Sep
 2 12:48:55 2004
@@ -46,6 +46,11 @@
             <packageName>tutorial</packageName>
           </Resource>
           <Resource>
+            <rootSegment>src</rootSegment>
+            <sourceFilePathName>/D:/Avalon/studio/eclipse/core/templates/context/standard/HelloComponent.xinfo</sourceFilePathName>
+            <packageName>tutorial</packageName>
+          </Resource>
+          <Resource>
             <rootSegment>src/BLOCK-INF</rootSegment>
             <sourceFilePathName>/D:/Avalon/studio/eclipse/core/templates/context/standard/block.xml</sourceFilePathName>
             <packageName></packageName>

Added: avalon/trunk/central/laboratory/studio/eclipse/core/templates/context/standard/HelloComponent.xinfo
==============================================================================
--- (empty file)
+++ avalon/trunk/central/laboratory/studio/eclipse/core/templates/context/standard/HelloComponent.xinfo
Thu Sep  2 12:48:55 2004
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE type PUBLIC "-//AVALON/Type DTD Version 1.0//EN" "http://avalon.apache.org/dtds/meta/type_1_1.dtd"
>
+
+<type>
+  <info>
+    <name>demo</name>
+    <version>1.0.0</version>
+    <lifestyle>singleton</lifestyle>
+    <collection>hard</collection>
+  </info>
+  <context>
+    <entry key="urn:avalon:name" />
+    <entry key="urn:avalon:partition" />
+    <entry key="urn:avalon:home" type="java.io.File" />
+    <entry key="urn:avalon:temp" type="java.io.File" />
+  </context>
+</type>
\ No newline at end of file

Modified: avalon/trunk/central/laboratory/studio/eclipse/core/test/org/apache/metro/studio/eclipse/core/templateengine/test/ResourceTemplateManagerTest.java
==============================================================================
--- avalon/trunk/central/laboratory/studio/eclipse/core/test/org/apache/metro/studio/eclipse/core/templateengine/test/ResourceTemplateManagerTest.java
(original)
+++ avalon/trunk/central/laboratory/studio/eclipse/core/test/org/apache/metro/studio/eclipse/core/templateengine/test/ResourceTemplateManagerTest.java
Thu Sep  2 12:48:55 2004
@@ -312,6 +312,12 @@
         rt.addResource(r);
 
         r = new Resource();
+        r.setRootSegment("src");
+        r.setSourceFilePathName(baseDir+"templates/context/standard/HelloComponent.xinfo");
+        r.setPackageName("tutorial");
+        rt.addResource(r);
+
+        r = new Resource();
         r.setRootSegment("src/BLOCK-INF");
         r.setSourceFilePathName(baseDir+"templates/context/standard/block.xml");
         r.setPackageName("");

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


Mime
View raw message