grouper-users - Re: [grouper-users] Rebuilding the UI
Subject: Grouper Users - Open Discussion List
List archive
- From: Keith Hazelton <>
- To:
- Subject: Re: [grouper-users] Rebuilding the UI
- Date: Mon, 14 Jan 2013 13:52:20 -0600
- Priority: normal
Did the chmod. Now ant executes, but I have to set ANT_HOME to /usr/share/ant
or it can't find the ..launch/Launcher class.
When I set ANT_HOME that way, and run the Grouper ant, I'm back to the
missing class problem (the class
org.apache.tools.ant.taskdefs.optional.PropertyFile was not found):
----------
export ANT_HOME=/usr/share/ant
[root@arche
grouper.ui-2.1.2]# /opt/grouper-2.1.2/apache-ant-1.8.2/bin/ant war
Buildfile: build.xml
war:
dist:
-setup:
-choose-webapp:
BUILD FAILED
/opt/grouper-2.1.2/grouper.ui-2.1.2/build.xml:225: The following error
occurred while executing this line:
/opt/grouper-2.1.2/grouper.ui-2.1.2/build.xml:189: The following error
occurred while executing this line:
/opt/grouper-2.1.2/grouper.ui-2.1.2/build.xml:713: Problem: failed to create
task or type propertyfile
Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not
found.
This looks like one of Ant's optional components.
Action: Check that the appropriate optional JAR exists in
-/usr/share/ant/lib
-/root/.ant/lib
-a directory added on the command line with the -lib argument
Do not panic, this is a common problem.
The commonest cause is a missing JAR.
This is not a bug; it is a configuration problem
Total time: 0 seconds
----------
On 01/14/13, Shilen Patel wro
> What are the permissions on the ant file? Maybe:
>
> chmod +x /opt/grouper-2.1.2/apache-ant-1.8.2/bin/ant
> export ANT_HOME=/opt/grouper-2.1.2/apache-ant-1.8.2/ (may not be needed)
> /opt/grouper-2.1.2/apache-ant-1.8.2/bin/ant war
>
> Thanks!
>
>
> -- Shilen
>
> On 1/14/13 2:34 PM, "Keith Hazelton"
> <>
> wrote:
>
> >I did the original install with the Grouper installer.
> >
> >I'm in /opt/grouper-2.1.2/grouper-ui-2.1.2
> >
> >When I do
> >export ANT_HOME=/opt/grouper-2.1.2//apache-ant-1.8.2/bin/
> >ant war
> >... I get ...
> >"could not find the main class: org.apache.tools.ant.launcher.Launcher"
> >
> >When I do
> >export ANT_HOME=/usr/share/ant
> >/opt/grouper-2.1.2/apache-ant-1.8.2/bin/ant war
> >... I get ...
> >"Permission denied."
> >
> > --Keith (clearly flailing but not quitting)
> >______________________
> >On Jan 14, 2013, at 12:29 PM, Shilen Patel wrote:
> >
> >> Did you originally install this using the grouper installer? If so, can
> >> you try the version of ant that was downloaded during the install?
> >> Presumably located at /opt/grouper-2.1.2/apache-ant-1.8.2/bin/ant
> >>
> >> Thanks!
> >>
> >> -- Shilen
> >>
> >> On 1/14/13 12:22 PM, "Keith Hazelton"
> >> <>
> >> wrote:
> >>
> >>> Got my new subject database basically working (thanks first & foremost
> >>>to
> >>> Chris & Shilen). I'm now trying to rebuild the Grouper 2.1.2 UI on
> >>>CentOS
> >>> 6.3 to use the new sources.xml.
> >>>
> >>> Experiencing some missing jar issues. I had to set ANT_HOME to
> >>> /usr/share/ant to pick up the launcher jar, but now I get the following
> >>> when I try to rebuild the UI
> >>>
> >>>
> >>> "the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not
> >>> found"
> >>>
> >>>
> >>> What jar is that class supposed to be in? I seem to have an up-to-date
> >>> ant install per yum. Thanks in advance for advice, --Keith
> >>>
> >>>
> >>> ----------
> >>> [root@arche
> >>> grouper.ui-2.1.2]# ant war
> >>> Buildfile: build.xml
> >>>
> >>>
> >>> war:
> >>>
> >>>
> >>> dist:
> >>>
> >>>
> >>> -setup:
> >>>
> >>>
> >>> -choose-webapp:
> >>>
> >>>
> >>> BUILD FAILED
> >>> /opt/grouper-2.1.2/grouper.ui-2.1.2/build.xml:225: The following error
> >>> occurred while executing this line:
> >>> /opt/grouper-2.1.2/grouper.ui-2.1.2/build.xml:189: The following error
> >>> occurred while executing this line:
> >>> /opt/grouper-2.1.2/grouper.ui-2.1.2/build.xml:713: Problem: failed to
> >>> create task or type propertyfile
> >>> Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile
> >>>was
> >>> not found.
> >>> This looks like one of Ant's optional components.
> >>> Action: Check that the appropriate optional JAR exists in
> >>> -/usr/share/ant/lib
> >>> -/root/.ant/lib
> >>> -a directory added on the command line with the -lib argument
> >>>
> >>>
> >>> Do not panic, this is a common problem.
> >>> The commonest cause is a missing JAR.
> >>>
> >>>
> >>> This is not a bug; it is a configuration problem
> >>>
> >>> ----------
> >>
> >
begin:vcard n:HAZELTON;KEITH;;; fn:KEITH D HAZELTON tel;work:608 262-0771 org:University of Wisconsin-Madison;DoIT adr:;;1210 W. Dayton St.;Madison;WI;53706;US email;work;internet: title:Sr. IT Architect version:2.1 end:vcard
- [grouper-users] Rebuilding the UI, Keith Hazelton, 01/14/2013
- Re: [grouper-users] Rebuilding the UI, Shilen Patel, 01/14/2013
- Re: [grouper-users] Rebuilding the UI, Keith Hazelton, 01/14/2013
- Re: [grouper-users] Rebuilding the UI, Keith Hazelton, 01/14/2013
- Re: [grouper-users] Rebuilding the UI, Shilen Patel, 01/14/2013
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [grouper-users] Rebuilding the UI, Keith Hazelton, 01/14/2013
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [grouper-users] Rebuilding the UI, Keith Hazelton, 01/14/2013
- Message not available
- Message not available
- Message not available
- Re: [grouper-users] Rebuilding the UI, Keith Hazelton, 01/14/2013
- Re: [grouper-users] Rebuilding the UI, Shilen Patel, 01/14/2013
Archive powered by MHonArc 2.6.16.