[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    [GitHub] ant-ivy issue #55: use the vectorised logo
From:       twogee <git () git ! apache ! org>
Date:       2017-09-25 10:50:29
Message-ID: 20170925105029.99DCDF551A () git1-us-west ! apache ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic