[kepler-dev] Urgent help needed for Kepler 1.x installer

madhu madhu at sdsc.edu
Thu Mar 19 08:46:33 PDT 2009


Hi David,

  It is oversight on my part, accidentally I ran the command java -jar kepler-trunk.jar
 in directory where I ran ant package -Dsuite=kepler-trunk -Dname=newkepler
command. I could open the GUI.

 However, when I tried java -jar kepler-trunk.jar in the directory where I open the unarchived
kepler-trunk.zip. I got he following error. I guess it is missing ant related jars.

 
Madhu

 java -jar kepler-trunk.jar 
run.perform()
Exception in thread "main" Java returned: 1
	at org.kepler.core.ant.common.CommonBuildTask.execute(CommonBuildTask.java:42)
	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:585)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.kepler.core.runner.Kepler.main(Kepler.java:51)
Caused by: Java returned: 1
	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
	at org.kepler.core.ant.Run.runSuite(Run.java:183)
	at org.kepler.core.ant.Run.run(Run.java:141)
	at org.kepler.core.ant.common.CommonBuildTask.execute(CommonBuildTask.java:38)
	... 7 more
--- Nested Exception ---
Java returned: 1
	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
	at org.kepler.core.ant.Run.runSuite(Run.java:183)
	at org.kepler.core.ant.Run.run(Run.java:141)
	at org.kepler.core.ant.common.CommonBuildTask.execute(CommonBuildTask.java:38)
	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:585)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.kepler.core.runner.Kepler.main(Kepler.java:51)


 

-----Original Message-----
From: David Welker [mailto:david.v.welker at gmail.com]
Sent: Wed 3/18/2009 7:23 PM
To: madhu
Cc: Ilkay Altintas; kepler-dev at ecoinformatics.org
Subject: Re: [kepler-dev] Urgent help needed for Kepler 1.x installer
 
Hi Madhu,

That is how it works across all platforms. You can either use java -jar 
or double-click on the jar, whichever you like.

There is one caveat you should know. The command-line output is not the 
same. Depending on demand, I will remedy this situation in the future.

-David
>
> Hi David,
>
>   THanks you for your help.
>
>   I could create kepler-trunk.zip and kepler-trunk.jar with the ant 
> command you suggested.
> I am currently using Mac and I put the zip file on desktop and double 
> clicking unarchives it.
> With java -jar kepler-trunk.jar I could open the GUI. Is this how it 
> is suppose to work on Mac.
>
> --Madhu 
>
> -----Original Message-----
> From: David Welker [mailto:david.v.welker at gmail.com]
> Sent: Wed 3/18/2009 6:54 PM
> To: Ilkay Altintas
> Cc: madhu; kepler-dev at ecoinformatics.org
> Subject: Re: [kepler-dev] Urgent help needed for Kepler 1.x installer
>
> Hi Madhu and Ilkay,
>
> The platform specific installer is not ready yet. But, we do have a
> cross-platform solution that should meet your needs for now. You can
> just use the "ant package" command.
>
> For example, say I wanted to distribute the ppod suite.
>
> I could type in the following command:
>
> ant package -Dsuite=ppod -Dname=my-ppod
>
> This would create a my-ppod.zip in your <kepler.modules> directory.
> Inside of the my-ppod.zip, there will be a my-ppod.jar which you can
> double-click to run Kepler using the ppod-suite. (Just as if a developer
> from the command-line had typed in "ant change-to -Dsuite=ppod" and "ant
> run."
>
> This should probably work for your needs.
>
> David
> > All,
> >
> > Madhu is trying to build an installable release of Kepler for a group
> > of users. The release will have a few actors developed by CAMERA
> > project and the latest updates to the provenance recorder on top of
> > the Kepler 1.0 release.
> >
> > Any ideas on how to do this after the new build system changes?
> >
> > Thanks,
> > -ilkay
> >
>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20090319/c267750c/attachment.html>


More information about the Kepler-dev mailing list