Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.01 KB

Package-ify

Inserts files into Java package directories and adds imports for package-ified files that were previously all in the same package (in the same folder)

Usage:
Packageify puts files that were originally all in the same folder in organized packages based on input information.

Program arguments: java -jar package-ify "path to folder with all java files" "package definition txt file" "output folder"

Example of package definition file:
"ClassName";"package.path"
AnimatedSprite;com.marcusman.graphics
Game;com.marcusman
GameObject;com.marcusman.utils
GUI;com.marcusman.graphics.gui
GUIButton;com.marcusman.graphics.gui
KeyBoardListener;com.marcusman.input
Map;com.marcusman.logic
MouseEventListener;com.marcusman.input
Player;com.marcusman.logic
Rectangle;com.marcusman.utils
RenderHandler;com.marcusman.graphics
SDKButton;com.marcusman.graphics.gui
Sprite;com.marcusman.graphics
SpriteSheet;com.marcusman.graphics
Tiles;com.marcusman.logic