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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to