|  | <?xml version="1.0" encoding="UTF-8"?> | 
|  | <!-- | 
|  | Copyright (c) 2007, 2014 THALES GLOBAL SERVICES and others | 
|  | This program and the accompanying materials | 
|  | are made available under the terms of the Eclipse Public License 2.0 | 
|  | which accompanies this distribution, and is available at | 
|  | https://www.eclipse.org/legal/epl-2.0/ | 
|  |  | 
|  | SPDX-License-Identifier: EPL-2.0 | 
|  |  | 
|  | Contributors: | 
|  | Obeo - Initial API and implementation | 
|  | --> | 
|  | <project name="org.eclipse.sirius.doc" default="generate-html"> | 
|  | <property name="wikitext.standalone" value="${basedir}/lib" description="Path to the WikiText standalone JARs" /> | 
|  |  | 
|  | <path id="wikitext.classpath"> | 
|  | <fileset dir="${wikitext.standalone}"> | 
|  | <include name="com.google.guava*.jar" /> | 
|  | <include name="org.jsoup*.jar" /> | 
|  | <include name="org.eclipse.mylyn.wikitext.core*.jar" /> | 
|  | <include name="org.eclipse.mylyn.wikitext.core.ant.*.jar" /> | 
|  | <include name="org.eclipse.mylyn.wikitext.textile.core*.jar" /> | 
|  | </fileset> | 
|  | </path> | 
|  |  | 
|  | <taskdef classpathref="wikitext.classpath" resource="org/eclipse/mylyn/wikitext/core/ant/tasks.properties" /> | 
|  |  | 
|  | <target name="generate-html" description="Generate Eclipse help from textile source"> | 
|  | <wikitext-to-html markupLanguage="Textile" formatOutput="true" failonvalidationerror="true" failonvalidationwarning="true" validate="true"> | 
|  | <fileset dir="${basedir}"> | 
|  | <include name="doc/*.textile" /> | 
|  | </fileset> | 
|  | <stylesheet url="resources/bootstrap.css" /> | 
|  | <stylesheet url="resources/custom.css" /> | 
|  | </wikitext-to-html> | 
|  |  | 
|  | <wikitext-to-html markupLanguage="Textile" formatOutput="true" failonvalidationerror="true" failonvalidationwarning="true" validate="true"> | 
|  | <fileset dir="${basedir}"> | 
|  | <include name="doc/*/*.textile" /> | 
|  | </fileset> | 
|  | <stylesheet url="../resources/bootstrap.css" /> | 
|  | <stylesheet url="../resources/custom.css" /> | 
|  | </wikitext-to-html> | 
|  |  | 
|  | <wikitext-to-html markupLanguage="Textile" formatOutput="true" failonvalidationerror="true" failonvalidationwarning="true" validate="true"> | 
|  | <fileset dir="${basedir}"> | 
|  | <include name="doc/*/*/*.textile" /> | 
|  | </fileset> | 
|  | <stylesheet url="../../resources/bootstrap.css" /> | 
|  | <stylesheet url="../../resources/custom.css" /> | 
|  | </wikitext-to-html> | 
|  | </target> | 
|  | </project> |