[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Three completely separate questions regarding hooks, Ant, and PDFs

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-06 02:35:06 CET

On Dec 5, 2006, at 18:02, matthew.kidd@cappsdigital.com wrote:

> Is it possible to set up a hook/script that verifies upon check in
> that
> files checked in include specific aspects i.e. a java file checked in
> contains a JavaDoc? If so do you have an example or something I can
> model
> this idea off of?

Sure, this is possible. Here's an example you can start with:

http://svn.haxx.se/users/archive-2006-06/0853.shtml

> How can Ant be integrated into Subversion? My coworker says this is
> possible as as "repository master" I'm looking into it.

I don't use Ant so I'll let someone else answer this.

> One of the projects we recently imported into Subversion contains
> PDFs.
> These were not imported as binaries like the GIFs that were also
> imported.
> How can I force Subversion to import the PDFs as binaries?

Set svn:mime-type of these files to something that does not start
with "text/". For PDFs, "application/pdf" would be a good choice. You
can use your client-side auto-props for this.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 6 02:35:46 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.