-
Notifications
You must be signed in to change notification settings - Fork 3
Building Civilizer
If you want to build Civilizer on your own, you need the following as a minimum:
- JDK (Java Development Kit) 1.7 or above
- JAVA_HOME environment variable which points to your JDK installation directory
You don't need to install Gradle(http://www.gradle.org) or anything. Just execute the following command:
(Assume you are at the root directory of the source package)
- Windows Users:
- gradlew.bat all - If this doesn't work, check out you've correctly set JAVA_HOME environment variable.
- Other OS Users:
- ./gradle all
If you just want to build Civilizer from the latest source code, this is the easiest and preferred way.
All other methods require Maven (https://maven.apache.org/) installed on your system. Basically, you don't need to bother with installing and using it unless you think of developing and contributing some code.
First, install Maven (https://maven.apache.org/) on you system.
You can execute commands as follows at the root directory of the source package:
- To compile the binaries and perform unit tests:
- mvn test
- To build a .WAR file:
-
mvn clean package
- Alternatively, mvn clean package -Dmaven.test.skip=true to skip unit tests.
- The output WAR can be found as {root directory}/target/civilizer.{version-number...}.war file.
- You can deploy and run the .WAR file on the Web Servers (technically, Servlet Containers) such as:
- Tomcat (http://tomcat.apache.org)
- Jetty (http://www.eclipse.org/jetty/) or Jetty Runner (http://eclipse.org/jetty/documentation/current/runner.html)
-
mvn clean package
- To compile the binary and load the application onto a Jetty server on the fly:
- mvn jetty:run
Among all the variations of Eclipse IDEs, Spring Tool Suite (https://spring.io/tools) is recommended.
- Install the latest Maven integration in Eclipse (m2e) plugin.
- Run mvn clean package command from the commandline after installing Maven.
- Import the project into Eclipse.
- Use import an existing project into workspace menu
- ( Don't use import an existing maven project into workspace )
Shell scripts are provided to build all the binaries/resources and package them all at once: ( You rarely use these scripts... )
The shell scripts invoke Maven commands underneath, so you need to first install it on your system.
- Windows Users:
- Run tools/build/build-all.bat from the command line.
- Alternatively,
- install Babun (http://babun.github.io)
- It is a shell application running on top of Cygwin.
- Run tools/build/build-all.sh from the command line window powered by Babun.
- install Babun (http://babun.github.io)
- Other OS Users:
- Run tools/build/build-all.sh from the command line.
- civilizer official page
- civilizer github page
- civilizer sourceforge page
- civilizer twitter - @civilizer_pkm
- civilizer tutorial video
- civilizer wiki and online docummentations
- feature request & bug report & other issues
- γ·γγ©γ€γΆγΌζ₯ζ¬θͺηGithubγγΌγΈ
- γ·γγ©γ€γΆγΌζ₯ζ¬θͺηγγγ₯γ‘γ³γ
- Fragment
- Tags on Civilizer
- File Box
- Panels on Civilizer
- Searching Fragments on Civilizer
- Private Home Directory for Civilizer
- Basic Operations for Fragments
- Basic Operations for Tags
- Basic Operations for File Box
- Basic Operations for Search Dialog
- Panel Toolbar Menus