Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Rebuilding the UI

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Rebuilding the UI


Chronological Thread 
  • From: Keith Hazelton <>
  • To:
  • Subject: Re: [grouper-users] Rebuilding the UI
  • Date: Mon, 14 Jan 2013 13:34:30 -0600

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




Archive powered by MHonArc 2.6.16.

Top of Page