Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Congratulations and a question

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Congratulations and a question


Chronological Thread 
  • From: Mark McLaren <>
  • To:
  • Subject: Re: [grouper-users] Congratulations and a question
  • Date: Sat, 25 Dec 2004 14:04:00 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=U9dbLLR9fM1IIGQIAB2lK1612gylPcDtYThduCUUWPGdoaomPIfmepMLPS4aM5hoq3DBpvLcihObxGI9DUFIIkcMlEWcxta11Xwp2F4OG+neF695ns5pGb0m1bsyPiq1IE3FdbdjydU9lwy26z1DTnmuVMj0dH7w3VkQvcAcKb4=

Hi Keith,

I agree, even this early release of Grouper is very impressive. As
I've played with it for a bit I recognised your classpath problem. To
get it working add the following to your Java CLASSPATH and it should
run fine.

~/grouper-0.5/dist/lib/Grouper.jar
~/grouper-0.5/dist/lib/Grouper-lib.jar
~/grouper-0.5/conf

Grouper-lib.jar currently contains all the third party libraries
Grouper uses, not sure I like that idea but it works!

Or if you're feeling really lazy (it is Christmas!) you could just add
the following target to the build.xml file in the csv2subject
directory and it will use the build CLASSPATH. Note you'll have to
change the arguments of the target inside the build.xml file if you
want it to actually do the import.

<target name="run" depends="init">
<java classname="csv2subject"
fork="true"
>
<classpath>
<path refid="project.class.path"/>
<pathelement path="."/>
</classpath>
<arg value="-h"/>
</java>
</target>

Happy Christmas All.

Mark


On Fri, 24 Dec 2004 23:28:20 -0600, Keith Hazelton
<>
wrote:
> Congratulations to Blair, Tom and the Grouper team. The 0.5 release is
> my favorite Christmas present so far this year. The install and test
> harnesses all worked fine on my Mac OS 10.3.7 powerbook g4.
>
> Now I'm playing with the contributed software, starting with csv2subject.
>
> I'm getting a class not found exception that refers to the apache
> commons cli "ParseException"
> Relevant bits of the session:
>
> keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/csv2subject
> keith$ echo $CLASSPATH
> .:/Users/keith/Documents/mace/mace-dir/grouper/grouper-0.5/dist/lib/:/Users/keith/Documents/mace/mace-dir/grouper/grouper-0.5/dist/conf
> keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/csv2subject
> keith$ rm csv2subject.class
> keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/csv2subject
> keith$ ant
> Buildfile: build.xml
>
> init:
>
> build:
> [javac] Compiling 1 source file to
> /Users/keith/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/csv2subject
>
> BUILD SUCCESSFUL
> Total time: 4 seconds
> keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/csv2subject
> keith$ java csv2subject -h
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/commons/cli/ParseException
> keiths-g4:~/Documents/mace/mace-dir/grouper/grouper-0.5/contrib/load/csv2subject
> keith$
>
> Hints?
>
> --Keith
>
> ________________________________________________________
> Keith Hazelton Senior IT Architect, UW-Madison
> (608) 262-0771 Division of Info. Technology
> (608) 877-0977 (home) 1210 W. Dayton St., rm. 2164
> http://arch.doit.wisc.edu/keith Madison, WI 53706
>
>



Archive powered by MHonArc 2.6.16.

Top of Page