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: Chris Hyzer <>
  • To: "Bryan E. Wooten" <>, "" <>
  • Subject: [grouper-users] RE: How do I build the Admin UI?
  • Date: Mon, 29 Jul 2013 19:02:41 +0000
  • Accept-language: en-US

It works for me, maybe try with the ant version from out site…

 

[mchyzer@flash grouperTest]$ wget http://www.internet2.edu/grouper/release/2.1.4/grouper.apiBinary-2.1.4.tar.gz

[mchyzer@flash grouperTest]$ wget http://www.internet2.edu/grouper/release/2.1.4/grouper.ui-2.1.4.tar.gz

[mchyzer@flash grouperTest]$ wget http://www.internet2.edu/grouper/downloads/tools/apache-ant-1.8.2-bin.tar.gz

[mchyzer@flash grouperTest]$ tar xzf grouper.apiBinary-2.1.4.tar.gz

[mchyzer@flash grouperTest]$ tar xzf grouper.ui-2.1.4.tar.gz

[mchyzer@flash grouperTest]$ tar xzf apache-ant-1.8.2-bin.tar.gz

[mchyzer@flash grouperTest]$ cd grouper.ui-2.1.4

[mchyzer@flash grouper.ui-2.1.4]$ cp build.properties.template build.properties

[mchyzer@flash grouper.ui-2.1.4]$ emacs build.properties

grouper.folder=../grouper.apiBinary-2.1.4

should.copy.context.xml.to.metainf=false

[mchyzer@flash grouper.ui-2.1.4]$ ../apache-ant-1.8.2/bin/ant dist

BUILD SUCCESSFUL

Total time: 8 seconds

[mchyzer@flash grouper.ui-2.1.4]$

 

 

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

 

Before I saw your reply I just bumped stack size to 4 meg and left everything else the same.

 

My build has been running for over 20 minutes.

 

It is doing this  over and over and over:

 

-setup:

 

-choose-webapp:

[propertyfile] Updating property file: /root/sandbox/grouper-2.1.4/.lastbuild.properties

     [echo] In setup - do.clean = true   cleanable=${webapp.folder.cleanable}

 

-doStop:

 

-doCleanWebappClassFolder:

     [echo] Removing  /root/sandbox/grouper-2.1.4/dist/grouper/WEB-INF/classes

 

-doClean:

     [echo] Removing  /root/sandbox/grouper-2.1.4/dist/grouper

   [delete] Deleting directory /root/sandbox/grouper-2.1.4/temp

    [mkdir] Created dir: /root/sandbox/grouper-2.1.4/temp

 

-resources:

     [echo] In resources - Build folder = /root/sandbox/grouper-2.1.4/dist/grouper

 

-dist-grouper:

     [echo] Building Grouper API

 

dist:

 

-setup:

 

-choose-webapp:

[propertyfile] Updating property file: /root/sandbox/grouper-2.1.4/.lastbuild.properties

     [echo] In setup - do.clean = true   cleanable=${webapp.folder.cleanable}

 

-doStop:

 

-doCleanWebappClassFolder:

     [echo] Removing  /root/sandbox/grouper-2.1.4/dist/grouper/WEB-INF/classes

 

-doClean:

     [echo] Removing  /root/sandbox/grouper-2.1.4/dist/grouper

   [delete] Deleting directory /root/sandbox/grouper-2.1.4/temp

    [mkdir] Created dir: /root/sandbox/grouper-2.1.4/temp

 

-resources:

     [echo] In resources - Build folder = /root/sandbox/grouper-2.1.4/dist/grouper

 

-dist-grouper:

     [echo] Building Grouper API

 

dist:

 

-setup:

 

-choose-webapp:

 

Could there be a problem with the downloaded 2.1.4 build.xml?

 

-Bryan

 

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

 

That’s way too much perm gen… Im not sure if it allocates that much space whether it needs it or not…  also, I don’t think you need the min memory size to equal the max…  I would do something like this:

 

export ANT_OPTS="-Xms100m -Xmx1536m -XX:PermSize=100m -XX:MaxPermSize=200m"

 

If you keep getting perm gen errors, you can bump up the max perm size…  though I would be surprised if you need more than 200m…

 

Thanks,

chris

 

 

 

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

 

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 []
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