I investigated a bit and found that the -DdownloadSources command
works only with the following maven goals:
mvn idea:idea -DdownloadSources=true
mvn eclipse:eclipse -DdownloadSources=true
It downloads the *-sources.jar files if they exist to the local
repository, which is fine.
But I found a more straightforward alternative described below in
order to get the source files which was my initial goal. I suggest
that the "Web Access" section on http://www.qi4j.org/qi4j/
codebase.html could be modified to the following:
============================
Web Access
Most qi4j files are in the Git repository. GitWeb is installed and
allows people to browse the commit history and content via a regular
web browser. The URL for GitWeb is currently:
[link?!] http://dscm.ops4j.org/git/gitweb.cgi
To get the java source code, click on any of the projects and then on
the topmost "snapshot" link in the commit history list. A tar-file
downloads and you can unpack that to java source files. The "tree"
link shows included files/folders.
Files for the Streamflow project [link to project page?] exists in the
Nexus repository:
[link?!]
http://waybuild.gotdns.com/nexus/content/repositories/snapshots/se/streamsource/streamflow/
The Streamflow project is currently in the Nexus repository:
[link?!]
http://waybuild.gotdns.com/nexus/content/repositories/snapshots/se/streamsource/streamflow/
To get the java source files, browse into any module, click on the
latest snapshot folder and locate the latest files with the postfix "-
sources" like in "streamflow-client-0.5-20100302.013043-18-
sources.jar". When you click one of those, it downloads to your
computer and you can unpack it to source files.
[other projects/repository addresses/access approaches...???]
Committer Access...
=====================================
This is of course super basic for you guys, but to me at least (and
maybe other newbies), this information would have been very helpful! :)
Hope this makes it into the Codebase page. I'm also curious if there
are other "secret" qi4j repositories/projects around... ;)
On 01/03/2010, at 22.19, Alex Shneyderman wrote:
Sources (at least some) are published in that repos so calling mvn
with -DdownloadSources=true should do the trick.
On Mon, Mar 1, 2010 at 9:59 PM, Marc Grue <[email protected]> wrote:
@Arvid
Thanks for helping!
@Paul
Thanks for revised zip. Can only compile if I change
maven.compiler.source
to 1.5 which could cause some problems later, I guess. I get this
error when
running mvn compile exec:java in the play-with-streamflow directory:
INFO Server - Starting the internal HTTP server
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at
sun
.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at
org
.restlet
.engine
.http.StreamServerHelper.createServerSocket(StreamServerHelper.java:
230)
at
org
.restlet
.engine.http.StreamServerHelper.start(StreamServerHelper.java:261)
at org.restlet.Server.start(Server.java:422)
at org.restlet.Component.startServers(Component.java:587)
at org.restlet.Component.start(Component.java:548)
at se.streamsource.streamflow.web.MainWeb.start(MainWeb.java:54)
at
se
.streamsource
.streamflow
.client.test.MainWebAndClient.start(MainWebAndClient.java:47)
at
se
.streamsource
.streamflow.client.test.MainWebAndClient.main(MainWebAndClient.java:
33)
at com.mycompany.playwithstreamflow.App.main(App.java:8)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
at java.lang.Thread.run(Thread.java:613)
@Anyone
Newbie question: How can I get the _source code_ from the repository?
svn/password necessary?
http://waybuild.gotdns.com/nexus/content/repositories/snapshots/
Thanks!
On 01/03/2010, at 16.34, Arvid Huss wrote:
Hi,
you should be able to get all necessary 3rd party jars from
http://waybuild.gotdns.com/nexus/content/repositories/thirdparty/
Streamflow uses some non release versions of 3rd party projects
that we made
a "frozen" snapshot of.
Hope that helps.
/Arvid
Streamflow Developer
2010/3/1 Marc Grue <[email protected]>
Paul MERLIN-2 wrote:
Arg!
I deleted this artifact from my local repos and I get the same
result :
#fail
When I tried to run StreamFlow two weeks ago I did not get this,
maybe
the
repositories have changed.
I'm sorry I cannot do anything more.
Thanks for your efforts! I'll see if I can find a workaround and
post back
if I succeed.
Marc
-----
--
Marc Grue
Musician and developer
Sweden
--
View this message in context:
http://old.nabble.com/StreamFlow-code-tp27618391p27743864.html
Sent from the Qi4j-dev mailing list archive at Nabble.com.
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev