Explicity use ant name space. In prep for removal of jeez etc

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113216 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion 2003-03-29 11:40:18 +00:00
parent c73ea82d5d
commit 88cfb79e80
2 changed files with 13 additions and 12 deletions

View File

@ -1,6 +1,7 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
xmlns:x="jelly:xml"
xmlns:html="jelly:html"
@ -43,26 +44,26 @@
<j:new var="dirMapper" className="org.apache.maven.util.CaseInsensitiveGlobPatternMapper"/>
<j:setProperties object="${dirMapper}" from="${fromDirPattern}" to="${toDirPattern}"/>
<fileScanner var="docFiles">
<fileset dir="${srcdir}">
<patternset>
<include name="**/*.html"/>
</patternset>
</fileset>
</fileScanner>
<ant:fileScanner var="docFiles">
<ant:fileset dir="${srcdir}">
<ant:patternset>
<ant:include name="**/*.html"/>
</ant:patternset>
</ant:fileset>
</ant:fileScanner>
<j:forEach var="file" items="${docFiles.iterator()}">
<util:replace var="inDirForward" oldChar="\" newChar="/" value="${file.parent}"/>
<j:set var="outDir" value="${dirMapper.mapFileName(inDirForward).0}"/>
<mkdir dir="${outDir}"/>
<ant:mkdir dir="${outDir}"/>
<!-- generate output file name -->
<util:replace var="outFileForward" oldChar="\" newChar="/" value="${file.toString()}"/>
<j:set var="outFiles" value="${mapper.mapFileName(outFileForward)}"/>
<j:set var="outFile" value="${outFiles[0]}"/>
<echo>Generating ${outFile} from ${file}</echo>
<ant:echo>Generating ${outFile} from ${file}</ant:echo>
<!-- parse the HTML doc and pass it to the stylesheet -->
<html:parse var="htmlDoc" html="${file}" element="lower" attribute="lower"/>

View File

@ -1,9 +1,9 @@
<?xml version="1.0"?>
<project
xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
xmlns:a="jelly:ant">
xmlns:u="jelly:util">
<!--==================================================================-->
<!-- Generate IntelliJ IDEA .project and .classpath files -->
@ -15,7 +15,7 @@
<goal name="idea:generate-project"
description="Generate IDEA .ipr and .iws project files">
<echo>Creating ${basedir}/${pom.artifactId}.ipr ...</echo>
<ant:echo>Creating ${basedir}/${pom.artifactId}.ipr ...</ant:echo>
<j:file name="${basedir}/${pom.artifactId}.ipr" prettyPrint="true" xmlns="dummy">
<project version="3" relativePaths="false">