You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff Mutonho <ej...@gmail.com> on 2005/12/15 12:12:20 UTC
Maven 1.0 question
I have a project that has all this time been built nightly using
maven-1.0and was running on a redhat
box.I migrated the maven setup to a Solaris box ,
which is now suppose to be the build machine.When I start the build , the
cvs check out is failing with th following message
build-all:
scm:cvs-checkout-project:
[echo] Checking out Business_Components
[mkdir] Created dir: /home/jmu016/maven-1.0
/projects_main/projects/OnlineSystem/target/checkouts/Business_Components
BUILD FAILED
File...... /home/jmu016/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
Element... ant:cvs
Line...... 244
Column.... 9
java.io.IOException: cvs: not found
Total time: 3 seconds
Any idea why I'm getting this "java.io.IOException: cvs: not found"?
--
Jeff Mutonho
Java/J2EE Developer
ph : + 27 21 408 6230
mob : + 27 82 907 6420
Skype :ejbengine
Registered Linux user number 366042
Re: Maven 1.0 question
Posted by Gisbert Amm <gi...@webde.de>.
Jeff Mutonho wrote:
> It spits out the message:
>
> $ cvs
> ksh: cvs: not found
>
> Does this mean I have to install a cvs client on the Solaris machine?
Exactly.
The scm plugin uses the cvs binary, eg.
<cvs command="diff -u -w -N -R"
output="${maven.scm.cvs.patch.dir}/${maven.scm.cvs.patch.file}"
quiet="${maven.scm.cvs.quiet}"
cvsRsh="${maven.scm.cvs.rsh}"
cvsRoot="${maven.scm.cvs.root}"
failonerror="false"/>
(from plugin.jelly)
Actually it uses the ant cvs task, which relies on the cvs binary:
<quote>
Important: This task needs "cvs" on the path. If it isn't, you will get
an error (such as error 2 on windows). If <cvs> doesn't work, try to
execute cvs.exe from the command line in the target directory in which
you are working.
</quote>
http://ant.apache.org/manual/CoreTasks/cvs.html
-Gisbert
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Maven 1.0 question
Posted by Jeff Mutonho <ej...@gmail.com>.
It spits out the message:
$ cvs
ksh: cvs: not found
Does this mean I have to install a cvs client on the Solaris machine?
On 12/15/05, Gisbert Amm <gi...@webde.de> wrote:
>
> The cvs binary seems not to be there or not to be in the PATH of the
> nightly build user.
>
> What happens when you call cvs from the commandline?
>
> Regards,
> Gisbert Amm
>
> Jeff Mutonho wrote:
> > I have a project that has all this time been built nightly using
> > maven-1.0and was running on a redhat
> > box.I migrated the maven setup to a Solaris box ,
> > which is now suppose to be the build machine.When I start the build ,
> the
> > cvs check out is failing with th following message
> > build-all:
> > scm:cvs-checkout-project:
> > [echo] Checking out Business_Components
> > [mkdir] Created dir: /home/jmu016/maven-1.0
> >
> /projects_main/projects/OnlineSystem/target/checkouts/Business_Components
> >
> > BUILD FAILED
> > File...... /home/jmu016/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
> > Element... ant:cvs
> > Line...... 244
> > Column.... 9
> > java.io.IOException: cvs: not found
> > Total time: 3 seconds
> >
> >
> > Any idea why I'm getting this "java.io.IOException: cvs: not found"?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Jeff Mutonho
Java/J2EE Developer
ph : + 27 21 408 6230
mob : + 27 82 907 6420
Skype :ejbengine
Registered Linux user number 366042
Re: Maven 1.0 question
Posted by Gisbert Amm <gi...@webde.de>.
The cvs binary seems not to be there or not to be in the PATH of the
nightly build user.
What happens when you call cvs from the commandline?
Regards,
Gisbert Amm
Jeff Mutonho wrote:
> I have a project that has all this time been built nightly using
> maven-1.0and was running on a redhat
> box.I migrated the maven setup to a Solaris box ,
> which is now suppose to be the build machine.When I start the build , the
> cvs check out is failing with th following message
> build-all:
> scm:cvs-checkout-project:
> [echo] Checking out Business_Components
> [mkdir] Created dir: /home/jmu016/maven-1.0
> /projects_main/projects/OnlineSystem/target/checkouts/Business_Components
>
> BUILD FAILED
> File...... /home/jmu016/.maven/cache/maven-scm-plugin-1.4/plugin.jelly
> Element... ant:cvs
> Line...... 244
> Column.... 9
> java.io.IOException: cvs: not found
> Total time: 3 seconds
>
>
> Any idea why I'm getting this "java.io.IOException: cvs: not found"?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org