directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Directory Wiki] Update of "IdeHome" by EmmanuelLecharny
Date Tue, 16 Aug 2005 23:18:08 GMT
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 EmmanuelLecharny:
http://wiki.apache.org/directory/IdeHome

The comment on the change is:
switch to JDK 5.0

------------------------------------------------------------------------------
  
  === 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 BEA JRockit JDK, that would be interesting.
+ The correct version to use is probably a JDK 5.0. First, it's needed for '''MINA''' ( one
of the sub-project ). Second, this is the present. Don't look back !
  
- 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 !
+ '''Be aware that you will need a JDK 1.5 to compile MINA !!!'''
  
+ The version to use is probably the last one : '''JDK 5.0 update 4'''. Install it.
- {{{
- This project needs a 1.4 JDK, it won't compile with a JDK 1.3 or 5.0 !!!
- (for JDK 5.0, this is just because there is a little problem with AOP; it will be fixed
sooner or later).
- }}}
  
+ If you are a Linux user, the best solution is to install your JDK under /usr/java. Linux
gurus may have better advices, so listen to them !
- {{{
- Note: I have had success building apacheds with Sun JDK 1.4.2_08 while it fails with Sun
JDK 1.4.2_06
- }}}
  
  === Subversion ===
  
@@ -81, +76 @@

  
  {{{
  $ maven
- java version "1.4.2_08"
+ java version "1.5.0_04"
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
+ Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
- Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
+ Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
- Java : /usr/java/j2sdk1.4.2_08/bin/java :
+ Java : /usr/java/jdk1.5.0_04/bin/java :
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
  |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
  
  BUILD SUCCESSFUL
- Total time: 2 seconds
+ Total time: 4 seconds
- Finished at: Sun May 01 23:56:22 CEST 2005
+ Finished at: Wed Aug 17 00:40:25 CEST 2005
  
  $
  }}}
@@ -130, +125 @@

  
  '''It takes time!!!''' Do NOT interrupt the process with a '''ctrl-c''', it does not work.
Either wait or kill the process. If you kill it, you will be better cleaning up the directory
before retrying the command, there are a lot of meta-files created.
  
- So have a coffee. Forget about your micro-wave oven, don't use instant coffee. You have
plenty of time !
+ So have a coffee. Forget about your micro-wave oven, don't use instant coffee. You have
plenty of time (10 minutes at least) !
  
  === First compilation ===
  
@@ -141, +136 @@

  <home>/ApacheDS
  $ cd directory
  $ ./codesize.sh (sorry, windowers... please install Cygwin, it's really cool !)
+ lines of code in ./testsuite/trunk = 830
- lines of code in ./protocol-providers/ldap/trunk = 2084
+ lines of code in ./protocol-providers/ldap/trunk = 2069
  lines of code in ./protocol-providers/dns/trunk = 4302
  lines of code in ./protocol-providers/ntp/trunk = 1550
- lines of code in ./protocol-providers/kerberos/trunk = 1996
+ lines of code in ./protocol-providers/kerberos/trunk = 2150
- lines of code in ./protocol-providers/changepw/trunk = 1514
+ lines of code in ./protocol-providers/changepw/trunk = 1519
- lines of code in ./protocol-providers/dhcp/trunk = 4853
+ lines of code in ./protocol-providers/dhcp/trunk = 4858
- lines of code in ./clients/ldap/trunk = 10421
+ lines of code in ./clients/ldap/trunk = 10420
  lines of code in ./clients/kerberos/trunk = 867
- lines of code in ./sandbox/trunk = 53934
+ lines of code in ./sandbox/trunk = 84810
+ lines of code in ./sandbox/trunk/osgi-protocol-providers/trunk = 2112
+ lines of code in ./sandbox/trunk/osgi-core/trunk = 1272
  lines of code in ./sandbox/trunk/protocol/trunk = 583
+ lines of code in ./sandbox/trunk/osgi-spec/trunk = 5735
+ lines of code in ./sandbox/trunk/kerberos-sam/trunk = 1325
  lines of code in ./sandbox/trunk/apseda/trunk = 15176
  lines of code in ./authx/trunk = 9386
  lines of code in ./naming/trunk = 17227
- lines of code in ./network/trunk = 19548
+ lines of code in ./network/trunk = 19690
- lines of code in ./shared/ldap/trunk = 85948
+ lines of code in ./shared/ldap/trunk = 87479
- lines of code in ./shared/kerberos/trunk = 11215
+ lines of code in ./shared/kerberos/trunk = 11241
- lines of code in ./apacheds/trunk = 44946
+ lines of code in ./apacheds/trunk = 46041
- lines of code in ./trunks/shared/ldap/trunk = 85948
- lines of code in ./asn1/trunk = 26675
+ lines of code in ./asn1/trunk = 26677
- Total: 398173
+ Total: 357319
- 
  $ 
  }}}
  
@@ -178, +176 @@

  $ pwd
  <home>/ApacheDS/directory/apacheds/trunk
  $ maven multiproject:install
-  maven multiproject:install
- java version "1.4.2_08"
+ java version "1.5.0_04"
- Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
+ Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
- Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
+ Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
- Java : /usr/java/j2sdk1.4.2_08/bin/java :
+ Java : /usr/java/jdk1.5.0_04/bin/java :
   __  __
  |  \/  |__ _Apache__ ___
  | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
@@ -193, +190 @@

  multiproject:install:
  multiproject:projects-init:
      [echo] Gathering project list
+ 
  Starting the reactor...
  Our processing order:
  ApacheDS Shared
@@ -216, +214 @@

  
  == Using Eclipse IDE ==
  
- Ok, so your 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 Eclipse 3.0.2 (forget about the 3.1.M6, I don't know if it works.)
+ Last but not least. Install Eclipse 3.1.0 (On Linux, I'm installing it in /opt. Windows
afficionados, do wathever you want !)
  
  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 
+ $ more /opt/eclipse/eclipse-apacheDS.sh 
- /opt/eclipse-3.0.2/eclipse -data $HOME/workspace-apacheDS -vm java -vmargs -Xmx750M
+ /opt/eclipse/eclipse -data $HOME/workspace-apacheDS -vm java -vmargs -Xmx750M
  }}}
  
  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.
@@ -236, +234 @@

  Launch eclipse :
  
  {{{
- $ /opt/eclipse-3.0.2/eclipse-apacheDS.sh 
+ $ /opt/eclipse/eclipse-apacheDS.sh 
  ...
  }}}
  
@@ -245, +243 @@

  Here are the plugins I personally use :
  
  ||<:#CCCCCC> '''Plugin name'''||<:#CCCCCC> '''role'''||<:#CCCCCC> '''external
