ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob van Oostrum" <...@springwellfarms.ca>
Subject RE: <cvs import .cvsigonore />
Date Thu, 03 Jul 2003 16:00:40 GMT
Not an Ant issue but hey, it's almost Christmas ...

AFAIK, .cvsignore isn't used by CVS at import-time. If you want to import a
new module into a repository, you'll have to ensure that only the files that
you want are in the directory from which you're running cvs import.

so ... you might want to

1) specify all the files that do need to get into CVS in a fileset (which
does allow you to exclude things such as certain files and directories)
2) copy the fileset to a temporary directory
3) run cvs import from that temp directory


hope this helps
Rob

-----Original Message-----
From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de]
Sent: July 2, 2003 10:25 AM
To: Cvsnt (E-Mail); ant_user (E-Mail)
Subject: <cvs import .cvsigonore />



Hi,

Scenario :

The cvscommand in my buildfile to get a new module in cvsrepository.

		<cvs
		cvsroot="${cvs.repository}"
		passfile="${cvs.passworddir}/.cvspass"
		command='import -m "initial import" MyProject1 gilbert MyProject_0_01'
            />

Question :

Is there another way than import for a new module that resists outside a
sandbox ?!

Problems :

With a given structure like that :

MyProject
	   |
          helper classes with *.class


I also get the subdirectory into repository but it should stay outside.
As far as i know, i may only use filepatterns in .cvsignore ?!

My cvsignore looks like that :
*.class
*.bat
*.xml

Question :

How do exclude directories ?
Why are only *.class of rootdirectory ignored but *.class of subdir get into
cvs ?


thx for any advice/hints !!  Cederquist didn't help

bye4now,
        Gilbert



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


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


Mime
View raw message