I have downloaded Source of application, how do I install it? How do i even compile it? Some README file could be very useful...
Thanks in advance.
source code based install instructions question
(10 posts) (7 voices)-
Posted 4 years ago #
-
We're working on improving the build process documentation. Look for this sort of information along with an upcoming patch (although it may take us a few weeks to work through the first round of changes).
Posted 4 years ago # -
I just read about this on http://arstechnica.com/software/news/2009/02/oneswarm-friend-to-friend-p2p-likely-to-irk-big-content-isps.ars and I'm quite interested.
I'm a full-time java developer at the moment and I'd like to contribute to this project, the idea is quite novel.
I've had experience working with gwt as well as a little experience with azureus (trying a tradetorrent approach).
I would like to contribute to the project as well, is there a good guide to get started?
Specifically, what IDE did you guys use? What should the projects/settings be?
Thanks in advance.
Posted 4 years ago # -
In case this helps somebody else...
azureus2_cvsThis is the only project I've rebuilt so far (using
build.xmlin the rootazureus2_cvsdirectory). I used Java JDK 1.6.0_12 and Apache Ant 1.6.2, though it looks there's Eclipse settings included. (Note: Ant kept complaining that it was unable to find a javac compiler.) The resultingAzureus2.jarjar file was missing about 4 MB, which I was able to add from the distributed version (I couldn't seem to post entire list?). Hopefully things like source files (OSXAccess.c) won't be included in the next release. ;)Posted 4 years ago # -
We use standard Java tools to manage things: eclipse, ant, GWT, etc. I realize it can be a bit tricky to compile everything from source. Expect further documentation on how to do this in the coming weeks.
Posted 4 years ago # -
I would like to see if I can contribute too somehow.
I am an IT student. I do all my school work in Java.
Posted 4 years ago # -
More, in case it helps those too anxious to await documentation...
<em>oneswarm_az_mods</em>I've been able to build and locally deploy all sub-projects as
OneSwarmAzMods.jar(mods_autoupdate,modes_az_bugfixes,mods_az_bugfixes,mods_constants,mods_f2f,mods_gwt_ui,modes_onehop,mods_plugins, andmods_swt) using the localbuild.xml(same tools as above).The class path
az_modes.class.pathneeds to includeAzureus2.jar,swt-win32.jarandswt-xosx.jar.Missing resources that need to be added to the
.jarinclude:`OneSwarmAzMods.properties
org\gudy\azureus2\ui\icons\a16.png
org\gudy\azureus2\ui\icons\az3_osx_tray.png
org\gudy\azureus2\ui\icons\az3_osx_tray_white.png
org\gudy\azureus2\ui\icons\popup.png
org\gudy\azureus2\ui\splash\azureus.jpg`<em>oneswarm_f2f</em>Using the local
build.xml, I've been able to buildosf2f_plugin.jar. Again, same tools as above.As with
<em>oneswarm_az_mods</em>, the class pathproject.class.pathneeds to includeAzureus2.jar,swt-win32.jarandswt-xosx.jar, as well asOneSwarmAzMods.jar. Thepublickey-client.jarandsmack.jar.jars should come in if the properties are set correctly towards the top of the build file.I don't believe there's any missing resources for the built
.jarfile.P.S.: I wasn't kidding, BTW, in my previous post: some of the released
.jarfiles for OneSwarm 0.5 actually contained source code! ;)Posted 4 years ago # -
Is there some documentation about the compilation from source meanwhile ?
I am trying to create a Debian package for the Ubuntu software page getdeb.net.https://bugs.launchpad.net/getdeb.net/+bug/342912
Currently I get this error:
[javac] /home/korn/oneswarm/oneswarm-0.6.7/oneswarm_az_mods/mods_swt/org/gudy/azureus2/ui/swt/osx/CarbonUIEnhancer.java:17: package org.eclipse.swt.internal.carbon does not exist
[javac] import org.eclipse.swt.internal.carbon.*;I am not sure if this OSX jar file is useful on an Ubuntu system.
Posted 3 years ago # -
Hi!
To simplify building and working with OneSwarm I've started a Launchpad project:
http://launchpad.net/oneswarmIt contains a source code repository based on the OneSwarm 0.6.9 source drop. The source code in the repo has build fixes for oneswarm_az_mods and for oneswarm_f2f. It also contains an Eclipse project for oneswarm_f2f, and I've started commenting the oneswarm_f2f code a bit.
Exact list of changes are here:
http://bazaar.launchpad.net/~walles/oneswarm/trunk/changesSource code can be browsed here:
http://bazaar.launchpad.net/~walles/oneswarm/trunk/filesBranch + build + run instructions are here:
http://launchpad.net/oneswarmPosted 3 years ago # -
I have switched build systems to Maven, so all you have to do to build everything is now:
mvn packageI've also written some unit tests which Maven will run implicitly before actually packaging anything on "mvn package".
"mvn package" will give you three jar files that you can drop into the OneSwarm distribution directory to run with your new creation.
Eclipse projects are now created with "mvn eclipse:eclipse".
Please see the complete instructions (they are short) at http://launchpad.net/oneswarm.
Posted 3 years ago #
Reply
You must log in to post.