Skip to Content.
Sympa Menu

grouper-users - [grouper-users] FW: Grouper WS is failing to build with ant

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] FW: Grouper WS is failing to build with ant

Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: "" <>
  • Subject: [grouper-users] FW: Grouper WS is failing to build with ant
  • Date: Thu, 21 Apr 2016 15:18:08 +0000
  • Accept-language: en-US
  • Authentication-results:; dkim=none (message not signed) header.d=none;; dmarc=none action=none;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

Good catch, changed the suggested fix a bit, but its fixed now.  Thanks, Chis


From: [mailto:] On Behalf Of John Gasper
Sent: Wednesday, April 20, 2016 6:11 PM
Subject: [grouper-users] Grouper WS is failing to build with ant


Hi Chris,


I pulled down the grouper-war tar.gz file and have minimal that points to the grouper-apiBinary. When I run ant, I get:


      [jar] Building jar: /opt/

    [mkdir] Created dir: /opt/

   [delete] Deleting directory /opt/

    [mkdir] Created dir: /opt/

    [javac] /opt/ warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

    [javac] Compiling 314 source files to /opt/

    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6

    [javac] /opt/ error: cannot find symbol

    [javac] import edu.internet2.middleware.grouper.GrouperSession;

    [javac]                                        ^

    [javac]   symbol:   class GrouperSession

    [javac]   location: package edu.internet2.middleware.grouper

    [javac] /opt/ error: package edu.internet2.middleware.grouper.helper does not exist

    [javac] import edu.internet2.middleware.grouper.helper.SubjectTestHelper;



This is an automated build that worked fine with 2.2.1 and 2.2.2. The only change I expect to make was point the to:



Fixed this by modifying the build.xml:


              <!-- compile first -->

                     <path id="generated.client.class.path">

                        <!-- Make available jar files that Grouper needs -->

                        <fileset dir="${generated.client.project.dir}">

                          <!-- matches lib and libRampart -->

                          <include name="lib**/*.jar" />


           <fileset dir="${grouper.dir}/lib" includes="**" />

           <fileset dir="${grouper.dir}/dist/lib" includes="**" />



${grouper.dir}/lib was needed to get the grouperClient.jar, the dist/lib was needed to get the grouper jar and the grouper test jar, both of which were required.


Not sure if there is something that should have been done, but that allowed the build to complete. I can make a PR if desired.



John Gasper
IAM Consultant
Unicon, Inc.
PGP/GPG Key: 0xbafee3ef


Archive powered by MHonArc 2.6.16.

Top of Page