Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Build script errors after successful 2.3 to 2.4 "upgrade" run.

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Build script errors after successful 2.3 to 2.4 "upgrade" run.


Chronological Thread 
  • From: "Redman, Chad" <>
  • To: "O'Dowd, Josh" <>, "" <>
  • Subject: [grouper-users] RE: Build script errors after successful 2.3 to 2.4 "upgrade" run.
  • Date: Wed, 26 Sep 2018 05:32:29 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:hGXFkRxSGZUlMj/XCy+O+j09IxM/srCxBDY+r6Qd0uoWI/ad9pjvdHbS+e9qxAeQG9mDtLQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYQhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7Vq4/Vyi84Kh3SR/okCYHOCA/8GHLkcx7kaZXrAu8qxBj34LYZYeYP+d8cKzAZ9MXXWpPUNhMWSxdDI2ybIUPAOgAPelEoIfyqEADrQenBQWwGO/j1iNEimHw0KYn0+ohCwbG3Ak4Et4ArHrbssj6NKIIXuCz1KXD0CvOb/NM1jjg5oTDbxcsru2MXb1qbMXe0VMvGB3YgVWVs4PlOSiY1vkLs2eH9eZvS/+gi3M+pgx3vzOhxd8sh5HXio0P1lzI6CB0zJsoKdGlTUN7b9GpHIdMuyyfOYt5XMMvT39ttSs/y7AKpIO3cDAIxZg63RLSaviKf5KJ7x/gTuqdPDN1iX19dLKxmRm/8lSsx+j5W8S21FtFszBKn9zRuX0P1RHf9M2KR/Rh8Uev1zuC0h7f5fpKLE03k6fQNoQvzaQqlpUJtETOBi/2l1vyjK+Rbkgq4vSl5eP7brjmv5ORKo17hh/nPqQpgcOwH/40Mg8TX2iH4uu806Dj/UvkT7lQlv02iK7ZsIzEKssHuq65AghV0oA55xa4EjemzNAYnX4ALFJGYh6Ik4/pO1TWLPD5C/ewnUisnS91y//cIrHtH5DAImXenLv8eLt95UFRxBYvwd1a6ZJbFLEMLOz2V0L0tdHUEwI1PxSxw+n9CdV90o0eWXiIAq+cKK7drV+I6fgyLOaUfo8apivyK/0/6P7olnI5hFkdcrWz0ZQJdX+4A+xqI1+Fbnr0ntcBDWAKsxIxTOzwj12CTCZTaGioX64l+zE7E5ypDZ3YRo22hLyB3Ty7HoFNZmxYEFyMEHHod5maVPcWbiKdPNNhniIeWbe/VoAhyELmiAivgZ0oAu3L9mlQl5X41JI9s8/UjhF00nNYCNuR+2SWSCdpm39OSjMriuQ360NnzUqb3LI9nudVD8d75vVVXx08OIKGieF2Fpq6Dg3becqRRUzjX86rGyoZT9QtzsUIblonXdiuk0aQ8TCtBupfrbGHAZUytur333H9bY4pwHbP2J47glUjS81nKGutwKNz6l6AVMbyj0yFmvPyJuwn1ynX+TLGlDLW5hsKWRNsUajDQXEUb1fXqtK8/E7ZUruyEup9YBBZx5uELa1HIp3ygFNKSe2rGeyWYnn52gLSTQ2N2qvKaYPrf2sH2yCIA0gNnzcJ8HqDPA4WGyGq5W/SEW8mGA==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

The UI source isn't up to date in /opt/grouper/grouper.ui. The methods in
GenericServletResponseWrapper and CaptureServletOutputStream shouldn't have
these errors, since the methods have been implemented in 2.4, in order to
work with Servlet 3.0. Also, the error line numbers are off by one in both
cases, compared with the current source.

The UI upgrader will upgrade the Tomcat grouper webapp (there will be a
WEB-INF inside this folder), but it doesn't upgrade the original 2.3 sources
it was built from. You shouldn't need to run the ant build anyway, as the
upgrader did the build in a temporary directory to create the libraries, and
then copied the results to the webapp you specified in the installer. If you
wanted updated sources for the sake of completeness, they should be in the
temporary ${tarballs}/grouper.ui-2.4.0 directory.

Skipping your ant step, is the upgraded webapp already working correctly?

-Chad




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


[mailto:]
On Behalf Of O'Dowd, Josh
Sent: Tuesday, September 25, 2018 1:05 PM
To:

Subject: [grouper-users] Build script errors after successful 2.3 to 2.4
"upgrade" run.

Hi,

Per some recent advice, I downloaded the 2.4 installer jar and ran using the
"upgrade" option. We accepted the defaults during that process, for the most
part, and it completed successfully.

Our issue now is that when I run ant target in the grouper.ui directory, we
are getting the following errors durring the "grouper.compile" task:
-compileGrouper:
[mkdir] Created dir: /opt/grouper/grouper.ui/temp/jarBin
[javac] /opt/grouper/grouper.ui/build.xml:452: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
[javac] Compiling 324 source files to /opt/grouper/grouper.ui/temp/jarBin
[javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.5
[javac] warning: [options] source value 1.5 is obsolete and will be
removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be
removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options,
use -Xlint:-options.
[javac]
/opt/grouper/grouper.ui/java/src/edu/internet2/middleware/grouper/j2ee/GenericServletResponseWrapper.java:35:
error: GenericServletResponseWrapper is not abstract and does not override
abstract method getHeaderNames() in HttpServletResponse
[javac] public class GenericServletResponseWrapper extends
ServletResponseWrapper implements HttpServletResponse {
[javac] ^
[javac]
/opt/grouper/grouper.ui/java/src/edu/internet2/middleware/grouper/ui/CaptureServletOutputStream.java:47:
error: CaptureServletOutputStream is not abstract and does not override
abstract method setWriteListener(WriteListener) in ServletOutputStream
[javac] public class CaptureServletOutputStream extends
ServletOutputStream {
[javac] ^
[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.
[javac] 2 errors
[javac] 4 warnings

I am running Oracle Java 8 latest JDK.

Any thoughts?

Thanks.
-Josh



Archive powered by MHonArc 2.6.19.

Top of Page