summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-09-14 10:26:32 (EDT)
committerpelder2006-09-14 10:26:32 (EDT)
commitb2be446dbe99da111d49a58351311202769c9174 (patch)
tree15503f06fbfccb2d90a3612828344281270e9d01
parentce17886a24deafb5b400f535abfa3969e6c12eba (diff)
downloadorg.eclipse.jet-b2be446dbe99da111d49a58351311202769c9174.zip
org.eclipse.jet-b2be446dbe99da111d49a58351311202769c9174.tar.gz
org.eclipse.jet-b2be446dbe99da111d49a58351311202769c9174.tar.bz2
[157318] Change generation of main.jet. Refresh exported transforms.
-rw-r--r--plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.newproject_1.0.0.jarbin34006 -> 28154 bytes
-rw-r--r--plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.taglibdoc_1.0.0.jarbin36264 -> 36226 bytes
-rw-r--r--transforms/org.eclipse.jet.transforms.newproject/plugin.xml1
-rw-r--r--transforms/org.eclipse.jet.transforms.newproject/templates/project/control.jet.jet29
4 files changed, 17 insertions, 13 deletions
diff --git a/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.newproject_1.0.0.jar b/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.newproject_1.0.0.jar
index 5af4bbb..1954350 100644
--- a/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.newproject_1.0.0.jar
+++ b/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.newproject_1.0.0.jar
Binary files differ
diff --git a/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.taglibdoc_1.0.0.jar b/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.taglibdoc_1.0.0.jar
index 1bf6f9b..5a88c28 100644
--- a/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.taglibdoc_1.0.0.jar
+++ b/plugins/org.eclipse.jet/transforms/plugins/org.eclipse.jet.transforms.taglibdoc_1.0.0.jar
Binary files differ
diff --git a/transforms/org.eclipse.jet.transforms.newproject/plugin.xml b/transforms/org.eclipse.jet.transforms.newproject/plugin.xml
index bf1cc1b..b8c13be 100644
--- a/transforms/org.eclipse.jet.transforms.newproject/plugin.xml
+++ b/transforms/org.eclipse.jet.transforms.newproject/plugin.xml
@@ -4,6 +4,7 @@
<extension
point="org.eclipse.jet.transform">
<transform
+ private="true"
startTemplate="templates/control.jet"
templateLoaderClass="org.eclipse.jet.compiled._jet_transformation">
<description>
diff --git a/transforms/org.eclipse.jet.transforms.newproject/templates/project/control.jet.jet b/transforms/org.eclipse.jet.transforms.newproject/templates/project/control.jet.jet
index b45ba4d..aef59b5 100644
--- a/transforms/org.eclipse.jet.transforms.newproject/templates/project/control.jet.jet
+++ b/transforms/org.eclipse.jet.transforms.newproject/templates/project/control.jet.jet
@@ -1,21 +1,24 @@
<%@taglib prefix="cc" id="org.eclipse.jet.controlTags" %>
<\%@taglib prefix="ws" id="org.eclipse.jet.workspaceTags" %>
-*** Control template for bean.transform
+<\%-- Main entry point for <cc:get select="$project/@bundleSymbolicName"/> --%>
+<\%--
+TODO: traverse input model, performing calculations and storing
+the results as model annotations via c:set tag
+--%>
- --- Define additional attributes for the current root element
-
- --- Iterate over each nested project element
-
-*** Traverse the model and generate artifacts
- --- Generate artifacts for the current root element
-
- --- Iterate over each nested project element
+<\%--
+TODO: traverse annotated model, performing text generation actions
+such as ws:file, ws:folder and ws:project
+--%>
-*** Dump the transformed model for testing and debug purposes
-
- <ws:file template="templates/dump.jet" path="{$org.eclipse.jet.resource.project.name}/dump.xml"/>
-
+<\%-- For debug purposes, dump the annotated input model in
+ the root of the project containing the original input model.
+
+ Note that model formatting may not be identical, and that in
+ the case of non-XML input models, the dump may look quite different.
+--%>
+<ws:file template="templates/dump.jet" path="{$org.eclipse.jet.resource.project.name}/dump.xml"/>