====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
project_info:howto_regain_in_an_ide [2011/08/20 10:40] benjamin |
project_info:howto_regain_in_an_ide [2024/09/18 08:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to setup an IDE ====== | ====== How to setup an IDE ====== | ||
+ | |||
+ | In any case, you need to install the JDK first: [[http://java.sun.com/javase/downloads/index.jsp|Download]]. | ||
+ | |||
+ | You also should set the environment variable JAVA_HOME to the directory you installed the JDK into, e.g. ''C:/Programme/Java/jdk1.6.0_12''. The variable PATH should contain the ''bin''-Folder, e.g. ''%PATH%;%JAVA_HOME%\bin''. | ||
+ | |||
+ | Hint: Under Windows, you can set environment variable by: | ||
+ | * Hitting Windows+Pause | ||
+ | * Tab "Advanced" | ||
+ | * Button "Environment Variables" | ||
+ | |||
===== netbeans ===== | ===== netbeans ===== | ||
- Check out the [[project_info:sourcecode#check_out_sourcecode_from_the_svn_repository|source code with subversion]] into a folder of your choice. There exists several tools (RapidSVN, tortoise) or use the command line on a *nix/Cygwin. | - Check out the [[project_info:sourcecode#check_out_sourcecode_from_the_svn_repository|source code with subversion]] into a folder of your choice. There exists several tools (RapidSVN, tortoise) or use the command line on a *nix/Cygwin. | ||
Line 7: | Line 17: | ||
- You can map ant targets to netbeans actions | - You can map ant targets to netbeans actions | ||
- Set the source level to JDK 1.6 | - Set the source level to JDK 1.6 | ||
- | - add the libs from 'lib/' and 'jacobgen/lib' to the 'src/src' Source Package Folder. | + | - add the libs from 'lib/' to the 'src/src' Source Package Folder. |
- add only the needed libs from lib/ to 'test/src' | - add only the needed libs from lib/ to 'test/src' | ||
===== Eclipse ===== | ===== Eclipse ===== | ||
+ | - Install [[http://www.eclipse.org/subversive/downloads.php|Subversive]] (or another SVN client). | ||
+ | - Add ''https://regain.svn.sourceforge.net/svnroot/regain'' as repository. | ||
+ | - Check out ''trunk'' as Java Project. | ||
+ | - Add to the Build Path the Libraries: | ||
+ | - All .jar in lib/ and sub-directories. | ||
+ | - Add as Source folder: ''test/src'' | ||
===== ANT ===== | ===== ANT ===== | ||
- | - Create an adapted version of build.properties in the project root folder. Use build.properties.sample as a blueprint. | + | - Create an adapted version of ''build.properties'' in the project root folder. Use ''build.properties.sample'' as a blueprint. |
===== Build Process ===== | ===== Build Process ===== |