BuildRunningApplication
See the documentation for cloning the repository before reading this guide.
In order to build the package, we need to use the build.xml file provided, this tells the system how to build and compile the source code. Right click on build.xml, select Run As -> Ant build.
screenshots/Building%20Package%20using%20Ant%20tool.jpg
screenshots/Build%20Successful.jpg
If everything was successful then a new “build” directory will be created in the Package Explorer and an executable Magarena.jar file will appear in the “release” directory. Double click on Magarena.jar to launch the application.
If the Ant build fails because it can not find the javac compiler, make sure that tools.jar is added to the Ant’s classpath. You can add items to Ant’s classpath from the Ant > Runtime preference page.
Home
Getting Started
Upgrading
Command-line arguments
Feedback / Bug Reporting
Contributing
Keyboard shortcuts
Supported deck formats
Themes
Customizing Magarena
Translating Magarena
User Interface
Main Menu Screen
New duel
Deck view
Deck Editor
Mulligan screen
Game screen
Card Explorer
Card Script Viewer
Download images
Preferences
- Basic Structure
- Mana Property
- List of Costs
- List of Abilities
- List of Effects
- List of Conditions
- Table of Timings
- Groovy File Setup
- Groovy Basics
- Groovy Triggers
- Groovy Activations
- Groovy Events and Actions
- Groovy Statics