summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-09-19 17:22:41 (EDT)
committerpelder2006-09-19 17:22:41 (EDT)
commit1fc743b1bf3794d1187628d04f27c42eabf95f1e (patch)
tree0a3a5594375b75b272a2571b46f6f005b9851c68
parentaeb93b9c181c1f74f6be80a34d0de86a1caf1b8f (diff)
downloadorg.eclipse.jet-1fc743b1bf3794d1187628d04f27c42eabf95f1e.zip
org.eclipse.jet-1fc743b1bf3794d1187628d04f27c42eabf95f1e.tar.gz
org.eclipse.jet-1fc743b1bf3794d1187628d04f27c42eabf95f1e.tar.bz2
[157811] Add examples to workspaceTags
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/copyFileTag.html10
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html9
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/folderTag.html7
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/projectTag.html9
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/rebuildWorkspaceTag.html2
5 files changed, 30 insertions, 7 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/copyFileTag.html b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/copyFileTag.html
index 6123b84..b4f3b35 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/copyFileTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/copyFileTag.html
@@ -92,7 +92,15 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin copyFile example -->
- &lt;ws:copyFile src=&quot;<I>value</I>&quot; target=&quot;<I>value</I>&quot;/&gt;<br>
+ &lt;%-- copy a transformation supplied file to the project myProject --%&gt;<BR>
+ &lt;ws:copyFile src=&quot;logo.gif&quot; target=&quot;myproject/logo.gif&quot; binary=&quot;true&quot;/&gt;<br><br>
+
+ &lt;%-- this is equivalent to --%gt;<BR>
+ &lt;ws:copyFile src=&quot;logo.gif&quot; srcContext=&quot;transform&quot; target=&quot;myproject/logo.gif&quot; binary=&quot;true&quot;/&gt;<br><br>
+
+ &lt;%-- copy a workspace file from yourProject to myProject --%gt;<br>
+ &lt;ws:copyFile src=&quot;yourProject/plugin.xml&quot; srcContext="workspace" target=&quot;myproject/plugin.xml&quot; /&gt;<br>
+
<!-- End copyFile example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html
index 71c72ca..1037803 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/fileTag.html
@@ -84,7 +84,14 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin file example -->
- &lt;ws:file path=&quot;<I>value</I>&quot; template=&quot;<I>value</I>&quot;/&gt;<br>
+ &lt;%-- write a file about.html to myProject after evaluating template about.html.jet--%&gt;<br>
+ &lt;ws:file path=&quot;myProject/about.html&quot; template=&quot;templates/about.html.jet&quot;/&gt;<br><br>
+
+ &lt;%-- alternative way of doing the about--%&gt;<br>
+ &lt;ws:project name="myProject"&gt;<br>
+ &nbsp;&nbsp;&lt;ws:file path=&quot;about.html&quot; template=&quot;templates/about.html.jet&quot;/&gt;<br>
+ &nbsp;&nbsp;<i>... other ws:file tags writing to the same project ...</i><br>
+ &lt;/ws:project&gt;<br>
<!-- End file example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/folderTag.html b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/folderTag.html
index 448182a..201e006 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/folderTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/folderTag.html
@@ -64,8 +64,11 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin folder example -->
- &lt;ws:folder path=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be written</I><BR>
+ &lt;%-- Create a folder src in myProjet--%&gt;<br>
+ &lt;ws:folder path=&quot;myProject/src&quot;/&gt;<br><br>
+ &lt;%-- Create a folder src in myProjet, with nested actions--%&gt;<br>
+ &lt;ws:folder path=&quot;myProject/src&quot;/&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>... nested ws:folder and ws:file tags are relative to myProject/src ...</I><BR>
&lt;/ws:folder&gt;
<!-- End folder example -->
</SPAN></TD>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/projectTag.html b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/projectTag.html
index b61327a..cb32a1b 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/projectTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/projectTag.html
@@ -76,9 +76,12 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin project example -->
- &lt;ws:project name=&quot;<I>value</I>&quot;&gt;<br>
- &nbsp;&nbsp;&nbsp;&nbsp;<I>content to be written</I><BR>
- &lt;/ws:project&gt;
+ &lt;%-- Create project myProjet (or ensure it exists) --%&gt;<br>
+ &lt;ws:project name=&quot;myProject&quot;/&gt;<br><br>
+ &lt;%-- Create project myProjet (or ensure it exists), with nested actions--%&gt;<br>
+ &lt;ws:project name=&quot;myProject&quot;/&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>... nested ws:folder and ws:file tags are relative to myProject ...</I><BR>
+ &lt;/ws:folder&gt;
<!-- End project example -->
</SPAN></TD>
</TR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/rebuildWorkspaceTag.html b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/rebuildWorkspaceTag.html
index 22c778a..437d6ee 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/rebuildWorkspaceTag.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/workspaceTags/rebuildWorkspaceTag.html
@@ -56,6 +56,8 @@
<TD width="10%"></TD>
<TD><SPAN style="font-family: monospace">
<!-- Begin rebuildWorkspace example -->
+ &lt;%-- Broadcast change events for Eclipse workspace changes already made,
+ allowing Eclipse to build before to continuing --%&gt;
&lt;ws:rebuildWorkspace/&gt;<br>
<!-- End rebuildWorkspace example -->
</SPAN></TD>