ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40703] New: - Demo build file
Date Sun, 08 Oct 2006 00:11:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40703>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40703

           Summary: Demo build file
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: svn Antlib
        AssignedTo: dev@ant.apache.org
        ReportedBy: apache-bugzilla@seansullivan.com


Please add a demo build file to the antlib SVN distribution.

File:  demo.xml

<project default="demo" name="svndemo">

<typedef resource="org/apache/ant/svn/antlib.xml" uri="svnlib" />

<target name="demo" depends="html-tagdiff, html-changelog" />

<target name="html-tagdiff">

  <svnlib:tagdiff xmlns:svnlib="svnlib" 
  	  failonerror="true"
      baseURL="http://svn.apache.org/repos/asf/ant/core"
      destfile="tagdiff.xml"
      tag1="ANT_170_B1"
      tag2="ANT_170_B2"
  />

  <xslt in="tagdiff.xml" 
       out="tagdiff.html" 
       style="src/etc/diff.xsl">
       <param name="title" expression="Ant diff"/>
       <param name="repo"
expression="http://svn.apache.org/viewvc/ant/core/trunk" />
  </xslt>  
  
</target>

<target name="html-changelog">
    <svnlib:changelog xmlns:svnlib="svnlib"
    			svnURL="http://svn.apache.org/repos/asf/ant/core/trunk"
    			dir="."
                destfile="changelog.xml"
                daysinpast="14" 
    />
    
  <xslt in="changelog.xml" 
       out="changelog.html" 
       style="src/etc/changelog.xsl">
       <param name="title" expression="Ant changelog"/>
       <param name="repo"
expression="http://svn.apache.org/viewvc/ant/core/trunk" />
  </xslt>  

</target>

</project>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message