Re: Installationsproblem – ant wad.lib

#1282
Anonym

Hallo danny und alle andere,

habe mich entschieden komplettes System neu zu installieren.
Meine Schritte

1. Installation von Ubuntu 12.04 – 64 Bit auf einem root-Server.

2. Dann nach Installationanleitung
– PostgreSQL Version 9.1
apt-get install postgresql-9.1
apt-get install postgresql-contrib-9.1

– Java7 SDK
apt-get install openjdk-7-jdk

– Tomcat 7
apt-get install tomcat7
apt-get install ant

3. OpenZ heruntergeladen und ins /home/openz entpacken

mkdir /home/openz
cd /home/openz/
wget http://freefr.dl.sourceforge.net/project/openz/source%20distribution/openz_2.6.74.tar.gz
tar xvfz openz_2.6.74.tar.gz
cd

4. Eintrag im /etc/environment.

vim /etc/environment.

CATALINA_HOME=”/etc/tomcat7/”
CATALINA_BASE=”/etc/tomcat7/”
JAVA_HOME=”/usr/lib/jvm/java-7-openjdk”
ANT_HOME=”/usr/share/ant”
CATALINA_OPTS=”-Xms384M -Xmx512M -XX:MaxPermSize=256M”

5. Die Datenbank

su – postgres
psql
create role tad;
alter role tad with password ‘password’;
alter role tad login;
alter role tad SUPERUSER;
create database openz;
q

6. Openbravo.properties im config-Verzeichnis Modifizieren

vim /home/openz/config/Openbravo.properties

# ************************************************************************

# Documentation at http://wiki.openbravo.com/wiki/Openbravo.properties

####################
# Date/time format #
####################

dateFormat.js=%d-%m-%Y
dateFormat.sql=DD-MM-YYYY
dateFormat.java=dd-MM-yyyy
dateTimeFormat.java=dd-MM-yyyy HH:mm:ss
dateTimeFormat.sql=DD-MM-YYYY HH24:MI:SS

###########
# General #
###########

# Static content URL. Use the default value to make it dynamic.
# Don’t change this unless you know what you are doing
web.url=@actual_url_context@/web

# Context name, used in the final war file
context.name=openz

# Absolute path to the attachments directory
attach.path=/home/openz/attachments

# Absolute path to the external Multimedia Data Directory
multimedia.path=/tmp

#########################
# DEPLOYMENT Parameters #
#########################

# Absolute path to the tomcat directory
tomcat.path=xxx

# Absolute path to the deploy log directory
deploylogging.path=xxx

# Absolute path to the distribution directory
distribution.path=xxx

# Absolute path to the tarball directory
tarball.path=xxx

#Deploy mode: valid values [class, war, none]
deploy.mode=class

############
# Database #
############

bbdd.rdbms=POSTGRE
bbdd.driver=org.postgresql.Driver
bbdd.url=jdbc:postgresql://localhost:5432
bbdd.sid=openz
bbdd.systemUser=postgres
bbdd.systemPassword=syspass
bbdd.user=tad
bbdd.password=tad
bbdd.sessionConfig=select update_dateFormat(‘DD-MM-YYYY’)

##################
# Tomcat manager #
##################
#
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=admin
tomcat.manager.password=tad

##########################
# Development parameters #
##########################

bbdd.outputscript=databasescript.sql
bbdd.verbosity=INFO

# CSS Sprites Generator
generateSprites=no

# use js/css minimization (in local-context and war-file)
minimizeJSandCSS=yes

# How sqlc should execute the queries embedded in xsql file at compilation time
# traditional: only uses the base query ignoring all optional parameters
# optimized: includes most optional parameter to achieve better performance
# If optimized fails for some xsql files, downgrade level to traditional
sqlc.queryExecutionStrategy=optimized

##################
# Authentication #
##################

# Leave this empty to use the default login hardler.
# LAM server example: org.openbravo.authentication.lam.LamAuthenticationManager
authentication.class=

###########
# Add-ons #
###########

# External Pentaho Services
pentahoServer=

##############
# Validation #
##############

validate.model=true
isMinorVersion=false

7. Dump in die Datenbank importieren

psql openz < /home/openz/openz.sql 8. Zusammenbauen ant core.lib Ausgabe: Build failed Was mache ich falsch?

Scroll to Top