[2.0] Download sources and javadoc

973 views
Skip to first unread message

Staffie

unread,
Dec 6, 2011, 11:58:23 AM12/6/11
to play-fr...@googlegroups.com
Hi,
when I create the eclipse project, I'd like it to associate the jars, including play_2.9.1.jar, with sources and javadoc. 

In maven it would be 'mvn eclipse:eclipse -DdownloadSources -DdownloadJavadocs'. 

How can it be done with Play 2.0 and SBT?

Best regards,
Staffan

Daniel Spangler

unread,
Mar 31, 2012, 8:17:41 PM3/31/12
to play-fr...@googlegroups.com
Same here.  I'd be happy with just knowing how to get the sources to download period.  The ide integration is a bonus at this point.

Kevin Bosman

unread,
Mar 31, 2012, 9:21:03 PM3/31/12
to play-fr...@googlegroups.com
From within the play console, type "update-classifiers" to retrieve
the sources and javadoc, or "eclipsify with-source=true" to include
them in the generated eclipse project.
(excluding the quotes)

Daniel Spangler

unread,
Apr 1, 2012, 9:17:38 AM4/1/12
to play-fr...@googlegroups.com
I tried this but it appears to only be checking local.  It looks like this should be in both maven central and the typecast repo.  Any ideas on what I'm doing wrong?


[warn] [NOT FOUND  ] org.avaje#ebean;2.7.3!ebean.jar(doc) (0ms)
[warn] ==== local: tried
[warn]   /opt/play-2.0/framework/../repository/local/org.avaje/ebean/2.7.3/docs/ebean-javadoc.jar
[warn] [NOT FOUND  ] org.avaje#ebean;2.7.3!ebean.jar(src) (0ms)
[warn] ==== local: tried
[warn]   /opt/play-2.0/framework/../repository/local/org.avaje/ebean/2.7.3/srcs/ebean-sources.jar

Thies Edeling

unread,
Apr 2, 2012, 11:10:12 AM4/2/12
to play-fr...@googlegroups.com
Is there a way to do this for intellij? "idea" doesn't have any with-source parameter
Reply all
Reply to author
Forward
0 new messages