Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Patching Grouper prior to "patch" command in grouperInstaller.jar

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Patching Grouper prior to "patch" command in grouperInstaller.jar


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Waldbieser, Carl" <>
  • Cc: grouper-users <>
  • Subject: [grouper-users] RE: Patching Grouper prior to "patch" command in grouperInstaller.jar
  • Date: Wed, 25 Feb 2015 21:32:44 +0000
  • Accept-language: en-US

Of course! :) or just rsync over or whatever

-----Original Message-----
From: Waldbieser, Carl
[mailto:]

Sent: Wednesday, February 25, 2015 4:32 PM
To: Chris Hyzer
Cc: grouper-users
Subject: Re: Patching Grouper prior to "patch" command in grouperInstaller.jar

Chris,

OK-- I get it.
Can I take the patched expanded warfile and `jar` it back into a warfile for
re-deployment to other servers?

Thanks,
Carl

----- Original Message -----
From: "Chris Hyzer"
<>
To: "Carl Waldbieser"
<>
Cc: "grouper-users"
<>
Sent: Wednesday, February 25, 2015 4:29:56 PM
Subject: RE: Patching Grouper prior to "patch" command in grouperInstaller.jar

You need to specify where the UI expanded warfile is, not the UI source
file... we are thinking about adding the ability to patch source dirs too in
the future

Thanks,
Chris

-----Original Message-----
From: Waldbieser, Carl
[mailto:]

Sent: Wednesday, February 25, 2015 4:25 PM
To: Chris Hyzer
Cc: grouper-users
Subject: Re: Patching Grouper prior to "patch" command in grouperInstaller.jar

Chris,

That worked for patching the grouper API.
I tried patching the UI, and I ran into an odd situation:


[root@grouper0
DEV ~]# ls -l /opt/internet2/grouper/grouper.ui/
total 148
-rw-r--r--. 1 grouper grouper 633 Nov 9 15:04
additional-build.template.xml
-rw-r--r--. 1 grouper grouper 5616 Nov 17 13:37 build.properties
-rw-r--r--. 1 grouper grouper 5484 Nov 9 15:04 build.properties.template
-rw-r--r--. 1 grouper grouper 37089 Nov 9 15:04 build.xml
-rw-r--r--. 1 grouper grouper 14901 Nov 9 15:04 catalina-ant.jar
drwxr-xr-x. 7 grouper grouper 4096 Nov 14 13:51 conf
drwxr-xr-x. 5 grouper grouper 4096 Nov 14 13:47 contrib
drwxr-xr-x. 3 root root 4096 Feb 5 14:25 dist
drwxr-xr-x. 2 grouper grouper 4096 Nov 14 13:47 doc
drwxr-xr-x. 6 grouper grouper 4096 Nov 9 15:04 java
-rw-r--r--. 1 grouper grouper 2161 Nov 9 15:04 log4j.template.properties
drwxr-xr-x. 4 grouper grouper 4096 Nov 14 13:47 misc
-rw-r--r--. 1 grouper grouper 1757 Nov 9 15:04 README.txt
drwxr-xr-x. 3 grouper grouper 4096 Nov 9 15:04 srcPoc
drwxr-xr-x. 3 root root 4096 Feb 5 14:25 temp
-rw-r--r--. 1 grouper grouper 155 Nov 9 15:04
template-tomcat-context.xml
-rw-r--r--. 1 root root 155 Nov 14 13:51 tomcat-context.xml
-rw-r--r--. 1 grouper grouper 4009 Nov 9 15:04 tomcat-tasks.xml
-rw-r--r--. 1 grouper grouper 428 Oct 31 00:00 tomcat-users.xml
drwxr-xr-x. 9 grouper grouper 4096 Nov 14 13:47 webapp
-rw-r--r--. 1 grouper grouper 1178 Nov 9 15:04 web-xml-merge-tags.xml
-rw-r--r--. 1 grouper grouper 5846 Nov 9 15:04 web-xml-merge.xsl


[root@grouper0
grouper.installer-2.2.1]# java -jar grouperInstaller.jar
Do you want to 'install' a new installation of grouper, 'upgrade' an
existing installation
or 'patch' an existing installation
(enter: 'install', 'upgrade', 'patch' or blank for the default)
[install]: patch
Enter in a Grouper temp directory to download tarballs (note: better if
no spaces or special chars)
[/var/opt/internet2/grouper/grouper.installer-2.2.1]:
What do you want to patch? api, ui, ws, or psp? [api]: ui
Where is the grouper UI installed? /opt/internet2/grouper/grouper.ui
Cant find Grouper UI properties files or libs, looked in the directory,
/classes/ , /conf/ , /WEB-INF/classes/ , /lib/ , /WEB-INF/lib/ ,
/lib/grouper/ , /dist/lib/
Where is the grouper UI installed? /opt/internet2/grouper/grouper.ui/
Cant find Grouper UI properties files or libs, looked in the directory,
/classes/ , /conf/ , /WEB-INF/classes/ , /lib/ , /WEB-INF/lib/ ,
/lib/grouper/ , /dist/lib/
Where is the grouper UI installed?
^C[root@grouper0
grouper.installer-2.2.1]#

The installer doesn't seem to recognize that the UI is there ...

Thanks,
Carl Waldbieser
ITS System Programmer
Lafayette College

----- Original Message -----
From: "Chris Hyzer"
<>
To: "Carl Waldbieser"
<>,
"grouper-users"
<>
Sent: Tuesday, February 24, 2015 4:05:04 PM
Subject: RE: Patching Grouper prior to "patch" command in grouperInstaller.jar

Yes, download the newest. I haven’t wanted to do a new release just to
update the software that updates the software... so please download again :)

Thanks,
Chris

-----Original Message-----
From:


[mailto:]
On Behalf Of Waldbieser, Carl
Sent: Tuesday, February 24, 2015 8:38 AM
To: grouper-users
Subject: [grouper-users] Patching Grouper prior to "patch" command in
grouperInstaller.jar


I have grouperInstaller-2.2.1. When I run `java -jar grouperInstaller.jar`:


[root@grouper0
DEV grouper.installer-2.2.1]# java -jar grouperInstaller.jar
Do you want to 'install' a new installation of grouper, or 'upgrade' an
existing installation
(enter: 'install' or 'upgrade' or blank for the default) [install]: patch
Please enter 'install' or 'upgrade' or blank for default (which is install)
Do you want to 'install' a new installation of grouper, or 'upgrade' an
existing installation
(enter: 'install' or 'upgrade' or blank for the default) [install]:
^C[root@grouper0
DEV grouper.installer-2.2.1]#

So it seems like I don't yet have the 'patch' command.
Can I download the newest 2.2.1 grouperInstaller and run 'patch' with that?
Or is there another recommended way to patch? Or should I just wait until
the next release and upgrade?

Thanks,
Carl Waldbieser
ITS System Programmer
Lafayette College



Archive powered by MHonArc 2.6.16.

Top of Page