Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-04-20 13:18:46 -0400
committerpelder2006-04-20 13:18:46 -0400
commit3608e0b4d10fa827eebf0b2851b0d24014537249 (patch)
treec214d70f89387c410f66be4ae9d058a9c27d5f4f /transforms/org.eclipse.jet.transforms.newproject/newproject.xsd
parent6c5221eeca53d1b31d87725cc173001c6b8d2e16 (diff)
downloadorg.eclipse.jet-3608e0b4d10fa827eebf0b2851b0d24014537249.tar.gz
org.eclipse.jet-3608e0b4d10fa827eebf0b2851b0d24014537249.tar.xz
org.eclipse.jet-3608e0b4d10fa827eebf0b2851b0d24014537249.zip
[137347] Add attributes to 'project' element in input model to allow specification of new project id, display name, version and vendor. Also included an XSD describing the expected input.
Diffstat (limited to 'transforms/org.eclipse.jet.transforms.newproject/newproject.xsd')
-rw-r--r--transforms/org.eclipse.jet.transforms.newproject/newproject.xsd81
1 files changed, 81 insertions, 0 deletions
diff --git a/transforms/org.eclipse.jet.transforms.newproject/newproject.xsd b/transforms/org.eclipse.jet.transforms.newproject/newproject.xsd
new file mode 100644
index 0000000..55c11d1
--- /dev/null
+++ b/transforms/org.eclipse.jet.transforms.newproject/newproject.xsd
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="org.eclipse.jet.transforms.newproject" xmlns="org.eclipse.jet.transforms.newproject">
+
+ <xsd:element name="newProjectModel" type="newProjectModel"></xsd:element>
+
+ <xsd:complexType name="newProjectModel">
+ <xsd:sequence minOccurs="1">
+ <xsd:element name="project" type="project" minOccurs="1"
+ maxOccurs="1">
+ </xsd:element>
+ <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="project">
+ <xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute>
+ <xsd:attribute name="bundleName" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ The display name of the resulting JET project. If
+ not specified, this defaults to the value specified
+ in the 'name' parameter.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="bundleSymbolicName" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ The id of the JET project. If not specified, this
+ defaults to the name of the project.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="bundleVersion" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ The initial version number of the project. If not
+ specified, this defaults to 1.0.0.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="bundleVendor" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ The Vendor of the JET Project. If not specified,
+ this defaults to the empty string.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="binDir" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>
+ The directory which will contain binary (compiled)
+ Java classes. If not specified, the default is
+ 'bin'.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="jet2javaDir" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The directory into which Java source files corresponding to JET templates will be written. The default is 'jet2java'.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="templatesDir" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The directory to which initial tempates will be written. The default if 'templates'.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="templateLoader" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The fully qualified Java Class name of the template loader class. The default is 'org.eclipse.jet.compiled._jet_transformation'.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="startTemplate" type="xsd:string" use="optional">
+ <xsd:annotation>
+ <xsd:documentation>The path of the start template. This path is relative the the tempates directory specified by templatesDir. The default is 'main.jet'.</xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:anyAttribute namespace="##other"></xsd:anyAttribute>
+ </xsd:complexType>
+</xsd:schema> \ No newline at end of file

Back to the top