ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Sheridan <tsheri...@intersectsoft.com>
Subject ANT/Cygwin Problem
Date Tue, 06 Aug 2002 13:00:37 GMT
I am trying to use ANT inside a Cygwin session on Windows 2000. It can't
find the main class when the script is executed. Has anyone run into this
kind of problem? (The 'ant.bat' script runs fine, but I would like to take
advantage of the shell script if possible.) Thanks, Tim

Here is the command line result:

$ ant
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/tools/ant/Main

Here are the mounted folders:

$ mount
Device              Directory           Type         Flags
d:\develop\jdk1.3.1  /usr/java           user         textmode
d:\develop\ant      /opt/ant            user         textmode
d:\cygwin\bin       /usr/bin            system       binmode
d:\cygwin\lib       /usr/lib            system       binmode
d:\cmroot           /cmroot             user         textmode
d:\cygwin           /                   system       binmode

Here is the environment variables that are set:

$ set
!::='::\'
!C:='C:\Documents and Settings\tsheridan\Desktop'
!D:='D:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
ANT_HOME='D:\develop\ant'
APPDATA='C:\Documents and Settings\tsheridan\Application Data'
BASH=/usr/bin/bash
BASH_VERSINFO=([0]="2" [1]="04" [2]="0" [3]="1" [4]="release"
[5]="i686-pc-cygwin")
BASH_VERSION='2.04.0(1)-release'
COLUMNS=95
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=EUCALYPTUS
COMSPEC='C:\WINNT\system32\cmd.exe'
DIRSTACK=()
DISKEEPERICON='C:\Program Files\Executive Software\DiskeeperWorkstation\'
EUID=500
GROUPS=()
HISTFILE=/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/administrator
HOMEDRIVE=C:
HOMEPATH='\'
HOSTNAME=EUCALYPTUS
HOSTTYPE=i686
IFS='
'
ISC_PROJECT_HOME='D:\cmroot\crosspoint'
JAVA_HOME='D:\develop\jdk1.3.1'
JBOSS_HOME='d:\develop\jboss'
JBUILDER_HOME='D:\develop\jbuilder'
LINES=123
LOGONSERVER='\\MAPLEJR'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE_MODE=unix
NUMBER_OF_PROCESSORS=1
OLDPWD=/cmroot/crosspoint/server/components
OPTERR=1
OPTIND=1
OS=Windows_NT
OS2LIBPATH='C:\WINNT\system32\os2\dll;'
OSTYPE=cygwin
PATH=/opt/ant/bin:/usr/local/bin:/usr/bin:/bin:/usr/java/bin:/cygdrive/c/WIN
NT/system32:/cygdri
ve/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:.:/cygdrive/c/PROGRA~1/Tcl/bin:/c
ygdrive/d/develop/a
nt/bin:/cmroot/crosspoint/tools/bin:/cygdrive/d/Oracle/Ora81/bin
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERSISTENCE_HOME='D:\PowerTier656'
PERSISTENCE_PANTRY='D:\cmroot\crosspoint\components\server'
PIPESTATUS=([0]="0")
PPID=1000
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 6 Model 4 Stepping 4, AuthenticAMD'
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0404
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1='\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
PS2='> '
PS4='+ '
PWD=/cmroot/crosspoint/client/components
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:interactive-comment
s:emacs
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINNT'
TEMP=/cygdrive/c/DOCUME~1/TSHERI~1/LOCALS~1/Temp
TERM=cygwin
UID=500
USER=administrator
USERDOMAIN=SHENANDOAH
USERNAME=tsheridan
USERPROFILE='C:\Documents and Settings\tsheridan'
WINDIR='C:\WINNT'
_=mount
i='/etc/profile.d/*.sh'

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message