Skip to main content
summaryrefslogblamecommitdiffstats
blob: 55c11d19e24cdc4e7b32bd0bd5040c5822dae359 (plain) (tree)
















































































                                                                                                                                                                                                     
<?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>

Back to the top