This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90164

Summary: Prepare icon rebranding support for xdesign team
Product: platform Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: Window SystemAssignee: Milan Kubec <mkubec>
Status: RESOLVED FIXED    
Severity: blocker CC: jrojcek, mmirilovic, olangr
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://xdesign-tools.czech.sun.com/visualdesign/prehled_rebranding/
Issue Type: TASK Exception Reporter:

Description Antonin Nebuzelsky 2006-11-28 11:12:29 UTC
X-design team has created a new set of icons for the whole IDE. Some kind of
support has to be created for them to be able to map the new icons to files in
NetBeans CVS repository, to replace the files and commit them.
Comment 1 Milan Kubec 2006-12-11 15:04:47 UTC
Checking in CopyIcons.java;
/cvs/nbbuild/antsrc/org/netbeans/nbbuild/CopyIcons.java,v  <--  CopyIcons.java
initial revision: 1.1
done

I've created simple task that copies all specified icons with certain dimensions
to paralel directory structure and creates index.html page that lists all icons
according to their nb modules. Task scans all nb modules that can be found under
nbsrcroot and copies all icons with 8x8, 16x16, 24x24 and 32x32 pixs.

Following ant script can be used to run the task:

<?xml version="1.0" encoding="UTF-8"?>
<project name="copyicons" default="default" basedir=".">
    <import file="build.xml"/>
    <target name="copyicons" depends="bootstrap">
        <taskdef name="copyicons" 
            classname="org.netbeans.nbbuild.CopyIcons" 
            classpath="nbantext.jar"/>
        <copyicons nbsrcroot="e:/sources/netbeans.org/trunk" 
            destdir="e:/work">
        </copyicons>
    </target>
</project>

Update nbbuild module and copy the script to nbbuild folder under nb CVS
checkout and modify 'nbsrcroot' and 'destdir' according to your setup. Run
target 'copyicons'.