Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/newproject.xsd')
-rw-r--r--tests/org.eclipse.jet.tests/data/newproject.xsd81
1 files changed, 81 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/data/newproject.xsd b/tests/org.eclipse.jet.tests/data/newproject.xsd
new file mode 100644
index 0000000..55c11d1
--- /dev/null
+++ b/tests/org.eclipse.jet.tests/data/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