Skip to Content.
Sympa Menu

grouper-dev - Re: [grouper-dev] grouper-qs build failure

Subject: Grouper Developers Forum

List archive

Re: [grouper-dev] grouper-qs build failure


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: RL 'Bob' Morgan <>, Grouper Dev <>
  • Subject: Re: [grouper-dev] grouper-qs build failure
  • Date: Thu, 06 Oct 2005 09:53:04 +0100

Bob,

Thanks for there error output.

The problem is due to the naming of Grouper.jar. The grouper dist target creates Grouper.jar, but the name in the QuickStart tar is grouper.jar. rename grouper.jar to Grouper.jar and hopefully things should work as advertised. Unix is case-sensitive whereas windows is not.

Some one had the opposite problem previously where Grouper.jar was present but the build script referenced grouper.jar - I then fixed the build script. Unfortunately, in another build script, used to create the QuickStart distribution, I copy Grouper.jar and effectively rename it as grouper.jar. I've now fixed that build script so it shouldn't happen again, however, it does show that we need to test the UI on Linus / Unix.

I'll figure out with Tom posting a fixed download.

Gary

--On 05 October 2005 14:45 -0700 RL 'Bob' Morgan <> wrote:


Steps I took:

(1) unpack grouper-qs in /usr/local/pkg/grouper/

(2) put user info into tomcat-users.xml as doc indicates

(3) restart tomcat

(4) edit grouper-qs/grouper-ui/build.properties, only modifying the line

deploy.home=/pkg/tomcat/tomcat

(5) change to grouper-qs, run "ant ui", select "default", get output
below indicating it can't find grouper/dist/lib/Grouper.jar .

I also tried this with an unmodified build.properties, selecting "war" as
the target, with the same result.

Oh, also, I had added catalina-ant.jar to ant/lib during some previous
fiddling.

- RL "Bob"

---

# ant ui
Buildfile: build.xml

ui:

auto:

help:
[echo] Please ensure you have read the documentation -
[echo] and created a build.properties file based on the template
provided

[echo] The following targets are available - type the appropriate
name:

[echo] 1) default
[echo] Simply builds, without cleaning, to the
default.webapp.folder
[echo] 2) nice
[echo] Attempts to stop the Tomcat webapp before building.
[echo] Attempts to start the webappp afterwards
[echo] 3) clean
[echo] Always removes the webapp.class.folder. May remove the
[echo] webapp.folder if webapp.folder.cleanable=true
[echo] On Windows this may fail as Windows tends to lock files
[echo] 4) niceclean
[echo] Combination of nice and clean
[echo] 5) dist
[echo] Cleans and then builds to subfolder of dist.home
[echo] 6) war
[echo] Does dist and then makes a WAR file
[echo] 7) resources
[echo] Does not compile Java classes but 'refreshes' resources
in
[echo] webapp.class.folder
[echo] 8) help
[echo] Displays this menu
[echo] 9) endhelp
[echo] Subsequent invocation of ant with no target will run
[echo] 'default' rather than help
[echo] 10) starthelp
[echo] Subsequent invocation of ant with no target will run
'help'
[echo] 11) html
[echo] Generate Javadoc - you must have done a 'default' build
previously
[echo] 12) exit
[echo] Exit this menu without executing another target

[input] Make your choice (exit)>
default
[propertyfile] Creating new property file:
/usr/local/pkg/grouper/grouper-qs/grouper-ui/.lastbuild.properties

default:

-setup:

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

-doStop:

-doCleanWebappClassFolder:

-doClean:

-resources:
[echo] In resources - Build folder =
/usr/local/pkg/grouper/grouper-qs/grouper-ui/../build/grouper

BUILD FAILED
/usr/local/pkg/grouper/grouper-qs/build.xml:44: The following error
occurred while executing this line:
/usr/local/pkg/grouper/grouper-qs/grouper-ui/build.xml:35: The following
error occurred while executing this line:
/usr/local/pkg/grouper/grouper-qs/grouper-ui/build.xml:538: The following
error occurred while executing this line:
/usr/local/pkg/grouper/grouper-qs/grouper-ui/build.xml:51: The following
error occurred while executing this line:
/usr/local/pkg/grouper/grouper-qs/grouper-ui/build.xml:449: The following
error occurred while executing this line:
/usr/local/pkg/grouper/grouper-qs/grouper-ui/build.xml:136:
../grouper/dist/lib/Grouper.jar does not exist. You must build and
configure Grouper before running this script

Total time: 13 seconds





----------------------
GW Brown, Information Systems and Computing



  • grouper-qs build failure, RL 'Bob' Morgan, 10/05/2005
    • Re: [grouper-dev] grouper-qs build failure, GW Brown, Information Systems and Computing, 10/06/2005

Archive powered by MHonArc 2.6.16.

Top of Page