ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Melissa Marquis" <>
Subject RE: cvs problem - characters around the executableandargumentsarenot part of command
Date Tue, 06 May 2003 20:21:11 GMT
When I run from the command line it works: 

mmarquis@EMPDEV04 /cygdrive/c/home/mmarquis/tmp2/eyeq

$ cvs -d:pserver:mmarquis@dcvshost1:/home/empcvs update -P
? err.txt
? build/docs
? build/dist
? build/tests
? build/reports
? build/lib
? build/web
? build/WEB-INF
? build/classes
? dist/eyeq2_c4.jar
? dist/eyeq2_c5.jar
? dist/eyeq2_c11.jar
? dist/eyeq2_c12.jar
? docs/compliance_engine/com
? docs/compliance_engine/packages.html
? docs/compliance_engine/overview-frame.html
? docs/compliance_engine/overview-summary.html
? docs/compliance_engine/index.html
? docs/compliance_engine/package-list
? docs/compliance_engine/overview-tree.html
? docs/compliance_engine/help-doc.html
? docs/compliance_engine/serialized-form.html
? docs/compliance_engine/index-all.html
? docs/compliance_engine/allclasses-frame.html
? docs/compliance_engine/stylesheet.css
? docs/compliance_engine/deprecated-list.html
? etc/
? logs/build.stats
? logs/EyeQ2 Build-20030505-log.txt
? logs/EyeQ2 Build-20030506-log.txt
cvs server: Updating .
M build.xml
cvs server: Updating build
cvs server: Updating dist
cvs server: Updating docs
cvs server: Updating docs/compliance_engine
cvs server: Updating etc
cvs server: Updating logs
cvs server: Updating src
cvs server: Updating src/compliance_engine
cvs server: Updating src/compliance_engine/com
cvs server: Updating src/compliance_engine/com/empactsolutions
cvs server: Updating src/compliance_engine/com/empactsolutions/db
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/ce
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/ce/core
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/ce/core/form
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/ce/core/form
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/ce/core/form
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/ce/matcheven
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/participant
cvs server: Updating src/compliance_engine/com/empactsolutions/eyeq/security
cvs server: Updating src/compliance_engine/database
cvs server: Updating src/compliance_engine/testing

>> I tried the target and added the passfile attribute and got: <<

$ ant fetch -verbose
Apache Ant version 1.5.2 compiled on February 28 2003
Buildfile: build.xml
Detected Java version: 1.3 in: c:\jdk1.3.1_07\jre
Detected OS: Windows 2000
parsing buildfile build.xml with URI = file:c:/home/mmarquis/tmp2/eyeq/build.xml

