Skip to content

Commit

Permalink
Merge pull request #2 from PhantomYdn/master
Browse files Browse the repository at this point in the history
Some enhancements to increase usability
  • Loading branch information
lordscales91 committed Sep 6, 2019
2 parents 0e9dffd + d8553ff commit f2e4329
Show file tree
Hide file tree
Showing 8 changed files with 366 additions and 246 deletions.
File renamed without changes.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,29 @@ eclipse-icon-enlarger
=====================

Scales Eclipse icons (PNG and GIF) to double their size for QHD laptops.

#### How To Build

1. Clone this repository localy
2. Run 'mvn clean package'
3. You eclipse-icon-enlarger.jar with all dependencies is ready!

#### How To Run

java -jar eclipse-icon-enlarger.jar -b c:\eclipse -o c:\Temp\eclipse_qhd
-b,--baseDir <arg> This is the base directory where we'll parse
jars/zips
-h,--help <arg> Show help
-o,--outputDir <arg> This is the base directory where we'll place
output
-z,--resizeFactor <arg> This is the resize factor. Default is 2.

#### Attention

We recommend:

1. Install all you favorite plugins prior to icons convertion
2. Keep original eclipse directory for plugins installations and etc.

The main reason if that is following: first execution will enlarge 2x, but second execution on already converted files will enlarge 2x one more time

239 changes: 0 additions & 239 deletions eclipse-icon-enlarger/src/main/java/testEclipse/FixIcons.java

This file was deleted.

30 changes: 24 additions & 6 deletions eclipse-icon-enlarger/pom.xml → pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<artifactId>eclipse-icon-enlarger</artifactId>
<version>0.0.1-SNAPSHOT</version>
<build>
<finalName>eclipse-icon-enlarger</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -16,6 +17,29 @@
<source>1.6</source>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>enlarger.FixIcons</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id> <!-- this is used for inheritance merges -->
<phase>package</phase> <!-- bind to the packaging phase -->
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>
Expand All @@ -39,12 +63,6 @@
<artifactId>java-image-scaling</artifactId>
<version>0.8.5</version>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down
Loading

0 comments on commit f2e4329

Please sign in to comment.