[Kde-java] Packaging
Ivan
ivan at interd4u.com
Thu Jul 22 16:11:50 CEST 2004
Then I can help here. To make a dist of your program, use ant to build
the jar file like that:
<project name="app-name" default="dist" basedir=".">
<target name="dist" />
<jar jarfile="app-name.jar" basedir="app_dir" includes="**"/>
</target>
</project>
Save it to build.xml and run it with: "ant dist" command where build.xml
is.
see http://ant.apache.org to get the binaries or more info
There is another way, just zip the classes and rename it to .jar
And finally to run your application simply put app-name.jar on your
classpath and execute like always.
Ivan Rodriguez
Javalopers, javalopers, javalopers,...
El jue, 22-07-2004 a las 12:43, Richard Dale escribió:
> On Saturday 10 July 2004 14:29, Vinod Saravana wrote:
> > Hello,
> > I have developed a sample kdejava code. How do I package it into a
> > tarball? Please help me out.
> Good news you've got an example going, but I've actually no idea - has anyone
> else done this? You probably would want to add everything to a .jar file,
> along with a shell script to start it up. How do people normally package java
> programs for distribution - the only difference with kdejava is that it needs
> different .jar files/libraries installed to the usual ones.
>
> -- Richard
> _______________________________________________
> Kde-java mailing list
> Kde-java at kde.org
> https://mail.kde.org/mailman/listinfo/kde-java
>
More information about the Kde-java
mailing list