Project base dir set to: C:\home\mmarquis\tmp2\eyeq
Build sequence for target `fetch' is [init, startrecorder, prepare, fetch]
Complete build sequence is [init, startrecorder, prepare, fetch, build-web, buil
d-all, build-stats-core, war, deploy-tom, compile-core, test-core, docs-web, und
eploy-tom, prepare-core-manifest, jar, clean, check-out-all, build-cvs, compile-
web, compile-all, ear, release-web, release-all, build-core, build-stats-web, pr
epare-web-manifest, release-core, docs-core, build-stats-all, prepare-all-manife
st, stoprecorder, cvs-login, test-web, test-all]

Override ignored for property name



      [cvs] Using cvs passfile: C:\Home\PersonalFolders\M Marquis\.cvspass

      [cvs] Executing 'cvs' with arguments:
      [cvs] '-d:pserver:mmarquis@dcvshost1:/home/empcvs'
      [cvs] 'update'
      [cvs] '-P'
      [cvs] The ' characters around the executable and arguments are
      [cvs] not part of the command.
      [cvs] environment:
      [cvs]     ALLUSERSPROFILE=C:\Documents and Settings\All Users
      [cvs]     ANT_HOME=c:\apache-ant-1.5.2
      [cvs]     APPDATA=C:\Documents and Settings\mmarquis\Application Data
      [cvs]     CLASSPATH=.;c:\PROGRA~1\IBM\SQLLIB\java\;c:\PROGRA~1\
      [cvs]     COMMONPROGRAMFILES=C:\Program Files\Common Files
      [cvs]     COMPUTERNAME=EMPDEV04
      [cvs]     COMSPEC=C:\WINNT\system32\cmd.exe
      [cvs]     CVSROOT=:pserver:mmarquis@dcvshost1:/home/empcvs
      [cvs]     CVS_RSH=/bin/ssh
      [cvs]     DB2INSTANCE=DB2
      [cvs]     DB2TEMPDIR=C:\PROGRA~1\IBM\SQLLIB\
      [cvs]     EYEQ=c:\home\mmarquis\development\eq_2.0\compliance_engine\
      [cvs]     GRINDER=C:\grinder-3.0-beta8
      [cvs]     HOME=c:\Home\PersonalFolders\M Marquis
      [cvs]     HOMEDRIVE=C:
      [cvs]     HOMEPATH=\Home\PersonalFolders\M Marquis
      [cvs]     HOMESHARE=\\\D$
      [cvs]     HOSTNAME=EMPDEV04
      [cvs]     JAVA_HOME=c:\jdk1.3.1_07
      [cvs]     LIB=C:\PROGRA~1\IBM\SQLLIB\LIB
      [cvs]     LOGONSERVER=\\OPS3
      [cvs]     MAKE_MODE=unix
      [cvs]     MANPATH=:/usr/ssl/man
      [cvs]     NUMBER_OF_PROCESSORS=1
      [cvs]     OLDPWD=/cygdrive/c/home/mmarquis/tmp2
      [cvs]     OS2LIBPATH=C:\WINNT\system32\os2\dll;
      [cvs]     OS=Windows_NT
      [cvs]     PATH=C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;c:\WINN
pache-ant-1.5.2\bin;c:\Program Files\Rational\common;c:\Program Files\Rational\R
      [cvs]     PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
      [cvs]     PROCESSOR_ARCHITECTURE=x86
      [cvs]     PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIn
      [cvs]     PROCESSOR_LEVEL=15
      [cvs]     PROCESSOR_REVISION=0102
      [cvs]     PROGRAMFILES=C:\Program Files
      [cvs]     PROMPT=$P$G
      [cvs]     PS1=\[\033]0;\w\007
      [cvs] \033[32m\]\u@\h \[\033[33m\w\033[0m\]
      [cvs] $
      [cvs]     PWD=/cygdrive/c/home/mmarquis/tmp2/eyeq
      [cvs]     SHLVL=1
      [cvs]     SYSTEMDRIVE=C:
      [cvs]     SYSTEMROOT=C:\WINNT
      [cvs]     TEMP=c:\DOCUME~1\mmarquis\LOCALS~1\Temp
      [cvs]     TERM=cygwin
      [cvs]     TMP=c:\DOCUME~1\mmarquis\LOCALS~1\Temp
      [cvs]     USER=mmarquis
      [cvs]     USERDOMAIN=CORP
      [cvs]     USERNAME=mmarquis
      [cvs]     USERPROFILE=C:\Documents and Settings\mmarquis
      [cvs]     VWSPATH=C:\PROGRA~1\IBM\SQLLIB
      [cvs]     WINDIR=C:\WINNT
      [cvs]     XALAN=C:\xalan-j_2_5_0
      [cvs]     _=/cygdrive/c/apache-ant-1.5.2/bin/ant
      [cvs]     CVS_PASSFILE=C:\Home\PersonalFolders\M Marquis\.cvspass
      [cvs] cvs update: authorization failed: server dcvshost1 rejected access t
o /home/empcvs for user mmarquis

Total time: 1 second

Then, interestingly enough, I tried running the same command I did at the beginning right
after this failed: 

mmarquis@EMPDEV04 /cygdrive/c/home/mmarquis/tmp2/eyeq
$ cvs -d:pserver:mmarquis@dcvshost1:/home/empcvs update -P
cvs update: authorization failed: server dcvshost1 rejected access to /home/empc
vs for user mmarquis

It seems I'm not authenticated anymore and/or do not have a valid session with CVS.  So I
mmarquis@EMPDEV04 /cygdrive/c/home/mmarquis/tmp2/eyeq
$ cvs login
(Logging in to mmarquis@dcvshost1)
CVS password:

And then run the cvs -d:pserver ... command again and it works. 

Any ideas?  I'm not sure what is going on - I'm going to see if the repository keeps a log
I can look at. 


-----Original Message-----
From: Jesse Stockall []
Sent: Tuesday, May 06, 2003 3:30 PM
To: Ant Users List
Subject: RE: cvs problem - characters around the
executableandargumentsarenot part of command

On Tue, 2003-05-06 at 15:14, Melissa Marquis wrote:
> Also,  when I run ant with verbose to see what is going on in either scenario (with cvs-login
target and without), I see: 
> [cvs] Executing 'cvs' with arguments:
> [cvs] '-d:pserver:mmarquis@dcvshost1:/home/empcvs'
> [cvs] 'update'
> [cvs] '-P'
> [cvs]
> [cvs] The ' characters around the executable and arguments are
> [cvs] not part of the command.

That's Ant telling you exactly what it is using as it's command line.

If you run 'cvs -d:pserver:mmarquis@dcvshost1:/home/empcvs update -P'
from the command line, with out logging in first, does it work?

Does your ~/.cvspass contain an entry for dcvshost1?

Does it help if you specify 'passfile=c:\Home\PersonalFolders\M
Marquis\.cvspass' in your <cvs> target

Jesse Stockall <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message