Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • MAS-2018-0047
  • MAS-2018-0050
  • MAS-2018-0081-SDT4_change_log
  • MAS-2018-0082-Introducing_Product
  • MAS-2018-0084-SDT4_JSON
  • MAS-2018-0085-SDT4_removing_Module
  • MAS-2018-0135-SDT_4_0_-_Introducing_void_data_type_to_BasicType
  • MAS-2018-0139-SDT_4_0_–_Adding_support_for_enumeration_types_and_values
  • MAS-2018-0140-SDT_4_0_–_Adding_support_for_semantic_references
  • MAS-2018-0141-SDT_4_0_–_Adding_support_for_defining_and_referencing_data_types
  • MAS-2018-0158-SDT_4_0_–_Removing_BasicType_enum
  • MAS-2018-0161-SDT_4_0_-_Support_for_excluding_certain_components_when_inheriting
  • RDM-2019-0003-SDT_4_0_–_Proposed_Changes_to_XSD
  • RDM-2019-0008-SDT_4_0_-_Changes_to_Data_Points_and_Actions
  • RDM-2019-0009-SDT_4_0_–_Align_spelling_of_import
  • RDM-2019-0010-SDT_4_0_–_Align_types_of_names_and_identifiers
  • RDM-2019-0011-SDT_4_0_-_Moving_Product_under_Domain
  • RDM-2019-0031-Changing_SDT_XML_Namespace
  • RDM-2019-0042-SDT_4_0_–_Changes_to_Product
  • RDM-2019-0065-SDT_4_0_-_Documentation_changes
  • RDM-2020-0001-SDT_4_0_-_Proposed_Multiplicity_for_ModuleClasses_and_SubDevices
  • RDM-2020-0021-SDT_4_0_-_New_documentation
  • RDM-2020-0024-SDT_4_0_-_Renaming_Data_Types
  • RDM-2020-0025-SDT_4_0_-_Removing_optional_from_ModuleClass
  • RDM-2020-0026-SDT_4_0_–_Introducing_Referenced_SubDevices
  • WI-0081-Smart_Device_Template_4_0
  • master
  • 2.0.1
  • 3.0
29 results

Target

Select target project
  • MAS/SDT
1 result
Select Git revision
  • MAS-2018-0047
  • MAS-2018-0050
  • MAS-2018-0081-SDT4_change_log
  • MAS-2018-0082-Introducing_Product
  • MAS-2018-0084-SDT4_JSON
  • MAS-2018-0085-SDT4_removing_Module
  • MAS-2018-0135-SDT_4_0_-_Introducing_void_data_type_to_BasicType
  • MAS-2018-0139-SDT_4_0_–_Adding_support_for_enumeration_types_and_values
  • MAS-2018-0140-SDT_4_0_–_Adding_support_for_semantic_references
  • MAS-2018-0141-SDT_4_0_–_Adding_support_for_defining_and_referencing_data_types
  • MAS-2018-0158-SDT_4_0_–_Removing_BasicType_enum
  • MAS-2018-0161-SDT_4_0_-_Support_for_excluding_certain_components_when_inheriting
  • RDM-2019-0003-SDT_4_0_–_Proposed_Changes_to_XSD
  • RDM-2019-0008-SDT_4_0_-_Changes_to_Data_Points_and_Actions
  • RDM-2019-0009-SDT_4_0_–_Align_spelling_of_import
  • RDM-2019-0010-SDT_4_0_–_Align_types_of_names_and_identifiers
  • RDM-2019-0011-SDT_4_0_-_Moving_Product_under_Domain
  • RDM-2019-0031-Changing_SDT_XML_Namespace
  • RDM-2019-0042-SDT_4_0_–_Changes_to_Product
  • RDM-2019-0065-SDT_4_0_-_Documentation_changes
  • RDM-2020-0001-SDT_4_0_-_Proposed_Multiplicity_for_ModuleClasses_and_SubDevices
  • RDM-2020-0021-SDT_4_0_-_New_documentation
  • RDM-2020-0024-SDT_4_0_-_Renaming_Data_Types
  • RDM-2020-0025-SDT_4_0_-_Removing_optional_from_ModuleClass
  • RDM-2020-0026-SDT_4_0_–_Introducing_Referenced_SubDevices
  • WI-0081-Smart_Device_Template_4_0
  • master
  • 2.0.1
  • 3.0
