ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twogee <...@git.apache.org>
Subject [GitHub] ant-ivy issue #55: use the vectorised logo
Date Mon, 25 Sep 2017 10:50:29 GMT
Github user twogee commented on the issue:

    https://github.com/apache/ant-ivy/pull/55
  
    logo.png is for CredentialsUtil; replaced by IvyLogo
    
    CSS contains changes for `#logo` and adds `svg.icon` (somehow Firefox cannot read dimensions
from embedded SVGs)
    
    XSL generates HTML5 that uses xlink to reuse SVGs
    
    IvyLogo is a one-off conversion of SVG + some manual additions (cleaned casts and added
max icon size). Using SVG directly requires Batik, which is an overkill.
    
    Here's the build.xml I used for testing Ivy report
    
    ```
    <project name="ivy" default="ivy-report" xmlns:ivy="antlib:org.apache.ivy.ant">
        <target name="init-ivy">
            <taskdef resource="org/apache/ivy/ant/antlib.xml"
                     uri="antlib:org.apache.ivy.ant" classpath="build/artifact/jars/ivy.jar"/>
    
            <ivy:configure override="true" file="src/example/bintray/ivysettings.xml"/>
        </target>
    
        <target name="resolve" depends="init-ivy">
            <ivy:resolve organisation="org.hibernate" module="hibernate" revision="3.2.6.ga"
transitive="true"
                         inline="true" conf="default" resolveid="hibernate.resolve"/>
        </target>
    
        <target name="ivy-report" depends="resolve">
            <mkdir dir="build/images"/>
            <ivy:report todir="build/images"
                        conf="default" resolveid="hibernate.resolve"/>
        </target>
    </project>
    ```


---

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


Mime
View raw message