Neue vereinfachte Entwicklungsumgebung Easy CCM Development Configuration (ECDC)
Neue Standard konforme Version von CCM / APLAWS benötigt sowohl eine angepasste Entwicklungsumgebung als auch neue Benutzer Tools für Installation und Wartung, die die Änderungen berücksichtigt. In einem neuen Verzeichnis tools-ng werden diese Tools entwickelt. ECDC ist ein Beitrag von terry_permeance. Zur Zeit WORK IN PROGRESS, deploy, clean usw. funktioniert, verschiedenes anderes noch nicht, so etwa Installation der Testumgebung Tomcat. Kurz-Anleitung in tools-ng/ecdc/README. git-svn-id: https://svn.libreccm.org/ccm/trunk@87 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
5a2c44dfac
commit
adf49ebaa2
|
|
@ -0,0 +1,23 @@
|
||||||
|
tools-ng
|
||||||
|
|
||||||
|
Next Generation Tools
|
||||||
|
|
||||||
|
This dir is home of tools for development, installation and maintenance of
|
||||||
|
new CCM / APLAWS, standards compliant deployment and execution context.
|
||||||
|
|
||||||
|
CURRENTLY EVERYTHING HERE IS WORK IN PROGRESS
|
||||||
|
|
||||||
|
ecdc/
|
||||||
|
Easy CCM Development Configuration (ECDC)
|
||||||
|
A simplified development environment with minimal installation and
|
||||||
|
preparation prerequisites.
|
||||||
|
|
||||||
|
common/
|
||||||
|
Library of files and schemes which may be used by several tools
|
||||||
|
|
||||||
|
usertools/
|
||||||
|
User's installation and maintenance tools
|
||||||
|
Comming soon.
|
||||||
|
|
||||||
|
README
|
||||||
|
This file
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,125 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<schema
|
||||||
|
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||||
|
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
|
elementFormDefault="qualified"
|
||||||
|
attributeFormDefault="unqualified"
|
||||||
|
targetNamespace="http://ccm.redhat.com/ccm-project">
|
||||||
|
|
||||||
|
<element name="application">
|
||||||
|
<complexType>
|
||||||
|
<all>
|
||||||
|
<element name="dependencies" type="ccm:dependencies" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The list of dependencies on other applications</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
<element name="description" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The application description</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
<element name="directories" type="ccm:directories" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The list of core directories that are part of this application</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
<element name="contacts" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">Contact information for the application</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
</all>
|
||||||
|
|
||||||
|
<attribute name="name" type="string">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The name of the application packages to generate, eg RPMs, ZIPs</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="prettyName" type="string">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The human readable package name</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="version" type="string">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The version number for the application packages</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="release" type="integer">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The release number for the application packages</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="webapp" type="string">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The webapp to deploy code to</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="buildHooks" type="string" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The name of an Ant build file with hooks for the application</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<complexType name="dependencies">
|
||||||
|
<choice minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<element name="requires" type="ccm:DependencyType"/>
|
||||||
|
<element name="buildRequires" type="ccm:DependencyType"/>
|
||||||
|
<element name="runRequires" type="ccm:DependencyType"/>
|
||||||
|
</choice>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="DependencyType">
|
||||||
|
<attribute name="name" type="string"/>
|
||||||
|
<attribute name="version" type="string"/>
|
||||||
|
<attribute name="relation" type="ccm:relation"/>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<simpleType name="relation">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">A relational operator</documentation>
|
||||||
|
</annotation>
|
||||||
|
<restriction base="string">
|
||||||
|
<enumeration value="lt"/>
|
||||||
|
<enumeration value="le"/>
|
||||||
|
<enumeration value="eq"/>
|
||||||
|
<enumeration value="ge"/>
|
||||||
|
<enumeration value="gt"/>
|
||||||
|
</restriction>
|
||||||
|
</simpleType>
|
||||||
|
|
||||||
|
<complexType name="directories">
|
||||||
|
<sequence>
|
||||||
|
<element name="directory" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">List core directories that are part of this application. If not present, all directories will be assumed.</documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<attribute name="name" type="ccm:directoryName"/>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<simpleType name="directoryName">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The name of a core directory</documentation>
|
||||||
|
</annotation>
|
||||||
|
|
||||||
|
<restriction base="string">
|
||||||
|
<enumeration value="pdl"/>
|
||||||
|
<enumeration value="sql"/>
|
||||||
|
<enumeration value="src"/>
|
||||||
|
<enumeration value="test"/>
|
||||||
|
</restriction>
|
||||||
|
</simpleType>
|
||||||
|
|
||||||
|
</schema>
|
||||||
|
|
@ -0,0 +1,228 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<schema
|
||||||
|
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||||
|
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
|
elementFormDefault="qualified"
|
||||||
|
attributeFormDefault="unqualified"
|
||||||
|
targetNamespace="http://ccm.redhat.com/ccm-project">
|
||||||
|
|
||||||
|
<element name="project">
|
||||||
|
<complexType>
|
||||||
|
<all>
|
||||||
|
<element name="databases" type="ccm:databases" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The list of databases to generate SQL for. If omitted
|
||||||
|
defaults to all currently supported databases
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="options" type="ccm:options" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The list of general project options.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<element name="build" type="ccm:build" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The list of local applications to build and deploy</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
<element name="prebuilt" type="ccm:prebuilt" minOccurs="0">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The list of pre-built applications to deploy</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
</all>
|
||||||
|
|
||||||
|
<attribute name="name" type="string">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The name of the bundle packages to generate, eg RPMs, ZIPs</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="prettyName" type="string">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The human readable package name</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="ccmVersion" type="ccm:ccmVersion" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The CCM version for build tools. Corresponds to version of Core being used.
|
||||||
|
If omitted assumes 5.x build compatability.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="type" type="string" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The type of project</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="version" type="ccm:version">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The version number for the bundle packages</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="release" type="integer">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The release number for the bundle packages</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
<attribute name="webxml" type="string" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The file to be copied to web.xml in the ROOT webapp upon deployment.</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<unique name="unique_prebuilt">
|
||||||
|
<selector xpath="ccm:prebuilt/ccm:application"/>
|
||||||
|
<field xpath="@name"/>
|
||||||
|
</unique>
|
||||||
|
|
||||||
|
<unique name="unique_build">
|
||||||
|
<selector xpath="ccm:build/ccm:application"/>
|
||||||
|
<field xpath="@name"/>
|
||||||
|
</unique>
|
||||||
|
|
||||||
|
</element>
|
||||||
|
|
||||||
|
<complexType name="databases">
|
||||||
|
<sequence>
|
||||||
|
<element name="database" minOccurs="1" maxOccurs="unbounded">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en"></documentation>
|
||||||
|
</annotation>
|
||||||
|
<complexType>
|
||||||
|
<attribute name="name" type="ccm:database"/>
|
||||||
|
</complexType>
|
||||||
|
</element>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="options">
|
||||||
|
<sequence>
|
||||||
|
<element name="option" type="ccm:option" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en"></documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="build">
|
||||||
|
<sequence>
|
||||||
|
<element name="application" type="ccm:buildapp" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">An local application to build</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="prebuilt">
|
||||||
|
<sequence>
|
||||||
|
<element name="application" type="ccm:prebuiltapp" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">A pre-built application to deploy</documentation>
|
||||||
|
</annotation>
|
||||||
|
</element>
|
||||||
|
</sequence>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="buildapp">
|
||||||
|
<attribute name="name">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">
|
||||||
|
The name of the application. Refers to the name of the directory
|
||||||
|
containing the application.
|
||||||
|
</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="prettyName" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The human friendly name of the application</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="buildOrder" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">Order in which to deploy the applications</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="prebuiltapp">
|
||||||
|
<attribute name="name">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The name of the application</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="version" type="ccm:version">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The version number of the application</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="buildOrder" use="optional">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">Order in which to deploy the applications</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<complexType name="option">
|
||||||
|
<attribute name="name">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The name of the options</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="value">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">The value of the options</documentation>
|
||||||
|
</annotation>
|
||||||
|
</attribute>
|
||||||
|
</complexType>
|
||||||
|
|
||||||
|
<simpleType name="database">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">A enumeration of supported databases</documentation>
|
||||||
|
</annotation>
|
||||||
|
|
||||||
|
<restriction base="string">
|
||||||
|
<enumeration value="postgres"/>
|
||||||
|
<enumeration value="oracle-se"/>
|
||||||
|
</restriction>
|
||||||
|
</simpleType>
|
||||||
|
|
||||||
|
|
||||||
|
<simpleType name="ccmVersion">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">A enumeration of build tool compatability versions</documentation>
|
||||||
|
</annotation>
|
||||||
|
|
||||||
|
<restriction base="string">
|
||||||
|
<enumeration value="5x"/>
|
||||||
|
<enumeration value="6.0"/>
|
||||||
|
<enumeration value="6.1"/>
|
||||||
|
</restriction>
|
||||||
|
</simpleType>
|
||||||
|
|
||||||
|
<simpleType name="version">
|
||||||
|
<annotation>
|
||||||
|
<documentation xml:lang="en">A version number made up of three dot separated integers</documentation>
|
||||||
|
</annotation>
|
||||||
|
|
||||||
|
<restriction base="string">
|
||||||
|
<pattern value="\d+\.\d+\.\d+"/>
|
||||||
|
</restriction>
|
||||||
|
</simpleType>
|
||||||
|
</schema>
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,57 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
<xsl:stylesheet version="1.0"
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:xalan="http://xml.apache.org/xslt"
|
||||||
|
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
|
exclude-result-prefixes="ccm">
|
||||||
|
|
||||||
|
<xsl:output method="text"
|
||||||
|
encoding="UTF-8"
|
||||||
|
indent="yes"
|
||||||
|
xalan:indent-amount="4"/>
|
||||||
|
|
||||||
|
<xsl:param name="shared.lib.dist.dir" select="/usr/share/java"/>
|
||||||
|
<xsl:param name="base.dir" select="/usr/share/java"/>
|
||||||
|
|
||||||
|
<xsl:template match="ccm:project">
|
||||||
|
<xsl:value-of select="'## DO NOT EDIT THIS FILE '"/>
|
||||||
|
<xsl:for-each select="/ccm:project/ccm:build/ccm:application">
|
||||||
|
<xsl:sort select="@buildOrder" data-type="number"/>
|
||||||
|
<xsl:variable name="name"><xsl:value-of select="@name"/></xsl:variable>
|
||||||
|
<xsl:apply-templates select="document(concat(@name,'/application.xml'),/ccm:project)/ccm:application">
|
||||||
|
<xsl:with-param name="projectappname" select="$name"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:for-each>
|
||||||
|
<xsl:for-each select="/ccm:project/ccm:build/ccm:application">
|
||||||
|
<xsl:sort select="@buildOrder" data-type="number"/>
|
||||||
|
<xsl:variable name="name"><xsl:value-of select="@name"/></xsl:variable>
|
||||||
|
<xsl:apply-templates select="document(concat(@name,'/application.xml'),/ccm:project)/ccm:application/ccm:dependencies/ccm:runRequires">
|
||||||
|
<xsl:with-param name="projectappname" select="$name"/>
|
||||||
|
</xsl:apply-templates>
|
||||||
|
</xsl:for-each>
|
||||||
|
<xsl:for-each select="/ccm:project/ccm:prebuilt/ccm:application">
|
||||||
|
<xsl:sort select="@buildOrder" data-type="number"/>
|
||||||
|
<xsl:variable name="name" select="@name"/>
|
||||||
|
<xsl:variable name="version" select="@version"/>
|
||||||
|
<xsl:value-of select="concat($shared.lib.dist.dir,'/',$name,'-',$version,'.jar ')"/>
|
||||||
|
<xsl:value-of select="concat($shared.lib.dist.dir,'/',$name,'-',$version,' ')"/>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="ccm:application">
|
||||||
|
<xsl:param name="projectappname" select="@name"/>
|
||||||
|
<xsl:variable name="name"><xsl:value-of select="@name"/></xsl:variable>
|
||||||
|
<xsl:variable name="version"><xsl:value-of select="@version"/></xsl:variable>
|
||||||
|
<xsl:value-of select="concat($base.dir,'/',$projectappname,'/build/classes ')"/>
|
||||||
|
<xsl:value-of select="concat($base.dir,'/',$projectappname,'/build/sql ')"/>
|
||||||
|
<xsl:value-of select="concat($base.dir,'/',$projectappname,'/lib ')"/>
|
||||||
|
<xsl:value-of select="concat($base.dir,'/',$projectappname,'/pdl ')"/>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="ccm:runRequires">
|
||||||
|
<xsl:param name="projectappname" select="@name"/>
|
||||||
|
<xsl:variable name="name"><xsl:value-of select="@name"/></xsl:variable>
|
||||||
|
<xsl:value-of select="concat($shared.lib.dist.dir,'/',$name,'.jar ')"/>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
|
||||||
|
<xsl:stylesheet version="1.0"
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
xmlns:common="http://exslt.org/common"
|
||||||
|
xmlns:xalan="http://xml.apache.org/xslt"
|
||||||
|
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
|
exclude-result-prefixes="ccm common">
|
||||||
|
|
||||||
|
<xsl:output method="xml"
|
||||||
|
encoding="UTF-8"
|
||||||
|
indent="yes"
|
||||||
|
xalan:indent-amount="4"/>
|
||||||
|
|
||||||
|
<xsl:template match="ccm:project">
|
||||||
|
<xsl:element name="ccm:project">
|
||||||
|
<xsl:copy-of select="@*"/>
|
||||||
|
<xsl:copy-of select="*"/>
|
||||||
|
<xsl:for-each select="/ccm:project/ccm:build/ccm:application">
|
||||||
|
<xsl:copy-of select="document(concat(@name,'/application.xml'),/ccm:project)"/>
|
||||||
|
</xsl:for-each>
|
||||||
|
</xsl:element>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
<xsl:template match="/testsuite">
|
||||||
|
<cycle>
|
||||||
|
<key><xsl:value-of select="@name"/></key>
|
||||||
|
|
||||||
|
<xsl:for-each select="properties/property">
|
||||||
|
<xsl:sort select="@name"/>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<name><xsl:value-of select="@name"/></name>
|
||||||
|
<value><xsl:value-of select="@value"/></value>
|
||||||
|
</property>
|
||||||
|
</xsl:for-each>
|
||||||
|
|
||||||
|
<notice><xsl:value-of select="system-out"/></notice>
|
||||||
|
<warning><xsl:value-of select="system-err"/></warning>
|
||||||
|
|
||||||
|
<xsl:for-each select="testcase">
|
||||||
|
<cycle>
|
||||||
|
<key><xsl:value-of select="@name"/></key>
|
||||||
|
|
||||||
|
<xsl:for-each select="error|failure">
|
||||||
|
<failure><xsl:value-of select="."/></failure>
|
||||||
|
</xsl:for-each>
|
||||||
|
</cycle>
|
||||||
|
</xsl:for-each>
|
||||||
|
</cycle>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -0,0 +1,91 @@
|
||||||
|
==================================
|
||||||
|
E C D C
|
||||||
|
Easy CCM Development Configuration
|
||||||
|
==================================
|
||||||
|
|
||||||
|
Development environment for CCM / APLAWS with minimal prerequisites and minimal
|
||||||
|
installation requirements, i.e. a simplification of the "ccm" environment.
|
||||||
|
|
||||||
|
Created for the 'new' CCM / APLAWS with standard compliant deployment and
|
||||||
|
execution context.
|
||||||
|
|
||||||
|
Based on great work by Terry. Many thanks!
|
||||||
|
|
||||||
|
|
||||||
|
=========================================
|
||||||
|
CURRENT STATUS: WORK IN PROGRESS !!
|
||||||
|
Use it with care!
|
||||||
|
Some functions do not work as they should
|
||||||
|
=========================================
|
||||||
|
|
||||||
|
|
||||||
|
1. LICENSING
|
||||||
|
|
||||||
|
See http://aplaws.org
|
||||||
|
|
||||||
|
2. PREREQUISITES
|
||||||
|
|
||||||
|
Java 6.x
|
||||||
|
Ant 1.7.x
|
||||||
|
Oracle 10g RDBMS or PostgresQL up to version 8.2
|
||||||
|
|
||||||
|
3. HOW TO USE
|
||||||
|
|
||||||
|
(a) Change to the development base directory (usually "trunk") and
|
||||||
|
check out the source tree:
|
||||||
|
svn co http://svn.fedorahosted.org/svn/aplaws/trunk/
|
||||||
|
|
||||||
|
(b) Copy files *.xml and *.properties of THIS directory (i.e. tools-ng/ecdc)
|
||||||
|
into your development base directory ("trunk" above)
|
||||||
|
|
||||||
|
(c) If you don't already have a project.xml file in place, copy the file
|
||||||
|
project.xml.complete, too, and rename it to project.xml
|
||||||
|
Comment out those modules to don't need. Keep the included modules in sync
|
||||||
|
with the bundles application file! (see later)
|
||||||
|
|
||||||
|
(d) Edit the file local.ccm.properties and replace the specified bundle name
|
||||||
|
by your working bundle
|
||||||
|
|
||||||
|
(e) ant configure will create the compile and deploy tasks
|
||||||
|
|
||||||
|
(f) ant deploy will compile and deploy into your test environment (runtime)
|
||||||
|
|
||||||
|
(g) ant load-bundle will load the database. May take several minutes!
|
||||||
|
|
||||||
|
(h) ant start
|
||||||
|
|
||||||
|
(i) Open your browser:
|
||||||
|
http://localhost:8080/
|
||||||
|
http://localhost:8080/ccm/content-center/
|
||||||
|
|
||||||
|
|
||||||
|
4. NOTES
|
||||||
|
|
||||||
|
Configuration:
|
||||||
|
ccm-ldn-aplaws/bundles/* ("complete" bundle is default)
|
||||||
|
local.build.properties
|
||||||
|
local.runtime.properties
|
||||||
|
local.ccm.properties
|
||||||
|
|
||||||
|
Not implemented:
|
||||||
|
ccm set|get|load|run|stop
|
||||||
|
Other?
|
||||||
|
|
||||||
|
Limitations:
|
||||||
|
NOT TESTED MUCH!
|
||||||
|
localhost:8080
|
||||||
|
|
||||||
|
Other changes:
|
||||||
|
Eclipse .classpath is generated
|
||||||
|
ant install-tomcat replaces host-init (sort-of)
|
||||||
|
|
||||||
|
Eclipse:
|
||||||
|
Import 'aplaws' folder into a workspace
|
||||||
|
Use File > Import to import aplaws.launch
|
||||||
|
(if aplaws doesn't appear in Debug configurations)
|
||||||
|
Debug > Debug configurations > aplaws > Debug
|
||||||
|
|
||||||
|
5. CONTACTS
|
||||||
|
|
||||||
|
Send any queries to the "Developing on APLAWS+" forum at
|
||||||
|
http://sourceforge.net/forum/forum.php?forum_id=368401
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,44 @@
|
||||||
|
##
|
||||||
|
## DO NOT EDIT THIS FILE.
|
||||||
|
##
|
||||||
|
## To update the properties of this file, create a separate properties file
|
||||||
|
## named "local.build.properties" in the project base dir with the properties
|
||||||
|
## to overwrite.
|
||||||
|
##
|
||||||
|
|
||||||
|
|
||||||
|
## TESTING #################################################
|
||||||
|
|
||||||
|
# This must point to an initialization file, such as enterprise.init
|
||||||
|
test.initscript=${app.server.parent.dir}/conf/log4j.properties
|
||||||
|
|
||||||
|
# This should be set to the base URL of your Web server,
|
||||||
|
# so HTTP unit tests can find it.
|
||||||
|
test.server.url=http://localhost:8080
|
||||||
|
|
||||||
|
# This should be set to the URL of the Cactus ServletRedirector
|
||||||
|
# used for Cactus JUnit tests
|
||||||
|
test.server.cactusURL=http://localhost:8080/ServletRedirector
|
||||||
|
|
||||||
|
# JUnit properties
|
||||||
|
junit.test.haltonfailure=off
|
||||||
|
junit.test.haltonerror=off
|
||||||
|
junit.fork=true
|
||||||
|
|
||||||
|
## BUILDING ################################################
|
||||||
|
|
||||||
|
# Set to 'modern' or 'jikes'
|
||||||
|
build.compiler=modern
|
||||||
|
|
||||||
|
# These properties apply to Javac and Jikes
|
||||||
|
compile.debug=on
|
||||||
|
compile.optimize=on
|
||||||
|
compile.deprecation=off
|
||||||
|
compile.verbose=off
|
||||||
|
compile.nowarn=on
|
||||||
|
|
||||||
|
# These properties are specific to Jikes
|
||||||
|
build.compiler.emacs=off
|
||||||
|
build.compiler.pedantic=off
|
||||||
|
build.compiler.fulldepend=off
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
##
|
||||||
|
## DO NOT EDIT THIS FILE.
|
||||||
|
##
|
||||||
|
## To update the properties of this file, create a separate properties file
|
||||||
|
## named "local.ccm.properties" in the project base dir with the properties
|
||||||
|
## to overwrite.
|
||||||
|
##
|
||||||
|
# Usually you will use a specific adapted bundle! Use local.ccm.properties!
|
||||||
|
bundle.folder=${project.dir}/ccm-ldn-aplaws/bundles/complete
|
||||||
|
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
##
|
||||||
|
## DO NOT EDIT THIS FILE.
|
||||||
|
##
|
||||||
|
## To update the properties of this file, create a separate properties file
|
||||||
|
## named "local.runtime.properties" in your project's base dir with the
|
||||||
|
## properties to overwrite.
|
||||||
|
##
|
||||||
|
|
||||||
|
##
|
||||||
|
## Server Type
|
||||||
|
##
|
||||||
|
|
||||||
|
app.server.type=tomcat
|
||||||
|
#app.server.version=5.5.27
|
||||||
|
app.server.version=6.0.18
|
||||||
|
app.server.vendor=apache
|
||||||
|
|
||||||
|
##
|
||||||
|
## Server Directory
|
||||||
|
##
|
||||||
|
|
||||||
|
app.server.bundles.name=${app.server.vendor}-${app.server.type}-${app.server.version}
|
||||||
|
app.server.bundles.dir=${app.server.parent.dir}/bundles
|
||||||
|
app.server.bundles.zip=${app.server.bundles.dir}/${app.server.bundles.name}.zip
|
||||||
|
|
||||||
|
app.server.parent.dir=${project.dir}/runtime
|
||||||
|
deploy.dir=${app.server.parent.dir}/${app.server.bundles.name}
|
||||||
|
webapp.dist.dir=${deploy.dir}/webapps
|
||||||
|
## deprecated, will not be used
|
||||||
|
webapp.conf.dir=${deploy.dir}/conf
|
||||||
|
## nolonger needed, handled by Mastertool
|
||||||
|
## webapp.registry.dir=${webapp.conf.dir}/registry
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||||
|
<listEntry value="/aplaws"/>
|
||||||
|
</listAttribute>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||||
|
<listEntry value="4"/>
|
||||||
|
</listAttribute>
|
||||||
|
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
|
||||||
|
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;aplaws&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;default/&gt;&#13;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> </sourceContainers> </sourceLookupDirector> "/>
|
||||||
|
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER" javaProject="aplaws" path="1" type="4"/> "/>
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/aplaws/runtime/apache-tomcat-5.5.27/bin/bootstrap.jar" path="3" type="2"/> "/>
|
||||||
|
</listAttribute>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.catalina.startup.Bootstrap"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="start"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="aplaws"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Djava.protocol.handler.pkgs=com.arsdigita.util.protocol -Dccm.home=${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27 -Dcatalina.config=file:///${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27/conf/catalina.properties -Djava.endorsed.dirs=${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27/common/endorsed -Dcatalina.base=${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27 -Dcatalina.home=${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27 -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m -server -Dccm.conf=${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27/conf/registry -Dcom.arsdigita.util.Assert.enabled=true -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl -Djava.ext.dirs=${env_var:JAVA_HOME}/jre/lib/ext;${env_var:JAVA_HOME}/lib/ext;${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27/webapps/WEB-INF/system -Dlog4j.configuration=file:///${workspace_loc:aplaws}/runtime/apache-tomcat-5.5.27/conf/log4j.xml -Dcom.sun.management.jmxremote.port=7105 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"/>
|
||||||
|
</launchConfiguration>
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||||
|
<stringAttribute key="bad_container_name" value="\aplaw"/>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||||
|
<listEntry value="/aplaws"/>
|
||||||
|
</listAttribute>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||||
|
<listEntry value="4"/>
|
||||||
|
</listAttribute>
|
||||||
|
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/>
|
||||||
|
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;javaProject name=&quot;aplaws&quot;/&gt;&#13;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;default/&gt;&#13;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> </sourceContainers> </sourceLookupDirector> "/>
|
||||||
|
<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER" javaProject="aplaws" path="1" type="4"/> "/>
|
||||||
|
<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/aplaws/runtime/apache-tomcat-6.0.18/bin/bootstrap.jar" path="3" type="2"/> "/>
|
||||||
|
</listAttribute>
|
||||||
|
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.apache.catalina.startup.Bootstrap"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="start"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="aplaws"/>
|
||||||
|
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Djava.protocol.handler.pkgs=com.arsdigita.util.protocol -Dccm.home=${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18 -Dcatalina.config=file:///${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18/conf/catalina.properties -Djava.endorsed.dirs=${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18/common/endorsed -Dcatalina.base=${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18 -Dcatalina.home=${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18 -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m -server -Dccm.conf=${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18/conf/registry -Dcom.arsdigita.util.Assert.enabled=true -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl -Djava.ext.dirs=${env_var:JAVA_HOME}/jre/lib/ext;${env_var:JAVA_HOME}/lib/ext;${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18/webapps/WEB-INF/system -Dlog4j.configuration=file:///${workspace_loc:aplaws}/runtime/apache-tomcat-6.0.18/conf/log4j.xml -Dcom.sun.management.jmxremote.port=7105 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false"/>
|
||||||
|
</launchConfiguration>
|
||||||
|
|
@ -0,0 +1,170 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--Generated by tools/devel/xsl/eclipse-templates.xsl-->
|
||||||
|
<classpath>
|
||||||
|
<classpathentry kind="lib" path="tools/rpms/junit/SOURCES/junit-3.8.1.jar"/>
|
||||||
|
<classpathentry kind="lib" path="tools/rpms/junitperf/SOURCES/junitperf-1.8.jar"/>
|
||||||
|
<classpathentry kind="lib" path="tools/rpms/httpunit/SOURCES/httpunit-1.5.4.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-auth-http/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-auth-http/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-auth-http/lib/bcprov-jdk13-115.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-cms/lib/jai_codec.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-cms/lib/jai_core.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-cms/lib/mlibwrapper_jai.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-assets-fileattachment/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-assets-fileattachment/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-assets-notes/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-assets-notes/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-assets-relatedlink/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-assets-relatedlink/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-address/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-address/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-agenda/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-agenda/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-article/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-article/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-bookmark/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-bookmark/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-contact/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-contact/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-esdservice/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-esdservice/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-event/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-event/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-faqitem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-faqitem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-filestorageitem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-filestorageitem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-formitem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-formitem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-formsectionitem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-formsectionitem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-glossaryitem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-glossaryitem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-htmlform/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-htmlform/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-inlinesite/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-inlinesite/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-job/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-job/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-legalnotice/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-legalnotice/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-minutes/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-minutes/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-motditem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-motditem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-mparticle/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-mparticle/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-newsitem/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-newsitem/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-organization/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-organization/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-pressrelease/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-pressrelease/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-service/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-service/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-siteproxy/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-cms-types-siteproxy/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-bookmarks/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-bookmarks/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-core/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-core/test/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-core/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/activation.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/aspectjrt-1.0.5.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-beanutils.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-cli-1.0.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-codec-1.3.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-collections-3.0.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-fileupload-1.1.1.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-httpclient-2.0.2.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-io-1.3.1.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-lang-2.1.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-logging-1.0.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/commons-primitives-1.0.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/i18n.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/jakarta-oro-2.0.8.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/jdom.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/jdxslt.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/log4j.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/lucene-1.4.3.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/mail.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/PDFBox-0.7.2-log4j.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/poi-2.5-final-20040302.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/saxon.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/serializer.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/Tidy.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/tm-extractors-0.4.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/xalan.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/xercesImpl.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/lib/xml-apis.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/etc/lib/cactus-1.4.1.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/etc/lib/httpunit.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/etc/lib/javacc.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/etc/lib/mockobjects-core-0.09.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/etc/lib/mockobjects-jdk1.4-0.09.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-core/etc/lib/xmlunit1.0.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-formbuilder-pdf/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-formbuilder-pdf/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-formbuilder-pdf/lib/avalon-framework-cvs-20020806.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-formbuilder-pdf/lib/batik.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-formbuilder-pdf/lib/fop.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-forum/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-forum/test/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-forum/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-aplaws/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-aplaws/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-atoz/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-atoz/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-dublin/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-dublin/test/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-dublin/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-exporter/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-exporter/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-freeform/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-freeform/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-image-step/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-image-step/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-importer/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-importer/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-navigation/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-navigation/test/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-navigation/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-portal/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-portal/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-rss/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-rss/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-search/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-search/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/axis.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/commons-discovery.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/jaxrpc.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/jobo.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/saaj.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/tt-bytecode.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-search/lib/wsdl4j.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-shortcuts/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-shortcuts/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-subsite/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-subsite/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-terms/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-terms/test/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-terms/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-terms/lib/commons-collections.jar"/>
|
||||||
|
<classpathentry kind="lib" path="ccm-ldn-terms/lib/commons-digester.jar"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-theme/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-theme/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-util/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-util/test/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-util/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-xmlfeed/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-ldn-xmlfeed/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-simplesurvey/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-simplesurvey/build/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-user-preferences/src"/>
|
||||||
|
<classpathentry kind="src" path="ccm-user-preferences/build/src"/>
|
||||||
|
<classpathentry kind="lib" path="tools/devel/lib/servlet-2.3.jar"/>
|
||||||
|
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/>
|
||||||
|
<classpathentry path="build/eclipse/classes" kind="output"/>
|
||||||
|
</classpath>
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>aplaws</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
<buildCommand>
|
||||||
|
<name>org.eclipse.jdt.core.javabuilder
|
||||||
|
</name>
|
||||||
|
<arguments>
|
||||||
|
</arguments>
|
||||||
|
</buildCommand>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
## For local modifications of the build options overwrite
|
||||||
|
## the appropriate properties
|
||||||
|
## Default values are shown commented out.
|
||||||
|
|
||||||
|
|
||||||
|
## TESTING #################################################
|
||||||
|
|
||||||
|
# This must point to an initialization file, such as enterprise.init
|
||||||
|
#test.initscript=${app.server.parent.dir}/conf/log4j.properties
|
||||||
|
|
||||||
|
# This should be set to the base URL of your Web server,
|
||||||
|
# so HTTP unit tests can find it.
|
||||||
|
#test.server.url=http://localhost:8080
|
||||||
|
|
||||||
|
# This should be set to the URL of the Cactus ServletRedirector
|
||||||
|
# used for Cactus JUnit tests
|
||||||
|
#test.server.cactusURL=http://localhost:8080/ServletRedirector
|
||||||
|
|
||||||
|
# JUnit properties
|
||||||
|
#junit.test.haltonfailure=off
|
||||||
|
#junit.test.haltonerror=off
|
||||||
|
#junit.fork=true
|
||||||
|
|
||||||
|
## BUILDING ################################################
|
||||||
|
|
||||||
|
# Set to 'modern' or 'jikes'
|
||||||
|
#build.compiler=modern
|
||||||
|
|
||||||
|
# These properties apply to Javac and Jikes
|
||||||
|
#compile.debug=on
|
||||||
|
#compile.optimize=on
|
||||||
|
#compile.deprecation=off
|
||||||
|
#compile.verbose=off
|
||||||
|
#compile.nowarn=on
|
||||||
|
|
||||||
|
# These properties are specific to Jikes
|
||||||
|
#build.compiler.emacs=off
|
||||||
|
#build.compiler.pedantic=off
|
||||||
|
#build.compiler.fulldepend=off
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
## For local modifications of the ccm build details overwrite
|
||||||
|
## the appropriate properties
|
||||||
|
## The defaults are shown commented out
|
||||||
|
|
||||||
|
## Usually you will define your own specific bundle!
|
||||||
|
#bundle.folder=${project.dir}/ccm-ldn-aplaws/bundles/complete
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
##
|
||||||
|
## For local modifications of the runtime test environment
|
||||||
|
## overwrite the appropriate properties
|
||||||
|
##
|
||||||
|
|
||||||
|
##
|
||||||
|
## Server Type
|
||||||
|
##
|
||||||
|
|
||||||
|
#app.server.type=tomcat
|
||||||
|
#app.server.version=5.5.27
|
||||||
|
app.server.version=6.0.18
|
||||||
|
#app.server.vendor=apache
|
||||||
|
|
||||||
|
|
@ -0,0 +1,88 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||||
|
|
||||||
|
<!-- project.xml -complete- containing all modules as of aplaws 1.04 -->
|
||||||
|
|
||||||
|
<!-- If you don't already have a project.xml file in place, You have to copy
|
||||||
|
this one to your development base directory renaming it to project.xml
|
||||||
|
Comment out those modules to don't need. Keep the included modules in sync
|
||||||
|
with the bundles application file! -->
|
||||||
|
|
||||||
|
<ccm:project name="aplaws-svn"
|
||||||
|
prettyName="aplaws-svn"
|
||||||
|
ccmVersion="6.1"
|
||||||
|
type="application"
|
||||||
|
webxml="web.xml-aplaws"
|
||||||
|
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools/devel/xsd/project.xsd"
|
||||||
|
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
version="2.9.2"
|
||||||
|
release="1">
|
||||||
|
|
||||||
|
<!-- List all target databases here -->
|
||||||
|
<ccm:databases>
|
||||||
|
<ccm:database name="postgres"/>
|
||||||
|
<ccm:database name="oracle-se"/>
|
||||||
|
</ccm:databases>
|
||||||
|
|
||||||
|
<!-- List all project specific applications here -->
|
||||||
|
<ccm:build>
|
||||||
|
<!-- ccm-auth-http also has internal build.xml -->
|
||||||
|
<ccm:application name="ccm-auth-http"/>
|
||||||
|
<ccm:application name="ccm-cms"/>
|
||||||
|
<ccm:application name="ccm-cms-assets-fileattachment"/>
|
||||||
|
<ccm:application name="ccm-cms-assets-notes"/>
|
||||||
|
<ccm:application name="ccm-cms-assets-relatedlink"/>
|
||||||
|
<ccm:application name="ccm-cms-types-address"/>
|
||||||
|
<ccm:application name="ccm-cms-types-agenda"/>
|
||||||
|
<ccm:application name="ccm-cms-types-article"/>
|
||||||
|
<ccm:application name="ccm-cms-types-bookmark"/>
|
||||||
|
<ccm:application name="ccm-cms-types-contact"/>
|
||||||
|
<ccm:application name="ccm-cms-types-esdservice"/>
|
||||||
|
<ccm:application name="ccm-cms-types-event"/>
|
||||||
|
<ccm:application name="ccm-cms-types-faqitem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-filestorageitem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-formitem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-formsectionitem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-glossaryitem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-htmlform"/>
|
||||||
|
<ccm:application name="ccm-cms-types-inlinesite"/>
|
||||||
|
<ccm:application name="ccm-cms-types-job"/>
|
||||||
|
<ccm:application name="ccm-cms-types-legalnotice"/>
|
||||||
|
<ccm:application name="ccm-cms-types-minutes"/>
|
||||||
|
<ccm:application name="ccm-cms-types-motditem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-mparticle"/>
|
||||||
|
<ccm:application name="ccm-cms-types-newsitem"/>
|
||||||
|
<ccm:application name="ccm-cms-types-organization"/>
|
||||||
|
<ccm:application name="ccm-cms-types-pressrelease"/>
|
||||||
|
<ccm:application name="ccm-cms-types-service"/>
|
||||||
|
<ccm:application name="ccm-cms-types-siteproxy"/>
|
||||||
|
<ccm:application name="ccm-bookmarks"/>
|
||||||
|
<ccm:application name="ccm-core"/>
|
||||||
|
<ccm:application name="ccm-formbuilder-pdf"/>
|
||||||
|
<ccm:application name="ccm-forum"/>
|
||||||
|
<ccm:application name="ccm-ldn-aplaws"/>
|
||||||
|
<ccm:application name="ccm-ldn-atoz"/>
|
||||||
|
<ccm:application name="ccm-ldn-dublin"/>
|
||||||
|
<ccm:application name="ccm-ldn-exporter"/>
|
||||||
|
<ccm:application name="ccm-ldn-freeform"/>
|
||||||
|
<ccm:application name="ccm-ldn-image-step"/>
|
||||||
|
<ccm:application name="ccm-ldn-importer"/>
|
||||||
|
<ccm:application name="ccm-ldn-navigation"/>
|
||||||
|
<ccm:application name="ccm-ldn-portal"/>
|
||||||
|
<ccm:application name="ccm-ldn-rss"/>
|
||||||
|
<ccm:application name="ccm-ldn-search"/>
|
||||||
|
<ccm:application name="ccm-ldn-shortcuts"/>
|
||||||
|
<ccm:application name="ccm-ldn-subsite"/>
|
||||||
|
<ccm:application name="ccm-ldn-terms"/>
|
||||||
|
<ccm:application name="ccm-ldn-theme"/>
|
||||||
|
<ccm:application name="ccm-ldn-util"/>
|
||||||
|
<ccm:application name="ccm-ldn-xmlfeed"/>
|
||||||
|
<ccm:application name="ccm-simplesurvey"/>
|
||||||
|
<ccm:application name="ccm-user-preferences"/>
|
||||||
|
</ccm:build>
|
||||||
|
|
||||||
|
<!-- List all shared, pre-built applications here -->
|
||||||
|
<ccm:prebuilt>
|
||||||
|
</ccm:prebuilt>
|
||||||
|
|
||||||
|
</ccm:project>
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<project name="load">
|
||||||
|
|
||||||
|
<!-- ALREADY SET in build.xml . Wrong here!
|
||||||
|
<property name="project.dir" value="." />
|
||||||
|
-->
|
||||||
|
|
||||||
|
<import file="${tools.script.dir}/build-common.xml" />
|
||||||
|
|
||||||
|
<target name="load-bundle">
|
||||||
|
<echo>Loading bundle ${bundle.folder} into ${ccm.home}</echo>
|
||||||
|
<copy file="${bundle.folder}/cfg/applications.cfg"
|
||||||
|
tofile=".tmp.applications.cfg" overwrite="yes" />
|
||||||
|
<replaceregexp file=".tmp.applications.cfg" match="#.*" replace="" byline="true" />
|
||||||
|
<replaceregexp file=".tmp.applications.cfg"
|
||||||
|
match="[ \t\r\n]+" replace=" " flags="gs" />
|
||||||
|
<loadfile property="applications" srcFile=".tmp.applications.cfg" />
|
||||||
|
<delete file=".tmp.applications.cfg"/>
|
||||||
|
<tstamp>
|
||||||
|
<format pattern="yyyymmddhhmmss" property="timestamp" />
|
||||||
|
</tstamp>
|
||||||
|
<move file="${webapp.conf.dir}/registry"
|
||||||
|
tofile="${webapp.conf.dir}/registry.${timestamp}" preservelastmodified="yes"
|
||||||
|
failonerror="no" verbose="true" />
|
||||||
|
<java classname="com.arsdigita.packaging.MasterTool"
|
||||||
|
classpathref="ccm.classpath" fork="yes">
|
||||||
|
<sysproperty key="ccm.home" value="${ccm.home}" />
|
||||||
|
<sysproperty key="log4j.configuration"
|
||||||
|
value="file:runtime/${app.server.bundles.name}/conf/log4j.xml" />
|
||||||
|
<sysproperty key="java.protocol.handler.pkgs"
|
||||||
|
value="${java.protocol.handler.pkgs}" />
|
||||||
|
<arg line="load ${applications} --parameter-file ${bundle.folder}/cfg/integration.properties" />
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="load-init">
|
||||||
|
<echo>load ${applications} --init</echo>
|
||||||
|
<java classname="com.arsdigita.packaging.MasterTool"
|
||||||
|
classpathref="ccm.classpath" fork="yes">
|
||||||
|
<sysproperty key="ccm.home" value="${ccm.home}" />
|
||||||
|
<sysproperty key="log4j.configuration"
|
||||||
|
value="file:runtime/${app.server.bundles.name}/conf/log4j.xml" />
|
||||||
|
<sysproperty key="java.protocol.handler.pkgs"
|
||||||
|
value="${java.protocol.handler.pkgs}" />
|
||||||
|
<arg line="load ${applications} --init" />
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="load">
|
||||||
|
<echo>load ${applications}</echo>
|
||||||
|
<java classname="com.arsdigita.packaging.MasterTool"
|
||||||
|
classpathref="ccm.classpath" fork="yes">
|
||||||
|
<sysproperty key="ccm.home" value="${ccm.home}" />
|
||||||
|
<sysproperty key="log4j.configuration"
|
||||||
|
value="file:runtime/${app.server.bundles.name}/conf/log4j.xml" />
|
||||||
|
<sysproperty key="java.protocol.handler.pkgs"
|
||||||
|
value="${java.protocol.handler.pkgs}" />
|
||||||
|
<arg line="load ${applications}" />
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<project name="common">
|
||||||
|
|
||||||
|
<property name="tools.conf.dir" value="${project.dir}/tools-ng/ecdc/conf" />
|
||||||
|
<property name="tools.xsl.dir" value="${project.dir}/tools-ng/common/xsl" />
|
||||||
|
|
||||||
|
<!-- several java programs needed for processing, esp. xml files-->
|
||||||
|
<property name="tools.lib.dir" value="${project.dir}/tools-ng/common/lib" />
|
||||||
|
<path id="tools.classpath">
|
||||||
|
<fileset dir="${tools.lib.dir}" includes="*.jar" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<property file="${project.dir}/local.runtime.properties" />
|
||||||
|
<!-- <property file="${project.dir}/runtime.ext.properties" /> -->
|
||||||
|
<property file="${tools.conf.dir}/runtime.properties" />
|
||||||
|
|
||||||
|
<property file="${project.dir}/local.build.properties" />
|
||||||
|
<!-- <property file="${project.dir}/build.ext.properties" /> -->
|
||||||
|
<property file="${tools.conf.dir}/build.properties" />
|
||||||
|
|
||||||
|
<property file="${project.dir}/local.ccm.properties" />
|
||||||
|
<!-- <property file="${project.dir}/ccm.ext.properties" /> -->
|
||||||
|
<property file="${tools.conf.dir}/ccm.properties" />
|
||||||
|
|
||||||
|
<path id="ccm.classpath">
|
||||||
|
<path refid="tools.classpath"/>
|
||||||
|
<pathelement path="${webapp.dist.dir}/WEB-INF/classes"/>
|
||||||
|
<fileset dir="${webapp.dist.dir}/WEB-INF/lib" includes="*.jar" />
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<condition property="correct.ant.version">
|
||||||
|
<antversion atleast="1.7.0" />
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<!-- http://antelope.tigris.org/ -->
|
||||||
|
<taskdef classpathref="tools.classpath" resource="ise/antelope/tasks/antlib.xml" />
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,66 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<project name="configure" default="configure">
|
||||||
|
|
||||||
|
<!-- ALREADY SET in build.xml . Wrong here!
|
||||||
|
<property name="project.dir" value="." />
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Already imported in build.xml which imports this file -->
|
||||||
|
<!-- <import file="${tools.script.dir}/build-common.xml" /> -->
|
||||||
|
|
||||||
|
<target name="configure">
|
||||||
|
<echo>Validating the schema of project.xml</echo>
|
||||||
|
|
||||||
|
<!-- http://xerces.apache.org/xerces2-j/samples-dom.html#Counter -->
|
||||||
|
<java classname="dom.Counter" classpathref="tools.classpath"
|
||||||
|
errorproperty="project.validation.errors"
|
||||||
|
outputproperty="project.validation.output">
|
||||||
|
<arg value="-s" />
|
||||||
|
<arg value="-f" />
|
||||||
|
<arg value="-v" />
|
||||||
|
<arg value="${project.dir}/project.xml" />
|
||||||
|
</java>
|
||||||
|
<if>
|
||||||
|
<bool>
|
||||||
|
<not>
|
||||||
|
<equals arg1="${project.validation.errors}" arg2="" />
|
||||||
|
</not>
|
||||||
|
</bool>
|
||||||
|
<fail message="${project.validation.errors}" />
|
||||||
|
</if>
|
||||||
|
|
||||||
|
<!-- Building .ccm.classpath for eclipse IDE -->
|
||||||
|
<!--
|
||||||
|
<echo message="Regenerating .classpath" />
|
||||||
|
<xslt style="${tools.xsl.dir}/eclipse-classpath-template.xsl"
|
||||||
|
in="project.xml" out=".classpath"
|
||||||
|
classpathref="tools.classpath" force="yes">
|
||||||
|
<param name="base.dir" expression="${project.dir}" />
|
||||||
|
<param name="shared.lib.dist.dir" expression="${tools.lib.dir}" />
|
||||||
|
</xslt>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Building the core: build-projects.xml from projects.xml with all
|
||||||
|
targets for compile / build / deploy
|
||||||
|
uses currently the xsl templates used by the ccm scripts -->
|
||||||
|
<echo message="Regenerating build-projects.xml" />
|
||||||
|
<xslt style="${tools.xsl.dir}/combine.xsl" in="project.xml"
|
||||||
|
out=".tmp.project.xml" classpathref="tools.classpath" force="yes" />
|
||||||
|
<xslt style="${tools.xsl.dir}/build-template.xsl" in=".tmp.project.xml"
|
||||||
|
out="build-projects.xml" classpathref="tools.classpath" force="yes" />
|
||||||
|
<delete file=".tmp.project.xml"/>
|
||||||
|
|
||||||
|
<!-- Building ccm.classpath which used to contain a list with dirs
|
||||||
|
to include into the classpath for each module included in the
|
||||||
|
project (~/build/classes ~/build/sql ~/lib ~/pdl ) -->
|
||||||
|
<!--
|
||||||
|
<xslt style="${tools.xsl.dir}/classpath-template.xsl" in="project.xml"
|
||||||
|
out="ccm.classpath" classpathref="tools.classpath" force="yes">
|
||||||
|
<param name="base.dir" expression="${project.dir}" />
|
||||||
|
<param name="shared.lib.dist.dir" expression="${tools.lib.dir}" />
|
||||||
|
</xslt>
|
||||||
|
-->
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<project name="dummy build">
|
||||||
|
|
||||||
|
<target name="usage">
|
||||||
|
<echo>
|
||||||
|
base directory is ${basedir}
|
||||||
|
You must run configure first!
|
||||||
|
</echo>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<project name="appserver" default="start">
|
||||||
|
|
||||||
|
<!-- already set
|
||||||
|
<property name="project.dir" value="." />
|
||||||
|
-->
|
||||||
|
<!-- already imported, gets wrong here!
|
||||||
|
<import file="build-common.xml" /> -->
|
||||||
|
|
||||||
|
<target name="install-tomcat">
|
||||||
|
<echo>Installing app server into ${deploy.dir}</echo>
|
||||||
|
<unzip src="${app.server.bundles.zip}" dest="${app.server.parent.dir}" overwrite="true">
|
||||||
|
<patternset>
|
||||||
|
<exclude name="**/webapps/**" />
|
||||||
|
</patternset>
|
||||||
|
</unzip>
|
||||||
|
<replaceregexp file="${webapp.conf.dir}/catalina.properties" match="shared.loader=(.*)"
|
||||||
|
replace="shared.loader=\1,${catalina.base}/webapps/WEB-INF/classes,${catalina.base}/webapps/WEB-INF/lib/*.jar"
|
||||||
|
byline="true" />
|
||||||
|
<copy file="ccm-core/lib/xercesImpl.jar" todir="${deploy.dir}/common/endorsed" preservelastmodified="true"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="start">
|
||||||
|
<java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
|
||||||
|
<sysproperty key="ccm.home" value="${ccm.home}" />
|
||||||
|
<sysproperty key="ccm.conf" value="${webapp.registry.dir}" />
|
||||||
|
<sysproperty key="com.arsdigita.util.Assert.enabled" value="true" />
|
||||||
|
<sysproperty key="log4j.configuration" value="file:///${webapp.conf.dir}/log4j.xml" />
|
||||||
|
<sysproperty key="java.protocol.handler.pkgs" value="${java.protocol.handler.pkgs}" />
|
||||||
|
<sysproperty key="java.ext.dirs"
|
||||||
|
value="${env.JAVA_HOME}/jre/lib/ext;${env.JAVA_HOME}/lib/ext;${deploy.dir}/webapps/WEB-INF/system" />
|
||||||
|
<sysproperty key="catalina.config" value="file:///${webapp.conf.dir}/catalina.properties" />
|
||||||
|
<sysproperty key="java.endorsed.dirs" value="${deploy.dir}/common/endorsed" />
|
||||||
|
<sysproperty key="catalina.base" value="${deploy.dir}" />
|
||||||
|
<sysproperty key="catalina.home" value="${deploy.dir}" />
|
||||||
|
<sysproperty key="javax.xml.parsers.DocumentBuilderFactory" value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" />
|
||||||
|
<sysproperty key="javax.xml.parsers.SAXParserFactory" value="org.apache.xerces.jaxp.SAXParserFactoryImpl" />
|
||||||
|
<sysproperty key="javax.xml.transform.TransformerFactory" value="com.icl.saxon.TransformerFactoryImpl" />
|
||||||
|
<jvmarg value="-Xms256m" />
|
||||||
|
<jvmarg value="-Xmx512m" />
|
||||||
|
<jvmarg value="-XX:PermSize=128m" />
|
||||||
|
<jvmarg value="-XX:MaxPermSize=128m" />
|
||||||
|
<classpath>
|
||||||
|
<pathelement path="${deploy.dir}/bin/bootstrap.jar" />
|
||||||
|
</classpath>
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
Tools fpr users to install and maintain CCM / APLAWS
|
||||||
|
|
||||||
|
Comming soon (hopefully)
|
||||||
Loading…
Reference in New Issue