29 results
Show changes
Showing
with 3982 additions and 0 deletions
<!-- DTD for XML Schemas: Part 1: Structures
Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ -->
<!-- Note this DTD is NOT normative, or even definitive. --> <!--d-->
<!-- prose copy in the structures REC is the definitive version --> <!--d-->
<!-- (which shouldn't differ from this one except for this --> <!--d-->
<!-- comment and entity expansions, but just in case) --> <!--d-->
<!-- With the exception of cases with multiple namespace
prefixes for the XML Schema namespace, any XML document which is
not valid per this DTD given redefinitions in its internal subset of the
'p' and 's' parameter entities below appropriate to its namespace
declaration of the XML Schema namespace is almost certainly not
a valid schema. -->
<!-- The simpleType element and its constituent parts
are defined in XML Schema: Part 2: Datatypes -->
<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
schema document to establish a different
namespace prefix -->
<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
also define %s as the suffix for the appropriate
namespace declaration (e.g. :foo) -->
<!ENTITY % nds 'xmlns%s;'>
<!-- Define all the element names, with optional prefix -->
<!ENTITY % schema "%p;schema">
<!ENTITY % complexType "%p;complexType">
<!ENTITY % complexContent "%p;complexContent">
<!ENTITY % simpleContent "%p;simpleContent">
<!ENTITY % extension "%p;extension">
<!ENTITY % element "%p;element">
<!ENTITY % unique "%p;unique">
<!ENTITY % key "%p;key">
<!ENTITY % keyref "%p;keyref">
<!ENTITY % selector "%p;selector">
<!ENTITY % field "%p;field">
<!ENTITY % group "%p;group">
<!ENTITY % all "%p;all">
<!ENTITY % choice "%p;choice">
<!ENTITY % sequence "%p;sequence">
<!ENTITY % any "%p;any">
<!ENTITY % anyAttribute "%p;anyAttribute">
<!ENTITY % attribute "%p;attribute">
<!ENTITY % attributeGroup "%p;attributeGroup">
<!ENTITY % include "%p;include">
<!ENTITY % import "%p;import">
<!ENTITY % redefine "%p;redefine">
<!ENTITY % notation "%p;notation">
<!-- annotation elements -->
<!ENTITY % annotation "%p;annotation">
<!ENTITY % appinfo "%p;appinfo">
<!ENTITY % documentation "%p;documentation">
<!-- Customisation entities for the ATTLIST of each element type.
Define one of these if your schema takes advantage of the
anyAttribute='##other' in the schema for schemas -->
<!ENTITY % schemaAttrs ''>
<!ENTITY % complexTypeAttrs ''>
<!ENTITY % complexContentAttrs ''>
<!ENTITY % simpleContentAttrs ''>
<!ENTITY % extensionAttrs ''>
<!ENTITY % elementAttrs ''>
<!ENTITY % groupAttrs ''>
<!ENTITY % allAttrs ''>
<!ENTITY % choiceAttrs ''>
<!ENTITY % sequenceAttrs ''>
<!ENTITY % anyAttrs ''>
<!ENTITY % anyAttributeAttrs ''>
<!ENTITY % attributeAttrs ''>
<!ENTITY % attributeGroupAttrs ''>
<!ENTITY % uniqueAttrs ''>
<!ENTITY % keyAttrs ''>
<!ENTITY % keyrefAttrs ''>
<!ENTITY % selectorAttrs ''>
<!ENTITY % fieldAttrs ''>
<!ENTITY % includeAttrs ''>
<!ENTITY % importAttrs ''>
<!ENTITY % redefineAttrs ''>
<!ENTITY % notationAttrs ''>
<!ENTITY % annotationAttrs ''>
<!ENTITY % appinfoAttrs ''>
<!ENTITY % documentationAttrs ''>
<!ENTITY % complexDerivationSet "CDATA">
<!-- #all or space-separated list drawn from derivationChoice -->
<!ENTITY % blockSet "CDATA">
<!-- #all or space-separated list drawn from
derivationChoice + 'substitution' -->
<!ENTITY % mgs '%all; | %choice; | %sequence;'>
<!ENTITY % cs '%choice; | %sequence;'>
<!ENTITY % formValues '(qualified|unqualified)'>
<!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
<!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
<!-- This is used in part2 -->
<!ENTITY % restriction1 '((%mgs; | %group;)?)'>
%xs-datatypes;
<!-- the duplication below is to produce an unambiguous content model
which allows annotation everywhere -->
<!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
((%simpleType; | %complexType;
| %element; | %attribute;
| %attributeGroup; | %group;
| %notation; ),
(%annotation;)*)* )>
<!ATTLIST %schema;
targetNamespace %URIref; #IMPLIED
version CDATA #IMPLIED
%nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema'
xmlns CDATA #IMPLIED
finalDefault %complexDerivationSet; ''
blockDefault %blockSet; ''
id ID #IMPLIED
elementFormDefault %formValues; 'unqualified'
attributeFormDefault %formValues; 'unqualified'
xml:lang CDATA #IMPLIED
%schemaAttrs;>
<!-- Note the xmlns declaration is NOT in the Schema for Schemas,
because at the Infoset level where schemas operate,
xmlns(:prefix) is NOT an attribute! -->
<!-- The declaration of xmlns is a convenience for schema authors -->
<!-- The id attribute here and below is for use in external references
from non-schemas using simple fragment identifiers.
It is NOT used for schema-to-schema reference, internal or
external. -->
<!-- a type is a named content type specification which allows attribute
declarations-->
<!-- -->
<!ELEMENT %complexType; ((%annotation;)?,
(%simpleContent;|%complexContent;|
%particleAndAttrs;))>
<!ATTLIST %complexType;
name %NCName; #IMPLIED
id ID #IMPLIED
abstract %boolean; #IMPLIED
final %complexDerivationSet; #IMPLIED
block %complexDerivationSet; #IMPLIED
mixed (true|false) 'false'
%complexTypeAttrs;>
<!-- particleAndAttrs is shorthand for a root type -->
<!-- mixed is disallowed if simpleContent, overriden if complexContent
has one too. -->
<!-- If anyAttribute appears in one or more referenced attributeGroups
and/or explicitly, the intersection of the permissions is used -->
<!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
<!ATTLIST %complexContent;
mixed (true|false) #IMPLIED
id ID #IMPLIED
%complexContentAttrs;>
<!-- restriction should use the branch defined above, not the simple
one from part2; extension should use the full model -->
<!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
<!ATTLIST %simpleContent;
id ID #IMPLIED
%simpleContentAttrs;>
<!-- restriction should use the simple branch from part2, not the
one defined above; extension should have no particle -->
<!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
<!ATTLIST %extension;
base %QName; #REQUIRED
id ID #IMPLIED
%extensionAttrs;>
<!-- an element is declared by either:
a name and a type (either nested or referenced via the type attribute)
or a ref to an existing element declaration -->
<!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
(%unique; | %key; | %keyref;)*)>
<!-- simpleType or complexType only if no type|ref attribute -->
<!-- ref not allowed at top level -->
<!ATTLIST %element;
name %NCName; #IMPLIED
id ID #IMPLIED
ref %QName; #IMPLIED
type %QName; #IMPLIED
minOccurs %nonNegativeInteger; #IMPLIED
maxOccurs CDATA #IMPLIED
nillable %boolean; #IMPLIED
substitutionGroup %QName; #IMPLIED
abstract %boolean; #IMPLIED
final %complexDerivationSet; #IMPLIED
block %blockSet; #IMPLIED
default CDATA #IMPLIED
fixed CDATA #IMPLIED
form %formValues; #IMPLIED
%elementAttrs;>
<!-- type and ref are mutually exclusive.
name and ref are mutually exclusive, one is required -->
<!-- In the absence of type AND ref, type defaults to type of
substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
<!-- default and fixed are mutually exclusive -->
<!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
<!ATTLIST %group;
name %NCName; #IMPLIED
ref %QName; #IMPLIED
minOccurs %nonNegativeInteger; #IMPLIED
maxOccurs CDATA #IMPLIED
id ID #IMPLIED
%groupAttrs;>
<!ELEMENT %all; ((%annotation;)?, (%element;)*)>
<!ATTLIST %all;
minOccurs (1) #IMPLIED
maxOccurs (1) #IMPLIED
id ID #IMPLIED
%allAttrs;>
<!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
<!ATTLIST %choice;
minOccurs %nonNegativeInteger; #IMPLIED
maxOccurs CDATA #IMPLIED
id ID #IMPLIED
%choiceAttrs;>
<!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
<!ATTLIST %sequence;
minOccurs %nonNegativeInteger; #IMPLIED
maxOccurs CDATA #IMPLIED
id ID #IMPLIED
%sequenceAttrs;>
<!-- an anonymous grouping in a model, or
a top-level named group definition, or a reference to same -->
<!-- Note that if order is 'all', group is not allowed inside.
If order is 'all' THIS group must be alone (or referenced alone) at
the top level of a content model -->
<!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
<!-- Should allow minOccurs=0 inside order='all' . . . -->
<!ELEMENT %any; (%annotation;)?>
<!ATTLIST %any;
namespace CDATA '##any'
processContents (skip|lax|strict) 'strict'
minOccurs %nonNegativeInteger; '1'
maxOccurs CDATA '1'
id ID #IMPLIED
%anyAttrs;>
<!-- namespace is interpreted as follows:
##any - - any non-conflicting WFXML at all
##other - - any non-conflicting WFXML from namespace other
than targetNamespace
##local - - any unqualified non-conflicting WFXML/attribute
one or - - any non-conflicting WFXML from
more URI the listed namespaces
references
##targetNamespace ##local may appear in the above list,
with the obvious meaning -->
<!ELEMENT %anyAttribute; (%annotation;)?>
<!ATTLIST %anyAttribute;
namespace CDATA '##any'
processContents (skip|lax|strict) 'strict'
id ID #IMPLIED
%anyAttributeAttrs;>
<!-- namespace is interpreted as for 'any' above -->
<!-- simpleType only if no type|ref attribute -->
<!-- ref not allowed at top level, name iff at top level -->
<!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
<!ATTLIST %attribute;
name %NCName; #IMPLIED
id ID #IMPLIED
ref %QName; #IMPLIED
type %QName; #IMPLIED
use (prohibited|optional|required) #IMPLIED
default CDATA #IMPLIED
fixed CDATA #IMPLIED
form %formValues; #IMPLIED
%attributeAttrs;>
<!-- type and ref are mutually exclusive.
name and ref are mutually exclusive, one is required -->
<!-- default for use is optional when nested, none otherwise -->
<!-- default and fixed are mutually exclusive -->
<!-- type attr and simpleType content are mutually exclusive -->
<!-- an attributeGroup is a named collection of attribute decls, or a
reference thereto -->
<!ELEMENT %attributeGroup; ((%annotation;)?,
(%attribute; | %attributeGroup;)*,
(%anyAttribute;)?) >
<!ATTLIST %attributeGroup;
name %NCName; #IMPLIED
id ID #IMPLIED
ref %QName; #IMPLIED
%attributeGroupAttrs;>
<!-- ref iff no content, no name. ref iff not top level -->
<!-- better reference mechanisms -->
<!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
<!ATTLIST %unique;
name %NCName; #REQUIRED
id ID #IMPLIED
%uniqueAttrs;>
<!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)>
<!ATTLIST %key;
name %NCName; #REQUIRED
id ID #IMPLIED
%keyAttrs;>
<!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
<!ATTLIST %keyref;
name %NCName; #REQUIRED
refer %QName; #REQUIRED
id ID #IMPLIED
%keyrefAttrs;>
<!ELEMENT %selector; ((%annotation;)?)>
<!ATTLIST %selector;
xpath %XPathExpr; #REQUIRED
id ID #IMPLIED
%selectorAttrs;>
<!ELEMENT %field; ((%annotation;)?)>
<!ATTLIST %field;
xpath %XPathExpr; #REQUIRED
id ID #IMPLIED
%fieldAttrs;>
<!-- Schema combination mechanisms -->
<!ELEMENT %include; (%annotation;)?>
<!ATTLIST %include;
schemaLocation %URIref; #REQUIRED
id ID #IMPLIED
%includeAttrs;>
<!ELEMENT %import; (%annotation;)?>
<!ATTLIST %import;
namespace %URIref; #IMPLIED
schemaLocation %URIref; #IMPLIED
id ID #IMPLIED
%importAttrs;>
<!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
%attributeGroup; | %group;)*>
<!ATTLIST %redefine;
schemaLocation %URIref; #REQUIRED
id ID #IMPLIED
%redefineAttrs;>
<!ELEMENT %notation; (%annotation;)?>
<!ATTLIST %notation;
name %NCName; #REQUIRED
id ID #IMPLIED
public CDATA #REQUIRED
system %URIref; #IMPLIED
%notationAttrs;>
<!-- Annotation is either application information or documentation -->
<!-- By having these here they are available for datatypes as well
as all the structures elements -->
<!ELEMENT %annotation; (%appinfo; | %documentation;)*>
<!ATTLIST %annotation; %annotationAttrs;>
<!-- User must define annotation elements in internal subset for this
to work -->
<!ELEMENT %appinfo; ANY> <!-- too restrictive -->
<!ATTLIST %appinfo;
source %URIref; #IMPLIED
id ID #IMPLIED
%appinfoAttrs;>
<!ELEMENT %documentation; ANY> <!-- too restrictive -->
<!ATTLIST %documentation;
source %URIref; #IMPLIED
id ID #IMPLIED
xml:lang CDATA #IMPLIED
%documentationAttrs;>
<!NOTATION XMLSchemaStructures PUBLIC
'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
<!NOTATION XML PUBLIC
'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8" ?>
<project name="anttasks" default="build">
<!-- ant-contribs -->
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="${path.libs}/ant/ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
<!-- Set the log level -->
<taskdef name="setloglevel"
classname="de.berkom.ehome.tools.ant.setloglevel.SetLogLevel"
classpath="${path.libs}/ant/antSetLogLevel.jar"/>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="imported" default="build">
<!-- TODOs
* genjar integration
* if no manifest is available include a defalt one from etc?
-->
<property name="path.libs" location="${basedir}/lib" />
<!-- Load various tasks -->
<import file="anttasks.xml" />
<!-- Unset the _mainbuild property -->
<var name="_mainbuild" unset="true" />
<!-- Load the properties -->
<import file="properties.xml" />
<!-- Load all the actual tasks -->
<import file="tasks/all.xml" />
<import file="tasks/allforced.xml" />
<import file="tasks/build.xml" />
<import file="tasks/buildjar.xml" />
<import file="tasks/clean.xml" />
<import file="tasks/collect.xml" />
<import file="tasks/compile.xml" />
<import file="tasks/compilenative.xml" />
<import file="tasks/doc.xml" />
<import file="tasks/eclipse.xml" />
<import file="tasks/_addPrivateLibs.xml" />
<import file="tasks/_buildNative.xml" />
<import file="tasks/_checkDependentProjects.xml" />
<import file="tasks/_cleanDependentProjects.xml" />
<import file="tasks/_getBuildNumber.xml" />
<import file="tasks/_handleProjectProperties.xml" />
<import file="tasks/_includeExternalResourcesInJar.xml" />
<!-- <import file="tasks/_importManifest.xml" /> -->
<import file="tasks/_prepare.xml" />
<import file="tasks/_preparebuild.xml" />
<import file="tasks/_setClassPath.xml" />
</project>
namespace local = ""
default namespace xsl = "http://homegatewayinitiative.org/xml/dal/3.0"
namespace xi = "http://www.w3.org/2001/XInclude"
version = "1.0"
include "domain.rnc"
xinclude = element xi:include {
attribute href { xsd:anyURI },
attribute parse { text }
}
Imports = element Imports { xinclude* }?
# Default Properties for the Ant make system
#
#
# Default libraries.
# Update accordingly if another library becomes the system's default library
#
default.lib.cdc.foundation.1.1=cdc/foundation/1.1/classes.zip
default.lib.osgi.core.2.0=osgi/framework/2.0/osgi.jar
default.lib.osgi.cmpn.2.0=osgi/framework/2.0/osgi.jar
default.lib.osgi.core.3.0=osgi/framework/3.0/osgi.jar
default.lib.osgi.cmpn.3.0=osgi/framework/3.0/osgi.jar
default.lib.osgi.core.4.0=osgi/core/4.0/osgi.core.jar
default.lib.osgi.core.4.1=osgi/core/4.1/osgi.core.jar
default.lib.osgi.core.4.2=osgi/core/4.2/osgi.core.jar
default.lib.osgi.core=osgi/core/4.2/osgi.core.jar
default.lib.osgi.cmpn.4.0=osgi/cmpn/4.0/osgi.compendium.jar
default.lib.osgi.cmpn.4.1=osgi/cmpn/4.1/osgi.cmpn.jar
default.lib.osgi.cmpn.4.2=osgi/cmpn/4.2/osgi.cmpn.jar
default.lib.osgi.cmpn=osgi/cmpn/4.2/osgi.cmpn.jar
default.lib.osgi.dmt.1.0=osgi/info/1.0/dmt.jar
default.lib.osgi.dmt.2.0=osgi/info/2.0/org.osgi.impl.service.dmt.jar
default.lib.osgi.dmt=osgi/info/2.0/org.osgi.impl.service.dmt.jar
default.lib.mail.1.4.prosyst=javax/mail/1.4-prosyst/mail.jar
default.lib.mail=javax/mail/1.4-prosyst/mail.jar
default.lib.activation.1.1.prosyst=javax/activation/1.1-prosyst/activation.jar
default.lib.activation=javax/activation/1.1-prosyst/activation.jar
default.lib.j2ee.1.3.1=javax/j2ee/1.3.1/j2ee.jar
default.lib.j2ee=javax/j2ee/1.3.1/j2ee.jar
# - Servlet APIs ---------------------------------------------------------------
#
# With the addition of the SIP-Servlet API, and it's dependency on newer
# version of the Servlet API, I thought names matching the Sun package
# structure would be clearer. Kept the old definition as well.
default.lib.servlet.2.3.1=javax/servlet/2.3.1/servlet.jar
default.lib.servlet=javax/servlet/2.3.1/servlet.jar
default.lib.javax.servlet.2.3.1=javax/servlet/2.3.1/servlet.jar
default.lib.javax.servlet.2.4=javax/servlet/2.4/servlet.jar
default.lib.javax.servlet.2.5=javax/servlet/2.5/servlet.jar
default.lib.javax.servlet.3.0.1=javax/servlet/3.0.1/servlet.jar
default.lib.javax.servlet=javax/servlet/2.3.1/servlet.jar
default.lib.javax.sip.servlet.1.1=javax/servlet/sip/1.1/sip-servlet.jar
default.lib.javax.sip.servlet=javax/servlet/sip/1.1/sip-servlet.jar
# ------------------------------------------------------------------------------
default.lib.log4j=apache/log4j/1.2.4/log4j-1.2.4.jar
default.lib.jgraph=jgraph/5.12.0.4/jgraph.jar
default.lib.thinlet.20031012=thinlet/20031012/thinlet.jar
default.lib.thinlet.20050328=thinlet/20050328/thinlet.jar
default.lib.thinlet.20070222=thinlet/20070222/thinlet.jar
default.lib.thinlet=thinlet/20070222/thinlet.jar
default.lib.id3tag=id3tag/id3t.jar
default.lib.xmlrpc=prosyst/xmlrpc/xmlrpc.jar
# - CDC/Foundation Extensions -------------------------------------------------
default.lib.cdc.foundationx.j9jsse=cdc/foundationx/j9jsse/2.4/j9jsse.jar
# -----------------------------------------------------------------------------
# Note: We should not require dependencies on the ProSyst HTTPS Handler!
default.lib.httpshdlr=prosyst/httpshdlr.jar
default.lib.ksoap2=ksoap2/ksoap2-j2se-full-2.1.0.jar
default.lib.kxml=ksoap2/kxml2-2.3.0.jar
# -----------------------------------------------------------------------------
default.lib.xmlrpc=xmlrpc/xmlrpc-1.1.1.jar
# -----------------------------------------------------------------------------
#
# Default version number
# (I'm wondering whether anybody will set this in his build properties)
#
version=1.0.0
#
# The default Manifest file.
# This might change if we adopt the bnd tool
#
manifest=etc/Manifest.mf
#
# Add a build number to the resulting jar file.
# The file "build.number" in the root directory of each project contains the latest build number.
# Default: The value "none" means that no build number is appended.
#
buildnumber=none
#
# Set the loglevel.
# Possible loglevel: debug,verbose,info (the ant default), warning, error
# Default is warning, which is rather quiet.
#
loglevel=warning
#
# Enable lint (all recommend warnings)
# Possible values: true, false
# Default: false
#
uselint=false
# - domain.rng
# -
# - Version 4.0
# -
# - This work is released by the MAS Working Group of oneM2M, December 2018.
# - The work is created and released under the 3-Clause BSD License.
# - See the license text at [https://opensource.org/licenses/BSD-3-Clause for
# - full details.
start = Domain
Domain =
element Domain {
attribute xml:base { xsd:anyURI }?,
attribute id { xsd:ID },
DocDef,
element Imports { Domain+ }?,
element Modules {
element ModuleClass { ModuleDef }+
}?,
element Devices {
element Device {
attribute id { xsd:Name },
DocDef,
PropertiesDef?,
Modules?,
element SubDevices {
element SubDevice {
attribute id { xsd:Name },
DocDef,
PropertiesDef?,
Modules?
}+
}?
}+
}?
}
PropertiesDef =
element Properties {
element Property {
attribute name { text },
attribute optional { xsd:boolean }?,
attribute value { text }?,
DocDef,
SimpleType
}+
}
DataTypeDef =
element DataType {
attribute name { text }?,
attribute unitOfMeasure { text }?,
DocDef,
(StructType | ArrayType | SimpleType),
ConstraintsDef?
}
StructType = element Struct { DataTypeDef+ }
ArrayType = element Array { DataTypeDef }
SimpleType =
element SimpleType {
attribute type { BasicType }
}
BasicType =
"integer"
| "boolean"
| "string"
| "byte"
| "float"
| "array"
| "enum"
| "date"
| "time"
| "datetime"
| "blob"
| "uri"
ConstraintsDef =
element Constraints {
element Constraint {
attribute name { text },
attribute type { BasicType }?,
attribute value { text }?,
DocDef
}+
}
DocText =
(text
| element em { text }
| element b { text }
| element tt { text })*
# <Doc> element is always optional
DocDef =
element Doc {
DocText
| (element p { DocText }
| element img {
attribute src { text },
element caption { text }
})*
}?
ModuleDef =
attribute name { text },
attribute optional { xsd:boolean }?,
element extends {
attribute domain { xsd:IDREF },
attribute class { text }
}?,
DocDef,
PropertiesDef?,
Actions?,
Data?,
Events?
Modules =
element Modules {
element Module { ModuleDef }+
}
Actions =
element Actions {
element Action {
attribute name { text },
attribute optional { xsd:boolean }?,
DocDef,
DataTypeDef?,
ArgDef?
}+
}
ArgDef =
element Args {
element Arg {
attribute name { text },
DocDef,
DataTypeDef
}+
}
Data =
element Data {
element DataPoint {
attribute name { text },
attribute optional { xsd:boolean }?,
attribute writable { xsd:boolean }?,
attribute readable { xsd:boolean }?,
attribute eventable { xsd:boolean }?,
DocDef,
DataTypeDef
}+
}
Events =
element Events {
element Event {
attribute name { text },
attribute optional { xsd:boolean }?,
DocDef,
Data?
}+
}
<?xml version="1.0" encoding="UTF-8" ?>
<project name="properties" default="build">
<!-- Set the default project name to the name of the directory -->
<propertyregex override="yes"
property="projectname"
input="${basedir}"
regexp=".*[/\\]([^/\\]*)"
select="\1" />
<!-- A couple of constants -->
<property name="path.base" location="${basedir}" />
<property name="path.libs" location="${path.base}/libs" />
<property name="path.etc" location="${path.base}/etc" />
<property name="path.genbase" location="${path.base}/gen" />
<property name="path.gen" location="${path.genbase}/projects/${projectname}" />
<property name="path.gen.classes" location="${path.gen}/classes" />
<property name="path.gen.etc" location="${path.gen}/etc" />
<property name="path.gen.docbase" location="${path.genbase}/docs" />
<property name="path.gen.documentation" location="${path.gen.docbase}/${projectname}" />
<property name="path.gen.collection" location="${path.genbase}/collection" />
<property name="path.gen.domain" location="${path.genbase}/domains" />
<property name="path.src" location="${basedir}/src" />
<property name="path.resources" location="${basedir}/resources" />
<property name="path.native" location="${basedir}/native" />
<property name="path.gen.native" location="${path.gen}/native" />
<property name="path.gen.classpathfile" location="${path.gen.etc}/_classpath" />
<property name="path.gen.includecmdfile" location="${path.gen.etc}/_jarinclude.xml" />
<property name="path.gen.importmanifestcmdfile" location="${path.gen.etc}/_manifestimport.xml" />
<property name="path.etc.localfile" location="${path.base}/etc/local.xml" />
<property name="path.eclipse.classpathfile" location="${basedir}/.classpath" />
<property name="path.eclipse.projectfile" location="${basedir}/.project" />
<property name="path.eclipse.settingsdir" location="${basedir}/.settings" />
<property name="path.eclipse.settingsfile" location="${path.eclipse.settingsdir}/org.eclipse.jdt.core.prefs" />
<!-- The following tasks only need to be executed when this file is not included from the main build file -->
<if><not>
<isset property="_mainbuild" />
</not>
<then>
<!-- Unset the java.target and java.source properties -->
<var name="java.target" unset="true" />
<var name="java.source" unset="true" />
<!-- Load project specific properties from local properties file -->
<loadproperties srcFile="properties" />
<!-- Load project specific properties from local properties file -->
<loadproperties srcFile="etc/default.properties" />
<!-- Set the start loglevel -->
<setloglevel level="${loglevel}" />
</then>
</if>
<!-- Define the path to additional Java jar files for the scriptdef and similar tasks -->
<path id="antscripting">
<fileset dir="${path.libs}/ant/scripting" includes="*.jar" />
</path>
<!-- set the default Java source and target formats to the local versions -->
<if><not>
<isset property="java.source" />
</not>
<then>
<var name="java.source" value="${ant.java.version}" />
</then>
</if>
<if><not>
<isset property="java.target" />
</not>
<then>
<var name="java.target" value="${ant.java.version}" />
</then>
</if>
<!-- load local properties, if the file exists -->
<available property="available.local" file="${path.etc.localfile}"/>
<if><isset property="available.local" />
<then>
<import file="${path.etc.localfile}" />
</then>
</if>
</project>
targetNamespace="http://homegatewayinitiative.org/xml/dal/3.0"
xmlns="http://homegatewayinitiative.org/xml/dal/3.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
<locatingRules xmlns="http://thaiopensource.com/ns/locating-rules/1.0">
<namespace ns="http://homegatewayinitiative.org/xml/dal/2.0" typeId="DAL"/>
<namespace ns="http://www.w3.org/2001/XInclude" typeId="XINC"/>
<typeId id="DAL" uri="dal.rnc"/>
<typeId id="XINC" uri="xinclude.rnc"/>
</locatingRules>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_addPrivateLibs" default="build">
<!-- INTERNAL: _addPrivateLibs
Check, whether there are privare jars that should be added to the classpath.
Those must be located under resouces/libs or libs in the project directory.
Note that jars under resources/libs will be included in the resulting jar.
-->
<target name="_addPrivateLibs">
<!-- look for jar files in the projects resources libs directory -->
<path id="idPrivatelibs">
<fileset dir="resources/libs">
<include name="*.jar" />
</fileset>
</path>
<trycatch>
<try>
<!-- try to access the private jars. If those don't exist, the following code is *not* executed -->
<var name="tmp" value="${toString:idPrivatelibs}" />
<!-- add them to the classpath file -->
<for list="${tmp}" delimiter=":" param="jfile">
<sequential>
<propertyregex override="yes"
property="tmp"
input="@{jfile}"
regexp=".*[/\\]([^/\\]*)"
select="\1" />
<echo file="${path.gen.classpathfile}" append="true">projects/${projectname}/resources/libs/${tmp}${line.separator}</echo>
</sequential>
</for>
</try>
<catch>
<!-- if no lib available then do nothing -->
</catch>
</trycatch>
<path id="idPrivateExternallibs">
<fileset dir="libs">
<include name="*.jar" />
</fileset>
</path>
<trycatch>
<try>
<!-- try to access the private jars. If those don't exist, the following code is *not* executed -->
<var name="tmp" value="${toString:idPrivateExternallibs}" />
<!-- add them to the classpath file -->
<for list="${tmp}" delimiter=":" param="jfile">
<sequential>
<propertyregex override="yes"
property="tmp"
input="@{jfile}"
regexp=".*[/\\]([^/\\]*)"
select="\1" />
<echo file="${path.gen.classpathfile}" append="true">projects/${projectname}/libs/${tmp}${line.separator}</echo>
</sequential>
</for>
</try>
<catch>
<!-- if no lib available then do nothing -->
</catch>
</trycatch>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_buildNative" default="build">
<!-- INTERNAL: _buildNative
Build all native code
-->
<target name="_buildNative">
<!-- is there a directory for native code? -->
<available property="available.native" file="${path.native}" type="dir"/>
<if><isset property="available.native" />
<then>
<!-- check whether ${prog.make} is set -->
<if> <isset property="prog.make" />
<then>
<!-- it is set, so go all the directories unter "native" and execute the Makefile -->
<path id="idNativeDirs">
<dirset dir="${path.native}">
<include name="*" />
</dirset>
</path>
<!-- iterate over all directories and call the makefile -->
<var name="tmp" value="${toString:idNativeDirs}" />
<for list="${tmp}" delimiter=":" param="ndir">
<sequential>
<available property="available.native.makefile" file="@{ndir}/Makefile" />
<if><isset property="available.native.makefile" />
<then>
<echo>@{ndir}/Makefile</echo>
<!-- <exec executable="/usr/bin/make"
failonerror="false"
failifexecutionfails="false"
resultproperty="myStatus"
errorproperty="/tmp/error.out"
outputproperty="/tmp/foo.out"
error="/tmp/error.txt"
output="/tmp/output.txt"/>
-->
</then>
<else>
<echo>No "Makefile" found. Please check the check (note the upper-case M).</echo>
</else>
</if>
<echo>@{ndir}</echo>
</sequential>
</for>
</then>
<else>
<echo>Property "prog.make" not set. Native Builds are ignored.</echo>
</else>
</if>
</then>
</if>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_checkDependentProjects" default="build">
<!-- INTERNAL: _checkDependentProjects
Check whether there are dependencies to other projects and build them if necessary.
-->
<target name="_checkDependentProjects">
<if><and>
<isset property="dependency.projects" />
<length string="${dependency.projects}" trim="true" when="greater" length="0" />
</and>
<then>
<!-- go through all dependent projects -->
<for list="${dependency.projects}" param="pname">
<sequential>
<available property="available.dir.@{pname}" file="../@{pname}" />
<available property="available.gen.@{pname}" file="../../gen/projects/@{pname}" />
<!-- does the project exist at all? -->
<if><isset property="available.dir.@{pname}" />
<then>
<!-- look for jar files in the according project's gen directory -->
<path id="x">
<fileset dir="../../gen/projects/@{pname}">
<include name="*.jar" />
</fileset>
</path>
<trycatch>
<try>
<echo>Checking dependent project "@{pname}"</echo>
<var name="tmp" value="${toString:x}" />
<if><isset property="dependency.projects.forcebuild" />
<then>
<echo>Building dependent project "@{pname}" (forced)</echo>
<if><isset property="global.build" /> <!-- inheriting global.build property, if set -->
<then>
<ant dir="../@{pname}" inheritall="false" antfile="../@{pname}/build.xml" target="all">
<property name="global.build" value="true" />
</ant>
</then>
<else>
<ant dir="../@{pname}" inheritall="false" antfile="../@{pname}/build.xml" target="all" />
</else>
</if>
</then>
</if>
</try>
<catch>
<!-- if no jar file available, build the project -->
<echo>Building dependent project "@{pname}"</echo>
<if><isset property="global.build" /> <!-- inheriting global.build property, if set -->
<then>
<ant dir="../@{pname}" inheritall="false" antfile="../@{pname}/build.xml" >
<property name="global.build" value="true" />
</ant>
</then>
<else>
<ant dir="../@{pname}" inheritall="false" antfile="../@{pname}/build.xml" />
</else>
</if>
</catch>
</trycatch>
<!-- and try again -->
<trycatch>
<try>
<var name="tmp" value="${toString:x}" />
<echo>Dependent project "@{pname}": ok</echo>
<for list="${tmp}" delimiter=":" param="jfile">
<sequential>
<!--echo file="${path.gen.classpathfile}" append="true">@{jfile}${line.separator}</echo-->
<propertyregex override="yes"
property="tmp"
input="@{jfile}"
regexp=".*[/\\]([^/\\]*)"
select="\1" />
<echo file="${path.gen.classpathfile}" append="true">gen/projects/@{pname}/${tmp}${line.separator}</echo>
</sequential>
</for>
</try>
<catch>
<fail>.${line.separator}${line.separator}Can't resolve dependency to project "@{pname}". Aborting.${line.separator}Perhaps that project was not build (check the property 'gobal.build.ignore').</fail>
</catch>
</trycatch>
</then>
</if>
</sequential>
</for>
</then>
</if>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_cleanDependentProjects" default="build">
<!-- INTERNAL: _cleanDependentProjects
Check whether there are dependencies to other projects and clean them.
-->
<target name="_cleanDependentProjects">
<if><and>
<isset property="dependency.projects" />
<length string="${dependency.projects}" trim="true" when="greater" length="0" />
</and>
<then>
<!-- go through all dependent projects -->
<for list="${dependency.projects}" param="pname">
<sequential>
<available property="available.dir.@{pname}" file="../@{pname}" />
<!-- does the project exist at all? -->
<if><isset property="available.dir.@{pname}" />
<then>
<echo>Cleaning dependent project "@{pname}"</echo>
<var name="tmp" value="${toString:x}" />
<if><isset property="global.build" /> <!-- inheriting global.build property, if set -->
<then>
<ant dir="../@{pname}" inheritall="false" antfile="../@{pname}/build.xml" target="clean">
<property name="global.build" value="true" />
</ant>
</then>
<else>
<ant dir="../@{pname}" inheritall="false" antfile="../@{pname}/build.xml" target="clean" />
</else>
</if>
</then>
</if>
</sequential>
</for>
</then>
</if>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_getBuildNumber" default="build">
<!-- INTERNAL: _getBuildNumber
Add the build number to the jar file name, if necessary.
-->
<target name="_getBuildNumber">
<if><and>
<isset property="buildnumber" />
<not>
<equals arg1="${buildnumber}" arg2="none" />
</not>
</and>
<then>
<buildnumber />
<propertyregex property="tmp"
override="true"
input="${file.jar}"
regexp="(.*).jar"
select="\1" />
<var name="file.jar" value="${tmp}-${build.number}.jar" />
</then>
</if>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_handleProjectProperties" default="build">
<!-- INTERNAL: _handleProjectProperties
Calculate and the project properties
-->
<target name="_handleProjectProperties">
<!-- go through all properties that start with "dependency.lib." -->
<propertyselector property="libs.list"
override="yes"
delimiter=","
match="^dependency\.lib\.(.*)"
select="\1"
casesensitive="false" />
<if><isset property="libs.list" />
<then>
<for list="${libs.list}" param="lib.id">
<sequential>
<propertycopy override="yes" name="lib.name" from="dependency.lib.@{lib.id}" />
<!-- echo message="@{lib.id}" / -->
<!-- check whether the value is empty. In this case the globally configured value is assigned to the property so that it is not blank anymore -->
<if><length string="${lib.name}" trim="true" when="equal" length="0" />
<then>
<var name="dependency.lib.@{lib.id}" value="${default.lib.@{lib.id}}" />
</then>
</if>
<echo file="${path.gen.classpathfile}" append="true">libs/${dependency.lib.@{lib.id}}${line.separator}</echo>
</sequential>
</for>
</then>
<!--
<else>
<echo file="${path.gen.classpathfile}" append="true"></echo>
</else>
-->
</if>
<!-- build the name for the jar file -->
<var name="tmp" value="${projectname}" />
<if><isset property="jarbase" />
<then>
<var name="tmp" value="${jarbase}" />
</then>
</if>
<!-- append verson number if it is not empty -->
<if><isset property="version" />
<then>
<if><and>
<length string="${version}" trim="true" when="greater" length="0" />
<not>
<equals arg1="${version}" arg2="none" trim="true" />
</not>
</and>
<then>
<var name="tmp" value="${tmp}-${version}" />
</then>
</if>
</then>
</if>
<var name="file.jar" value="${path.gen}/${tmp}.jar" />
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_importManifest" default="build">
<!-- BAUSTELLE -->
<!-- INTERNAL: _importManifest
Import the Manifest from another jar (in lib or from another project).
-->
<target name="_importManifest">
<!-- Build an external build file to add the content to the jar file -->
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;project name="runimportmanifest" default="_runimportmanifest">${line.separator}</echo>
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;target name="_runimportmanifest">${line.separator}</echo>
<propertyselector property="manifestlib"
override="yes"
delimiter=","
match="^importmanifest\.lib\.(.*)"
select="\1"
casesensitive="false" />
<if><isset property="manifestlib" />
<then>
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;zip destfile="${file.jar}" update="true">${line.separator}</echo>
<propertycopy name="fs.src" from="default.lib.${manifestlib}" override="yes" />
<var name="fs.src" value="${path.libs}/${fs.src}" />
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;zipfileset src="${fs.src}" includes="META-INF/MANIFEST.MF" />${line.separator}</echo>
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;/zip>${line.separator}</echo>
</then>
</if>
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;/target>${line.separator}</echo>
<echo file="${path.gen.importmanifestcmdfile}" append="true">&lt;/project>${line.separator}</echo>
<!-- run the generates build file -->
<ant antfile="${path.gen.importmanifestcmdfile}" target="_runimportmanifest" inheritAll="true" />
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_includeExternalResourcesInJar" default="build">
<!-- INTERNAL: _includeExternalResourcesInJar
Check, whether there should resources from other jar files be included.
Generate an external build file and execute it in order to add the files.
-->
<target name="_includeExternalResourcesInJar">
<!-- go through all properties that start with "include." -->
<propertyselector property="include.list"
override="yes"
delimiter=","
match="^include\.(.*)"
select="\1"
casesensitive="false" />
<if><isset property="include.list" />
<then>
<!-- Build an external build file to add the content to the jar file -->
<echo file="${path.gen.includecmdfile}" append="true">&lt;project name="runzipinclude" default="_runzipinclude">${line.separator}</echo>
<echo file="${path.gen.includecmdfile}" append="true">&lt;target name="_runzipinclude">${line.separator}</echo>
<echo file="${path.gen.includecmdfile}" append="true">&lt;jar destfile="${file.jar}" update="true">${line.separator}</echo>
<for list="${include.list}" param="include.id">
<sequential>
<propertycopy override="yes" name="include.value" from="include.@{include.id}" />
<var name="include.iszipfileset" value="true" />
<!-- check whether the include is from a lib or generated project file -->
<if><matches string="include.@{include.id}" pattern="^include\.lib.\.*" />
<then> <!-- lib -->
<propertyregex property="include.libname"
override="yes"
input="include.@{include.id}"
regexp="^include\.(.*)"
select="\1"
casesensitive="false" />
<propertycopy name="fs.src" from="default.${include.libname}" override="yes" />
<var name="fs.src" value="${path.libs}/${fs.src}" />
</then>
<else>
<!-- check whether the include is from a gen/resources directory -->
<if><matches string="include.@{include.id}" pattern="^include\.gen\.resources" />
<then>
<var name="fs.src" value="${path.gen}" />
<var name="include.iszipfileset" value="false" />
</then>
<else>
<!-- include from a project -->
<propertyregex property="include.libname"
override="yes"
input="include.@{include.id}"
regexp="^include\.project\.(.*)"
select="\1"
casesensitive="false" />
<path id="x">
<fileset dir="../../gen/projects/${include.libname}">
<include name="*.jar" />
</fileset>
</path>
<var name="fs.src" value="${toString:x}" />
</else>
</if>
</else>
</if>
<if><length string="${include.value}" trim="true" when="equal" length="0" />
<then>
<var name="fs.includes" value="**/*" />
</then>
<else>
<var name="fs.includes" value="${include.value}" />
</else>
</if>
<if><equals arg1="${include.iszipfileset}" arg2="true"/>
<then>
<echo file="${path.gen.includecmdfile}" append="true">&lt;zipfileset src="${fs.src}" includes="${fs.includes}" />${line.separator}</echo>
</then>
<else>
<echo file="${path.gen.includecmdfile}" append="true">&lt;fileset dir="${fs.src}" includes="${fs.includes}" />${line.separator}</echo>
</else>
</if>
</sequential>
</for>
<echo file="${path.gen.includecmdfile}" append="true">&lt;/jar>${line.separator}</echo>
<echo file="${path.gen.includecmdfile}" append="true">&lt;/target>${line.separator}</echo>
<echo file="${path.gen.includecmdfile}" append="true">&lt;/project>${line.separator}</echo>
<!-- run the generates build file -->
<ant antfile="${path.gen.includecmdfile}" target="_runzipinclude" inheritAll="true" />
</then>
</if>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_prepare" default="build">
<!-- TASK: _prepare
Set properties, generate the classpath etc
-->
<target name="_prepare">
<!-- initialize the build.time property -->
<tstamp />
<tstamp>
<format property="build.time" pattern="dd.MM.yyyy HH:mm:ss" />
</tstamp>
<!-- Retrieve the subversion property -->
<trycatch>
<try>
<svn>
<status path="${basedir}" revisionProperty="svn.revision" />
</svn>
</try>
<catch>
<property name="svn.revision" value="svn.revision.undefined" />
<echo>Cannot determine SVN revision. SVN not found?</echo>
</catch>
</trycatch>
<mkdir dir="${path.genbase}" />
<mkdir dir="${path.gen}" />
<mkdir dir="${path.gen.classes}" />
<mkdir dir="${path.gen.documentation}" />
<mkdir dir="${path.gen.etc}" />
<mkdir dir="${path.gen.docbase}" />
<mkdir dir="${path.gen.documentation}" />
<mkdir dir="${path.gen.collection}" />
<mkdir dir="${path.gen.domain}" />
<!-- remove old help files -->
<delete file="${path.gen.classpathfile}"/>
<delete file="${path.gen.includecmdfile}"/>
<delete file="${path.gen.importmanifestcmdfile}"/>
<runtarget target="_handleProjectProperties" />
<!-- make the directory for the domain -->
<if>
<isset property="omain" />
<then>
<mkdir dir="${path.gen.domain}/${omain}" />
</then>
</if>
</target>
</project>
<?xml version="1.0" encoding="UTF-8" ?>
<project name="_preparebuild" default="build">
<!-- INTERNAL: _preparebuild
Does preparations that are only necessary in case of a build
-->
<target name="_preparebuild">
<runtarget target="_checkDependentProjects" />
<runtarget target="_addPrivateLibs" />
</target>
</project>