how to commit to the cvs server in a xml target?

G

Gali

Hi everyoune,
I'm trying to commit specific files to the cvs in a special target in
an xml file. i need to give the the exact place - wherer to commit and
what to commit, but i don't know how to add the argument right.

the command should look like this:
cvs commit -m "commif file now" thefiletocommit.java

but how to add the argument to the tag?

<target name = "commit_to_cvs" depends = "cvsLogin" description =
"commiting to cvs">
<cvs cvsRoot ${cvsroot} command = "commit" >

arguments?

</target>

thank you.
 
M

Mark Jeffcoat

Gali said:
Hi everyoune,
I'm trying to commit specific files to the cvs in a special target in
an xml file. i need to give the the exact place - wherer to commit and
what to commit, but i don't know how to add the argument right.

the command should look like this:
cvs commit -m "commif file now" thefiletocommit.java

but how to add the argument to the tag?

<target name = "commit_to_cvs" depends = "cvsLogin" description =
"commiting to cvs">
<cvs cvsRoot ${cvsroot} command = "commit" >

arguments?

</target>


1. You never mentioned that you're talking about Ant.

2. I'm just going to assume that you're talking about Ant.

3. Ant's documentation works out an example of what
you're doing word-for-word in the "cvs" task doc.


Is there something missing there?

(Ant Manual -> Ant Tasks -> Core Tasks -> Cvs)
 
S

Simon Brooke

Gali said:
Hi everyoune,
I'm trying to commit specific files to the cvs in a special target in
an xml file. i need to give the the exact place - wherer to commit and
what to commit, but i don't know how to add the argument right.

XML is a meta language for data description. It includes no semantics for
anything. Any semantics are related to a particular interpreter for a
particular XML syntax, and as you don't say what interpreter or schema
you're using, we can't help you.

--
(e-mail address removed) (Simon Brooke) http://www.jasmine.org.uk/~simon/

'Victories are not solutions.'
;; John Hume, Northern Irish politician, on Radio Scotland 1/2/95
;; Nobel Peace Prize laureate 1998; few have deserved it so much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top