Planet Peer - The anonymous networking community
July 29, 2010, 11:39:48 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
News: Planet Peer - The anonymous networking community
...because anonymity is better ;-)
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: How to build ANts?  (Read 1923 times)
0 Members and 1 Guest are viewing this topic.
Markus
Administrator
Elite
*****

Karma: +24/-8
Offline Offline

Posts: 5673



View Profile WWW
« on: September 20, 2004, 01:41:30 PM »

Does someone know how to build ANts? I am not a java developer so I have no clue...:roll:
Logged



Cheers,
Markus
Nemo
Global Moderator
Elite
*****

Karma: +27/-0
Offline Offline

Posts: 1284


View Profile
« Reply #1 on: September 21, 2004, 09:45:19 AM »

Very strange, I wrote yesterday (22pm) a long answer about my ANts-compiling try. But it's lost?!? This is now a short form...

I tried this:
-Eclipse as Java IDE under Linux. But it didn't work, because in the ANts source code there's an import of JBuilder-files. IMO it's a problem (license and availability) to use this missing JAR files in Eclipse.

-extract the ANts source code

-download all needed JAR files for the additional Java tools used in ANts: http://www.myjavaserver.com/~gwren/Ants/
Put the JAR files into the extracted ANts source tree. The directory "ants" and the file "Log.properties" must be in the same directory as the JAR files.

-create a new Java project, put the directory with the JAR files as project directory and add the JAR files as "external JARs".

-compile it. :-)


I think the process above is correct, and in Borland's JBuilder it will work. In Eclipse I got only compile errors about the missing JBuilder packages in the GUI classes, the other classes were compiled successfully.

EDIT: I tried now with the "XYLayout.jar" from Sourceforge. Now I have only compile warnings, but seems to work. I couldn't manage to start ANtsP2P from Eclipse, I will try it later in this week. Then I will delete this message and insert a howto.
As Gwren mentioned: If you have all JAR files, then it should compile without problems. It's not true that you need Borland JBuilder.

Greetings,
Nemo.[/b]
Logged
gwren
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


View Profile
« Reply #2 on: September 22, 2004, 01:15:54 AM »

On the sourceforge developer version there are all the jars you need to compile (also the borland XYLayout that is free for distribution...) you must put all them in your classpath.

I didn't used anything that is not GPL or public domain!
Logged
Markus
Administrator
Elite
*****

Karma: +24/-8
Offline Offline

Posts: 5673



View Profile WWW
« Reply #3 on: September 23, 2004, 07:52:28 AM »

Thanks for your hints, guys :-) I will try it today evening...
Logged



Cheers,
Markus
Planet Peer - The anonymous networking community
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!