Skip to Content.
Sympa Menu

grouper-dev - Latest Grouper-UI fails to build

Subject: Grouper Developers Forum

List archive

Latest Grouper-UI fails to build


Chronological Thread 
  • From: Mark Weber <>
  • To:
  • Subject: Latest Grouper-UI fails to build
  • Date: Mon, 16 Oct 2006 13:30:04 -0500

I checked out HEAD on Grouper/Grouper-UI and the UI still fails to build.

-compileGrouper:
[javac] Compiling 2 source files to /home/mgweber/project/dist/grouper/WEB-INF/classes
[javac] /home/mgweber/project/grouper-ui/java/src/edu/internet2/middleware/grouper/GrouperHelper.java:35: cannot find symbol
[javac] symbol : class FieldAsMap
[javac] location: package edu.internet2.middleware.grouper.ui.util
[javac] import edu.internet2.middleware.grouper.ui.util.FieldAsMap;
[javac] ^
[javac] /home/mgweber/project/grouper-ui/java/src/edu/internet2/middleware/grouper/GrouperHelper.java:2669: cannot find symbol
[javac] symbol : class FieldAsMap
[javac] location: class edu.internet2.middleware.grouper.GrouperHelper
[javac] res.add(new FieldAsMap(field,bundle));
[javac] ^
[javac] /home/mgweber/project/grouper-ui/java/src/edu/internet2/middleware/grouper/GrouperHelper.java:2689: cannot find symbol
[javac] symbol : class FieldAsMap
[javac] location: class edu.internet2.middleware.grouper.GrouperHelper
[javac] fieldMap=new FieldAsMap(field,bundle);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 errors

I tried to apply the patch that Tom B sent and got the following error:

patching file GrouperHelper.java
Hunk #1 FAILED at 2332.
1 out of 1 hunk FAILED -- saving rejects to file GrouperHelper.java.rej

with a reject file of:

***************
*** 2332,2337 ****
String priv;
! GrouperConfig config = GrouperConfig.getInstance();
for(int i=0;i<groupPrivs.length;i++){
priv = groupPrivs[i].toLowerCase();
! if("true".equals(config.getProperty("groups.create.grant.all." + priv))){
privs.put(priv,Boolean.TRUE);
--- 2332,2338 ----
String priv;
! /* tjb 11 sep 2006 GrouperConfig config = GrouperConfig.getInstance(); */
for(int i=0;i<groupPrivs.length;i++){
priv = groupPrivs[i].toLowerCase();
! /* tjb 11 sep 2006 if("true".equals(config.getProperty("groups.create.grant.all." + priv))){ */
! if("true".equals(GrouperConfig.getProperty("groups.create.grant.all." + priv))){
privs.put(priv,Boolean.TRUE);


I also tried the LowLevelGrouperCapableAction.java.diff and it appears that this patch has been applied.

What is the status & priority of these patches?
--Mark


--
.Mark G. Weber----------------------Division of Information Technology.
|
University Of Wisconsin - Madison|
|608/263.8945 Room 3159 Computer Science|
`---------------------------------------------------------------------'

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.16.

Top of Page