Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: How do I build the Admin UI?

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: How do I build the Admin UI?


Chronological Thread 
  • From: "Bryan E. Wooten" <>
  • To: Chris Hyzer <>, "" <>
  • Subject: [grouper-users] RE: How do I build the Admin UI?
  • Date: Mon, 29 Jul 2013 17:11:12 +0000
  • Accept-language: en-US

Thanks, that helped. I just needed to do 2 small edits:

Editing C:\temp\grouperInstaller\grouper.ui-2.0.2\build.properties:

 - set property: grouper.folder from: ../grouper to: C:/temp/grouperInstaller/grouper.apiBinary-2.0.2

 - set property: should.copy.context.xml.to.metainf from: true to: false

 

Then when I ran the build I got an out of permgen space. So I did this:

 

export ANT_OPTS="-Xms1536m -Xmx1536m -XX:PermSize=1024m -XX:MaxPermSize=2048m"

 

But now I get this:

/root/sandbox/grouper-2.1.4/build.xml:693: The following error occurred while executing this line:

/root/sandbox/grouper-2.1.4/build.xml:8: java.lang.StackOverflowError

 

This is java version "1.6.0_24".

 

-Bryan

 

From: Chris Hyzer [mailto:]
Sent: Monday, July 29, 2013 10:33 AM
To: Bryan E. Wooten;
Subject: RE: How do I build the Admin UI?

 

You should be able to follow the instructions from the installer:  (note, wiki output might be outdated)

 

https://spaces.internet2.edu/display/Grouper/Grouper+Installer

 

Don’t rename to “grouper”, rename it back.  You need the grouper api binary there too, unzip that, then copy the build.properties.template to build.properties, edit that file (grouper.folder), with the location of grouper, I usually set that other setting below, then run ant dist

 

Downloading from URL: http://www.internet2.edu/grouper/release/2.0.2/grouper.ui-2.0.2.tar.gz to file: C:\temp\grouperIns

taller\grouper.ui-2.0.2.tar.gz

Unzipping: C:\temp\grouperInstaller\grouper.ui-2.0.2.tar.gz

Expanding: C:\temp\grouperInstaller\grouper.ui-2.0.2.tar

Copying file: C:\temp\grouperInstaller\grouper.ui-2.0.2\build.properties.template to file: C:\temp\grouperInstaller\grou

per.ui-2.0.2\build.properties

Editing C:\temp\grouperInstaller\grouper.ui-2.0.2\build.properties:

 - set property: grouper.folder from: ../grouper to: C:/temp/grouperInstaller/grouper.apiBinary-2.0.2

 - set property: should.copy.context.xml.to.metainf from: true to: false

Downloading from URL: http://www.internet2.edu/grouper/downloads/tools/apache-ant-1.8.2-bin.tar.gz to file: C:\temp\grou

perInstaller\apache-ant-1.8.2-bin.tar.gz

Unzipping: C:\temp\grouperInstaller\apache-ant-1.8.2-bin.tar.gz

Expanding: C:\temp\grouperInstaller\apache-ant-1.8.2-bin.tar

 

##################################

Building UI with command:

C:\temp\grouperInstaller\grouper.ui-2.0.2> cmd /c C:\temp\grouperInstaller\apache-ant-1.8.2\bin\ant.bat dist

 

 

Thanks,

Chris

 

 

From: [] On Behalf Of Bryan E. Wooten
Sent: Monday, July 29, 2013 12:28 PM
To:
Subject: [grouper-users] How do I build the Admin UI?

 

I download the source: http://www.internet2.edu/grouper/release/2.1.4/grouper.ui-2.1.4.tar.gz and extracted the files.

 

It gave me a directory “grouper.ui-2.1.4” which the build.xml did not like, I have to rename it to “grouper”. This made and happy and it starting building. Then about 6 minutes later I get this:

 

BUILD FAILED

java.lang.VerifyError: (class: org/apache/tools/ant/BuildException, method: setLocation signature: (Lorg/apache/tools/ant/Location;)V) Illegal constant pool index

        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1346)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)

        at org.apache.tools.ant.Main.runBuild(Main.java:758)

        at org.apache.tools.ant.Main.startAnt(Main.java:217)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

 

Total time: 6 minutes 12 seconds

java.lang.VerifyError: (class: org/apache/tools/ant/BuildException, method: setLocation signature: (Lorg/apache/tools/ant/Location;)V) Illegal constant pool index

        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1346)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)

        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)

        at org.apache.tools.ant.Main.runBuild(Main.java:758)

        at org.apache.tools.ant.Main.startAnt(Main.java:217)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

(class: org/apache/tools/ant/BuildException, method: setLocation signature: (Lorg/apache/tools/ant/Location;)V) Illegal constant pool index

 

The quickstart build works fine, I just need to be able build outside the quick start.

 

I am doing this on Redhat if that matters. I get the same error with the ant 1.7 that came on the box and using the ant 1.8 that came with the quickstart.

 

Any ideas?

 

Bryan




Archive powered by MHonArc 2.6.16.

Top of Page