Changes to be compatible with new identity-abstraction package.
This commit is contained in:
parent
445b57496f
commit
d9644eb705
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
Name: @PACKAGE@
|
Name: @PACKAGE@
|
||||||
URL: http://www.novell.com/products
|
URL: http://www.novell.com/products
|
||||||
BuildRequires: libstdc++ libgcc gcc-c++ glib2-devel libstdc++-devel pkgconfig java-1_5_0-ibm-devel update-alternatives mono-devel servletapi5 identity-abstraction
|
BuildRequires: libstdc++ gcc-c++ glib2-devel libstdc++-devel pkgconfig java-1_5_0-ibm-devel update-alternatives mono-devel servletapi5 identity-abstraction
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
@ -33,10 +33,7 @@ ROOT = ../..
|
|||||||
|
|
||||||
LIBDIR = $(ROOT)/$(LIB)
|
LIBDIR = $(ROOT)/$(LIB)
|
||||||
|
|
||||||
#IDENT_ABSTRACTION_DIR = /usr/share/java/identity-abstraction
|
IDENT_ABSTRACTION_DIR = /usr/share/java/identity-abstraction
|
||||||
#IDENT_ABSTRACTION_DEPENDANCIES_DIR = /usr/share/java/identity-abstraction/dependancies
|
|
||||||
IDENT_ABSTRACTION_DIR = /usr/share/java/identity-abstraction-0.1.145
|
|
||||||
IDENT_ABSTRACTION_DEPENDANCIES_DIR = /usr/share/java/identity-abstraction-0.1.145
|
|
||||||
|
|
||||||
JAVAROOT = .
|
JAVAROOT = .
|
||||||
JAVAC= javac
|
JAVAC= javac
|
||||||
@ -81,8 +78,7 @@ AUTHTOKEN_FILES = -C $(BUILDDIR)/webapp/WEB-INF/classes com
|
|||||||
CLASSES = $(addprefix $(BUILDDIR)/, $(JAVAFILES:%.java=%.class))
|
CLASSES = $(addprefix $(BUILDDIR)/, $(JAVAFILES:%.java=%.class))
|
||||||
|
|
||||||
LIBS = /usr/share/java/servletapi5.jar
|
LIBS = /usr/share/java/servletapi5.jar
|
||||||
#CLASSPATH = $(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar:$(LIBS)
|
CLASSPATH = $(IDENT_ABSTRACTION_DIR)/identity-abstraction.jar:$(LIBS)
|
||||||
CLASSPATH = $(IDENT_ABSTRACTION_DIR)/identity-abstraction-0.1.145.jar:$(LIBS)
|
|
||||||
|
|
||||||
CUR_DIR := $(shell pwd)
|
CUR_DIR := $(shell pwd)
|
||||||
|
|
||||||
@ -101,7 +97,8 @@ $(BUILDDIR)/$(WEBAPP): $(BUILDDIR) $(CLASSES)
|
|||||||
cp src/com/novell/casa/authtoksvc/Krb5_mechanism.settings $(BUILDDIR)/webapp/WEB-INF/conf/installed_auth_mechanisms/Krb5Authenticate/mechanism.settings
|
cp src/com/novell/casa/authtoksvc/Krb5_mechanism.settings $(BUILDDIR)/webapp/WEB-INF/conf/installed_auth_mechanisms/Krb5Authenticate/mechanism.settings
|
||||||
cp src/com/novell/casa/authtoksvc/Pwd_mechanism.settings $(BUILDDIR)/webapp/WEB-INF/conf/installed_auth_mechanisms/PwdAuthenticate/mechanism.settings
|
cp src/com/novell/casa/authtoksvc/Pwd_mechanism.settings $(BUILDDIR)/webapp/WEB-INF/conf/installed_auth_mechanisms/PwdAuthenticate/mechanism.settings
|
||||||
cp $(IDENT_ABSTRACTION_DIR)/*.jar $(BUILDDIR)/webapp/WEB-INF/lib/
|
cp $(IDENT_ABSTRACTION_DIR)/*.jar $(BUILDDIR)/webapp/WEB-INF/lib/
|
||||||
cp $(IDENT_ABSTRACTION_DEPENDANCIES_DIR)/*.jar $(BUILDDIR)/webapp/WEB-INF/lib/
|
rm $(BUILDDIR)/webapp/WEB-INF/lib/identity-abstraction.jar
|
||||||
|
ls $(BUILDDIR)/webapp/WEB-INF/lib/
|
||||||
jar cvf $(BUILDDIR)/$(WEBAPP) -C $(BUILDDIR)/webapp .
|
jar cvf $(BUILDDIR)/$(WEBAPP) -C $(BUILDDIR)/webapp .
|
||||||
cp $(BUILDDIR)/$(WEBAPP) $(LIBDIR)/java/
|
cp $(BUILDDIR)/$(WEBAPP) $(LIBDIR)/java/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user