maven-scm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: How to attach a patch in jar?
Date Tue, 25 Jan 2011 22:57:01 GMT
Which cvs version are you using for not having this option -d ??

Here I have :

olamy@olamy-laptop:~/dev/sources/maven/scm$ cvs --help-options rlist
CVS global options (specified before the command name) are:
    -H           Displays usage information for command.
    -Q           Cause CVS to be really quiet.
    -q           Cause CVS to be somewhat quiet.
    -r           Make checked-out files read-only.
    -w           Make checked-out files read-write (default).
    -n           Do not execute anything that will change the disk.
    -t           Show trace of program execution (repeat for more
                 verbosity) -- try with -n.
    -R           Assume repository is read-only, such as CDROM
    -v           CVS version and copyright.
    -T tmpdir    Use 'tmpdir' for temporary files.
    -e editor    Use 'editor' for editing log information.
    -d CVS_root  Overrides $CVSROOT as the root of the CVS tree.
    -f           Do not use the ~/.cvsrc file.
    -z #         Request compression level '#' for net traffic.
    -a           Authenticate all net traffic.
    -4           Use IPv4 addresses only.
    -6           Use IPv6 addresses only.
    -s VAR=VAL   Set CVS user variable.

olamy@olamy-laptop:~/dev/sources/maven/scm$ cvs -v

Concurrent Versions System (CVS) 1.12.13 (client/server)

2011/1/25 samuellawrence <sam.law.sam@gmail.com>:
>
> Hi,
>
> My problem is, I have to list the files that are in the repository and it
> can be any repository. So I have chosen maven to do that. Now I could list
> the files from svn repository. and when I used to list from cvs I got the
> following error and I am using maven scm 1.4 version.
>
> D:\temp
> basedir = D:\temp; files = [DQA\Doc\Development\3.4.0]
> [INFO] Executing: cmd.exe /X /C "cvs -z3 -f -d
> :pserver:samuel@192.168.1.8:/bosco/cvsrep -n -q rls -d  -e -R
> DQA\Doc\Development\3.4.0"
> [INFO] Working directory: D:\temp
> There was a error while executing the SCM command.
> Error message from the provider: The cvs command failed.
> Command output:
> rls: invalid option -- d
> Usage: cvs rls [-q] [-e] [-l] [-R] [-r rev] [-D date] [-t] [modules...]
>        -D date Show files from date.
>        -e      Display in CVS/Entries format.
>        -l      Display all details.
>        -P      Ignore empty directories.
>        -q      Quieter output.
>        -R      List recursively.
>        -r rev  Show files with revision or tag.
>        -T      Show time in local time instead of GMT.
> (Specify the --help global option for a list of other help options)
>
> Where I remove and "-d" from the command and it worked fine in the command
> line but in the program "-d" is appended automatically. Kindly help me how
> to remove the "-d" using api or run the with '-d' Or if you have a jar that
> resolved this problem kindly pass it to me. it will very helpful.
>
> Kindly help me.
>
> Thanks in Advance
>
>
>
> Olivier Lamy wrote:
>>
>> Hello,
>> AFAIK the issue is closed and marked as fixed for scm 1.1 .
>> Which version are you using ? If >= 1.1 and you still have the issue,
>> the best is probably to open an other one with a description.
>>
>> Thanks,
>> --
>> Olivier Lamy
>> http://twitter.com/olamy
>> http://www.linkedin.com/in/olamy
>>
>> 2011/1/25 samuellawrence <sam.law.sam@gmail.com>:
>>>
>>> Dear all,
>>>
>>> I am working on maven-scm-client using api. When I use list cvs command.
>>> I
>>> am getting the following error message from the provider:
>>>
>>> The cvs command failed.
>>> Command output:
>>> rls: invalid option -- d
>>> Usage: cvs rls [-q] [-e] [-l] [-R] [-r rev] [-D date] [-t] [modules...]
>>>        -D date Show files from date.
>>>        -e Display in CVS/Entries format.
>>>        -l Display all details.
>>>        -P Ignore empty directories.
>>>        -q Quieter output.
>>>        -R List recursively.
>>>        -r rev Show files with revision or tag.
>>>        -T Show time in local time instead of GMT.
>>> (Specify the --help global option for a list of other help options)
>>>
>>> I found solution in http://jira.codehaus.org/browse/SCM-380 url but it a
>>> patch. I don't know how to apply the patch to the maven scm jars.
>>>
>>> Please help me how to apply the patch to a jar.
>>>
>>> Thank in Advance.
>>> --
>>> View this message in context:
>>> http://maven.40175.n5.nabble.com/How-to-attach-a-patch-in-jar-tp3355871p3355871.html
>>> Sent from the Maven Developers mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>>
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/How-to-attach-a-patch-in-jar-tp3355871p3356124.html
> Sent from the Maven Developers mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>



-- 
Olivier Lamy
http://twitter.com/olamy
http://www.linkedin.com/in/olamy

Mime
View raw message