site'''||<:#CCCCCC> '''version'''||
- ||subclipse||Subversion plugin||http://subclipse.tigris.org/update||0.9.30||
+ ||subclipse||Subversion plugin||http://subclipse.tigris.org/update||0.9.32||
- ||mevenide||Maven plugin||http://mevenide.codehaus.org/release/eclipse/update/site.xml||0.8.0||
+ ||mevenide||Maven plugin||http://mevenide.codehaus.org/release/eclipse/update/site.xml||0.9.0||
+ ||maven||Maven plugin||http://mevenide.codehaus.org/release/eclipse/update/site.xml||1.0.2||
  ||multi-projects||Utilities||http://eclipse-tools.sourceforge.net/updates||1.0.6||
- ||antlr|| Antlr plugin||http://antlreclipse.sourceforge.net/updates||2.7.4||
+ ||antlr|| Antlr plugin||http://antlreclipse.sourceforge.net/updates||2.7.6.b2||
  
  Install all of them, you will need them.
  
@@ -264, +263 @@

  
  attachment:svn-prefs1.png
  
-  * Note that I've checked the SVN command line, even if it's a beta version. (the javahl
extension does not work on linux yet)
+  * Note that '''I've checked the SVN command line''', even if it's a beta version. (the
javahl extension does not work on linux yet)
  
  Declare the svn repository by opening the SVN perspective, adding a new repository location:
  
  attachment:svn-repo.png
  
   * This is an http access on the repository, it won't allow you to update your changes !
Don't be afraid to make mistakes using svn, you will only harm yourself ;)
-  * The user may be anonymous/anonymous, I don't remember. If you are a committer, you must
type your user/password here, and change the previous http by https.
+  * The user may be anonymous/<nothing>. If you are a committer, you must type your
user/password here, and change the previous http by https.
  
  === Importing projects ===
  
@@ -295, +294 @@

  
  You can forget about sandbox, sitedocs and trunks.
  
- You will have many projetcs, and many compilation errors ! You have to create the sources
directory and set the dependencies.
+ You will have many projects, and many compilation errors ! You have to create the sources
directory and set the dependencies.
  
  === .classpath ===
  

Mime
View raw message