Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Adapting Phex (private networks)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Adapting Phex (private networks) Private networks, modified versions and similar


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5 (permalink)  
Old May 29th, 2008
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Go to
New -> Project...
and select "Java Project" don't select "..from existing Ant file"!!

Give it a name and select "Create project from existing source" and select the Phex root folder. Now click on "Next"
On the source tab configure two source folders one is "src\main\java" and the other is "src\test\java", most likely eclipse will detect them for you already. If you like to use ant in eclipse set the output dir to "output/classes", see below.
On the library tab all Jar files from "thridparty\**" should be listed.

Click "Finish" and your eclipse project should be available.

You can build Phex during development using the eclipse integrated build method, which is what I do most of the time. Or use the Phex ant build.xml from eclipse inside the build directory (Context menu - Run As..). In case you use the build.xml you should set the eclipse output folder to the "output/classes" directory. This is where the build.xml will write the classes too. In case you use eclipse build using the same output directory wont hurt either.
__________________
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.