JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
June 03, 2023, 05:14:08 PM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: Ant file to start the admin gui?  (Read 4486 times)

bd

  • Guest
Ant file to start the admin gui?
« on: April 08, 2008, 07:19:37 PM »

Is there currently an ant script for starting the "Monitoring and Administration Tool"? (I.e. something comparable to using 'ant run-node' to start a node?)

I gather that the main() is in org.jppf.ui.monitoring,UILauncher, in jppf-admin.jar
but this app appears to depend on a number of other jars.  It's not clear if everything is in  JPPF/lib.

FYI At the moment, there is no "jppf-full-x.y.z-nnnn-yyyymmdd.zip" on the (SourceForge) download page - I'm working off the  jppf-full-src-1.1.0491-20080219.zip  and jppf-driver-bin-1.1.0491-20080219.zip, etc.

thanks,

bd

PS I gather this jppf-full-src-1.1.0491-20080219.zip has a directory structure a la Eclipse, but it appears not to have all the Eclipse project information (I wasn't able to import it into Netbeans).  Any guidance on rebuilding the components would be appreciated. (I noticed build.xml files JPPF/build, node/build and jca-client/build but not in any for server or client.) I gather the 'binaries' are Java 1.5; I'll have to recompile with Java 1.6.
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Ant file to start the admin gui?
« Reply #1 on: April 08, 2008, 08:53:09 PM »

Hello bd,

To start the the admin console, you can do the following:
  • unzip the jppf-full-src-.....zip
  • go to the jppf-x.y/demo folder
  • you can use the build.xml script in this folder: ant run.ui
The console requires the following jars:
  • all jppf-*.jar files
  • jppf-x.y/JPPF/lib/ApacheCommons/commons-io-1.2.jar
  • jppf-x.y/JPPF/lib/ApacheCommons/commons-logging-1.1.jar
  • jppf-x.y/JPPF/lib/JDesktop/swingx.jar
  • jppf-x.y/JPPF/lib/JFreeChart/jcommon-1.0.6.jar
  • jppf-x.y/JPPF/lib/JFreeChart/jfreechart-1.0.3.jar
  • jppf-x.y/JPPF/lib/log4j/log4j-1.2.9.jar
  • jppf-x.y/JPPF/lib/Rhino/js.jar
  • jppf-x.y/JPPF/lib/Substance/substance-3.1.jar
If you wish to build JPPF, there is a build.xml in jppf-x.y/JPPF/bin. This is the script I use to generate a distribution. The main targets of interest are:
  • compile: compile all modules (e.g. client, node, etc...)
  • build: compile and generate all the jppf-*.jar
  • rebuild: same as build, but doing a clean beforehand
  • deploy: generate the whole distribution, including the zip files you can dowload from SourceForge
  • javadoc: generate the complete javadoc
You are right, we do use Eclipse as our development environment. There's a number of projects each associated with a CVS module. Each project has the following base structure:
---module_name (project root)
------src
---------java (java sources and javadoc artifacts)
---------resources (xml files, pictures, icons, etc...)
------classes (compiled sources + resources)
The module JPPF contains all the 3rd-party libraries in its /lib folder.
I'm not sure why you need to recompile with Java 1.6, is it a requirement for the version of NetBeans you're using?

Let me know if this helps.
-Laurent
Logged

bd

  • Guest
Ant file to start the admin gui?
« Reply #2 on: April 08, 2008, 10:44:00 PM »

Thanks, that helps enormously.

Re 1.5 vs 1.6:  This has nothing to do with Netbeans (it supports multiple versions of Java). However, my code (and I have a a lot it) was written using 1.6.  I don't know if I used any features that aren't in 1.5, but I'd rather not have to figure it out, so I'll be using a 1.6 vm.  Java vm's are supposed to backwards compatible but that has not always been the case.  So to be on the safe side, I'd like to be able to recompile jppf. (Of course I could get into trouble if some of the libraries don't work with 1.6.)
Logged
Pages: [1]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads