Hi,

I'm trying to build the opensource edition from the source code on eclipse but I'm having the following error while building the zimbraServer :

------
[echo] Loading /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/openldap/etc/openldap/zimbra.ldif
[exec] ldap_bind: Invalid credentials (49)

BUILD FAILED
/home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build.xml:579: The following error occurred while executing this line:
-----

I looked at this line in the build.xml file and found that it tries to add users to the openldap but I didn't know why did it fail.

I'm using eclipse 3.3 + WebTools plugin on linux (openSUSE 10.2).

Another thing : before building I have installed openldap2-2.3.27-25 and mysql server 5 and tomcat 5.5 also I had to change the paths of these programs in the build.xml in order to show the zimbraServer their paths.

I don't know now where is the problem.

and if you are interested here is the output of the building :

------------------------------------------------------------------------------------------------------------------
Buildfile: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build.xml
clean:
[delete] Deleting directory /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build
build-init:
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/classes
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/generated/src/java
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/wiki
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/data
make-dirs:
[echo] Creating dirs under /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/openldap/etc/openldap/schema
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/bin
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf/msgs
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/db
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/ext
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/jars
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/libexec
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/common/endorsed
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/common/lib
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/conf
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/webapps
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/wiki
compile:
build-init:
compile:
jar:
build-init:
compile:
jar:
[javac] Compiling 1039 source files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
set-buildinfo-vars:
[echo] Version: 4.5
generate-buildinfo:
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/buildinfo
[javac] Compiling 1 source file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/classes
jar:
[echo] Hostname: hanysys
[jar] Building jar: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/zimbrastore.jar
set-buildinfo-vars:
[echo] Version: 4.5
generate-ldap-config:
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/attrs
[copy] Copying 2 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/attrs
[mkdir] Created dir: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/ldap-config
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/ldap-config
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/ldap-config
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/ldap-config
stop-tomcat-windows:
stop-tomcat-unix:
[exec] Result: 255
stop-tomcat:
stop-ldap-windows:
stop-ldap-unix:
[exec] Shutting down ldap-server..done
stop-ldap:
stop-servers:
choose-db-schema:
[echo] Using database schema in src/db
db-init:
[sql] Executing file: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/src/db/dropdb.sql
[sql] 201 of 201 SQL statements executed successfully
[sql] Executing file: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/src/db/db.sql
[sql] 23 of 23 SQL statements executed successfully
[sql] Executing file: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/versions-init.sql
[sql] 3 of 3 SQL statements executed successfully
dir-init:
[echo] If the following deletes fail, wait for your tomcat
[echo] to stop (or stop your tomcat as the case may be)
[echo] and try again later.
[delete] Deleting 5 files from /opt/zimbra/db
[delete] Deleting directory /opt/zimbra/store
[delete] Deleting directory /opt/zimbra/index
[delete] Deleting directory /opt/zimbra/redolog
[delete] Deleting directory /opt/zimbra/backup
[delete] Deleting directory /opt/zimbra/lib/ext
[delete] Deleting directory /opt/zimbra/conf/msgs
[delete] Deleting: /opt/zimbra/tomcat/webapps/service.war
[delete] Deleting directory /opt/zimbra/openldap/var/openldap-data
[mkdir] Created dir: /opt/zimbra/openldap/var/openldap-data
[mkdir] Created dir: /opt/zimbra/store
[mkdir] Created dir: /opt/zimbra/index
[mkdir] Created dir: /opt/zimbra/redolog
[mkdir] Created dir: /opt/zimbra/redolog/archive
[mkdir] Created dir: /opt/zimbra/backup
make-dirs:
[echo] Creating dirs under /opt/zimbra
[mkdir] Created dir: /opt/zimbra/conf/msgs
[mkdir] Created dir: /opt/zimbra/lib/ext
war:
[echo] war.exclude=ical4j-0.9.16-patched.jar,servlet-api.jar,jsp-api.jar,mail.jar,activation.jar,zimbra-native.jar,KeyView.jar
[war] Building war: /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/service.war
dev-dist-unix:
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib
[copy] Copying /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/lib/libzimbra-native.so.Linux.i386 to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/libzimbra-native.so
dev-dist:
[copy] Copying 55 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/bin
[copy] Copying 41 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/libexec
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/bin
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/bin
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf
[copy] Copying 2 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf/msgs
[copy] Copying 2 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf/attrs
[copy] Copying 35 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/jars
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/jars
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/jars
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/jars
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/lib/jars
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/webapps
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/conf
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/conf
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/conf
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/conf
[copy] Copying 4 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/common/lib
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/tomcat/common/endorsed
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/conf
[copy] Copying 4 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/openldap/etc/openldap
[copy] Copying 2 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/openldap/etc/openldap/schema
[copy] Copying 2 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/db
[copy] Copying 2 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/db
[copy] Copying 1 file to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/db
[copy] Copying 14 files to /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/wiki
localhost-ssl-cert:
[delete] Deleting 1 files from /opt/zimbra/tomcat/conf
[genkey] Generating Key for tomcat
[genkey] Generating Key for tomcat-dsa
init-opt-zimbra:
[copy] Copying 180 files to /opt/zimbra
start-ldap-windows:
start-ldap-unix:
[exec] Starting ldap-server..done
start-ldap:
zmprov-commands:
ldap-load:
ldap-add:
[echo] Loading /home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build/dist/openldap/etc/openldap/zimbra.ldif
[exec] ldap_bind: Invalid credentials (49)

BUILD FAILED
/home/Hany/ZCS/zimbra/trunk/branches/FRANK/ZimbraServer/build.xml:579: The following error occurred while executing this line:
-------------------------------------------------------------------------------------------------------------------------------

sorry for long mail.

Regards
Hany