Play Dependency Management and SVN?

152 views
Skip to first unread message

Will

unread,
Aug 12, 2011, 7:56:52 PM8/12/11
to play-fr...@googlegroups.com
Hi Guys -

What's the best practice for Play dependency management and SVN?  The play deps --sync command insists on blowing away the .svn folders in lib and modules, which confuses the heck out of SVN and gets to be kind of pain to fix.

I could just ignore the lib and modules folders, but given how little typically goes in there it's actually just as easy to check them in.

I think this boils down to a simple bug fix request (play deps --sync should follow standard best practices and ignore folders/files that start with a .) but I was wondering if I'm missing something...?

Cheers,
-Will

Will

unread,
Aug 12, 2011, 7:59:50 PM8/12/11
to play-fr...@googlegroups.com
Also, there should be a nice, straight-forward way to pick up my local repository automatically (~/.m2/repository), perhaps even with a standard alias?  I can work around it (I think) with some sort of combination of commands, but the docs on the YAML config are pretty light.

Adam Jorgensen

unread,
Aug 13, 2011, 1:54:55 AM8/13/11
to play-fr...@googlegroups.com
Use Git. It doesn't stick .git folders in every directory, just the base one...

On 13 August 2011 01:59, Will <wive...@gmail.com> wrote:
Also, there should be a nice, straight-forward way to pick up my local repository automatically (~/.m2/repository), perhaps even with a standard alias?  I can work around it (I think) with some sort of combination of commands, but the docs on the YAML config are pretty light.

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/BaLlik-ppeMJ.

To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

GrailsDeveloper

unread,
Aug 13, 2011, 2:21:53 AM8/13/11
to play-framework
or bzr, or hg or svn 1.7, which doesn't stick .svn/.bzr/.hg folders in
every directory, just the base.
How ever non of them solve the current problem of Will, I guess.
I'm personally prefer to have all information in the rep too.
Specially if you want to work off-line or if a repository isn't
available. How ever the core-team has a different philosophy. You will
see the same problems with eclipsify, which result shouldn't put to
VCS too. There was a few request to change it. So I think you have 2
possibilities:

1. create a patch and use your own play version and hope that the
patch will be accepted in the future.

2. Use a maven proxy, so you have the information stored local. Then
it shouldn't be to painful to switch to an older version.

Niels

On 13 Aug., 07:54, Adam Jorgensen <adam.jorgensen...@gmail.com> wrote:
> Use Git. It doesn't stick .git folders in every directory, just the base
> one...
>

Robert Magnus

unread,
Aug 13, 2011, 5:14:07 AM8/13/11
to play-fr...@googlegroups.com
Hi

Am 13.08.2011 08:21, schrieb GrailsDeveloper:
> or bzr, or hg or svn 1.7, which doesn't stick .svn/.bzr/.hg folders in
> every directory, just the base.
> How ever non of them solve the current problem of Will, I guess.
> I'm personally prefer to have all information in the rep too.
> Specially if you want to work off-line or if a repository isn't
> available. How ever the core-team has a different philosophy. You will
> see the same problems with eclipsify, which result shouldn't put to
> VCS too.

I wouldn't put the dependencies into an VCS, but that's just my point of
view. There is a lot of discussion about this point in our company too.

regards,
Robert


--
Robert Magnus
akquinet tech@spree GmbH
Bülowstraße 66, D-10783 Berlin
Tel. +49 (0)30 235 520 - 44 Fax. +49 (0)30 217 520 - 12

Geschäftsführung: Martin Weber, Dr. Torsten Fink
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680

Alexander Reelsen

unread,
Aug 13, 2011, 5:16:49 AM8/13/11
to play-fr...@googlegroups.com
Hi

On Aug 13, 2011, at 1:59 AM, Will wrote:

> Also, there should be a nice, straight-forward way to pick up my local repository automatically (~/.m2/repository), perhaps even with a standard alias? I can work around it (I think) with some sort of combination of commands, but the docs on the YAML config are pretty light.

Uhm, this happens already, but as the play dependency management is based on apache ivy (not maven based) you will find your cache in ~/.ivy2/cache


--Alexander

Robert Magnus

unread,
Aug 13, 2011, 5:45:33 AM8/13/11
to play-fr...@googlegroups.com

Will

unread,
Aug 15, 2011, 12:50:40 PM8/15/11
to play-fr...@googlegroups.com
Just checked, looks like svn 1.7 is still in beta.

Will

unread,
Aug 15, 2011, 12:52:54 PM8/15/11
to play-fr...@googlegroups.com
Normally, I would completely agree not to check dependencies in.  I find that I have so few dependencies in Play (certainly compared with, say, a typical Spring app) that it just doesn't seem to be that big of an issue.

Ironically, the only dependency I (thought) I needed was an OAuth lib - turns out that's not needed either (found the built-in Play support for that).  Ha.  Back to an empty lib directory for me.
Reply all
Reply to author
Forward
0 new messages