Dear Wiki user, You have subscribed to a wiki page or wiki category on "Directory Wiki" for change notification.
The following page has been changed by StephaneBailliez: http://wiki.apache.org/directory/IdeHome ------------------------------------------------------------------------------ == Basic settings == - First, you have to make sure that your environment is correctly set. You have to be able to compile ApacheDS without any error, and this is quite challenging, as you can see reading the mail archive ! + First, you have to make sure that your environment is correctly set. You have to be able to compile ApacheDS without any error, and this is quite challenging, as you can see reading the mailing list archive ! So here are the prerequisites : @@ -27, +27 @@ === JDK === - '''Sun''' or '''IBM''' JDK are equally good. I have better performance with IBM JDK, I don't know why. Be sure to install the latest version, as many security issues has been corrected. I'm using '''Sun JDK 1.4.2_08''' and '''IBM JDK 1.4.2''', both works well. I didn't had chance to test the JRocket JDK, thaat would be interesting. + '''Sun''' or '''IBM''' JDK are equally good. I have better performance with IBM JDK, I don't know why. Be sure to install the latest version, as many security issues has been corrected. I'm using '''Sun JDK 1.4.2_08''' and '''IBM JDK 1.4.2''', both works well. I didn't had chance to test the BEA JRockit JDK, that would be interesting. If you are a Linux user, the best solution is to install your JDK under /user/java. Linux gurus may have better advices, so listen to them ! {{{ - This project need a 1.4 JDK, it won't compile with a JDK 1.3 or 1.5 !!! (for 1.5 JDK, this is just because there is a little problem with AOP; it will be fixed sooner or later) + This project needs a 1.4 JDK, it won't compile with a JDK 1.3 or 1.5 !!! (for 1.5 JDK, this is just because there is a little problem with AOP; it will be fixed sooner or later) }}} === Subversion === @@ -55, +55 @@ Here we are! You'll have to be under the iron rule of Maven to build the project. If you can't compile ApacheDS with Maven, then you are on the dark side of the Force. - So, download and install Maven 1.0.2. Install it wherever fits your need (I've installed it under /home/java). Add a MAVEN_HOME environment variable : + So, download and install Maven 1.0.2. Install it wherever it fits your need (I've installed it under /home/java). Add a MAVEN_HOME environment variable : - Here is an extract of my .bashrc file on my Linux boc ('''.bashrc''' is the file you'll find in your home directory) + Here is an extract of my .bashrc file on my Linux box ('''.bashrc''' is the file you'll find in your home directory) {{{ ... export MAVEN_HOME=/home/java/maven-1.0.2 @@ -65, +65 @@ ... }}} - '''Windows''' users, please set up your env using the correct sequence of left and right clicks... + '''Windows''' users, use Control Panel / System / Advanced / Environment Variables Make sure that Maven is correctly installed by running it in the console: @@ -203, +203 @@ $ }}} - Jeeze ! My computer is really fast ! ahhh. I know. I have all the downloaded files already in my Maven repository. (400 000 lines of Java code compiled in 2 minutes. Who ever told that Java was slow?) + Jeeze ! My computer is really fast ! ahhh. I know. I have all the downloaded files already in my Maven repository. (400 000 lines of Java code compiled in 2 minutes. Who ever said that Java was slow ? ) == Using Eclipse IDE == - Ok, so you basic environment is up and running. Time to Eclipse the command line, it seems. + Ok, so your basic environment is up and running. Time to Eclipse the command line, it seems. === Eclipse version === - Last but not least. Install the Eclipse 3.0.2 (forget about the 3.1.M6, I don't know if it works.) + Last but not least. Install Eclipse 3.0.2 (forget about the 3.1.M6, I don't know if it works.) - Add an '''eclipse-apacheDS.sh''' file in your eclipse root directory, to allow eclipse to consume more memory : + Add an '''eclipse-apacheDS.sh''' file in your eclipse root directory, to allow eclipse to get more memory : {{{ $ more /opt/eclipse-3.0.2/eclipse-apacheDS.sh @@ -222, +222 @@ I like to declare a specific workspace when launching eclipse. I have created a workspace-apacheDS directory in my HOME directory, where all the ApacheDS project is built when I use Eclipse. - I also added a directive to allow Java to use up to 750 M bytes of memory (I had Out of Memory errors with the standard setting). + I also added a directive to allow Java to use up to 750MB of memory (I had Out of Memory errors with the standard setting). Launch eclipse :
