From: Chris T. <cmt...@gm...> - 2005-11-10 20:55:19
|
when I run ant cmd from cmd line I get: \Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher does this mean I need certain libraries on my $CLASSPATH? Which ones and where are they? I'm using 2.4.21-15.EL RedHat but have installed my own java and ant becaus= e I don't have root. On 11/10/05, Angel Pizarro <an...@ma...> wrote: > > Try: > > $ build GUS install -append -returnErrStatus -installDBSchema > > This may give you a useful error message. Other than that, try > un-commenting line line 41 in build.pl to see the ant command that is > run and try cutting/pasting this command to get even more verbose output > from straight from ant. > > > > > Chris Topinka wrote: > > > > PATH=3D/home/oracle/usr/local/SunWappserver/jdk/jre/bin:/home/oracle/usr/= local/apache- > ant-1.6.5 > /bin:/home/oracle/GUS/gus_home/bin:/home/oracle/GUS/project_home/install/= bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/orac= le/product/9.2.0/bin:/sbin:/usr/local/java/bin:/home/oracle/bin > > > > > > this is my $PATH > > > > which java and which ant now returns the bins that I want and > > installed in my home (I don't have root unfortunately). Before which > > had old ant and no java. > > > > Now when I run build it exits immediately with no output. > > > > What does build require exactly? In what order? > > > > Is there a simpler way to get the xml schema onto my oracle db? > > > > Thanks > > On 11/8/05, *msa...@pc... <mailto:msa...@pc...>* > > <msa...@pc... <mailto:msa...@pc...>> wrote: > > > > Hi Chris, > > > > I would double check your version of Ant. I believe 1.6.2 is > > required. Also, > > if on Linux, make sure you're using the copy you think you are-- > > RedHat for a > > while included a non-compatible version of Ant. Do 'which ant' to > > display the > > version in use. Also, make sure there is no /etc/ant.conf file. > > > > --Mike > > > > Quoting Chris Topinka <cmt...@gm... > > <mailto:cmt...@gm...>>: > > > > > When I run: > > > > > > build GUS install -append -installDBSchema > > > > > > I immediately get: > > > ant [options] [target [target2 [target3] ...]] > > > > > > and then 'build' terminates > > > > > > I couldn't find anything in the list archives with this output. > > Is there a > > > better way to search for this in the archives for future reference? > > > > > > I installed Ant myself, so this could very likely be the problem. > > > -- > > > Christopher M. Topinka > > > NLM-BHIRT Predoctoral Fellow in Computer Science > > > 113 Life Sciences Center > > > University of Missouri > > > Columbia, MO 65211 > > > (573)-823-0616 > > > cmt...@mi... <mailto:cmt...@mi...> > > > > > > > > > > > > > > > > > -- > > Christopher M. Topinka > > NLM-BHIRT Predoctoral Fellow in Computer Science > > 113 Life Sciences Center > > University of Missouri > > Columbia, MO 65211 > > (573)-823-0616 > > cmt...@mi... <mailto:cmt...@mi...> > > > > -- > > Angel Pizarro > Director, Bioinformatics Facility > Institute for Translational Medicine and Therapeutics > University of Pennsylvania > 806 BRB II/III > 421 Curie Blvd. > Philadelphia, PA 19104-6160 > > P: 215-573-3736 > F: 215-573-9004 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > -- Christopher M. Topinka NLM-BHIRT Predoctoral Fellow in Computer Science 113 Life Sciences Center University of Missouri Columbia, MO 65211 (573)-823-0616 cmt...@mi... |