Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » I try to generate executable jar file from this Java open source program .
I try to generate executable jar file from this Java open source program . [message #242529] Fri, 06 April 2007 11:03
Eclipse UserFriend
Originally posted by: no.spam.com

Hi,

Eclipse 3.2

I try to generate executable jar file from this Java open source program
under BSD licence :
http://www.myjavaserver.com/~nonlinear/JSystemTrader/JSystem Trader.html

Source code :
http://www.myjavaserver.com/~nonlinear/JSystemTrader/JSystem Trader.zip

There is a tutorial How to install JSystemTrader under Eclipse here :
http://groups.google.com/group/JavaTraders

I have already write 2 files :
A batch file to launch JSystemTrader.jar with the current directory
parameter :

RunJST.bat

JSystemTrader.jar cd
pause


And a xml for ANT

build.xml

<?xml version="1.0" encoding="UTF-8"?>

<project name="JST.makejar" default="makejar" basedir=".">

<target name="compile" description="Compile the project">
<javac fork="yes" srcdir="source/" destdir="bin/"
classpath="lib/" />
</target>

<target name="makejar" description="Create a jar for the JSystemTrader
project">
<jar destfile="JSystemTrader.jar" basedir="bin/"
compress="true">
<manifest>
<attribute name="Main-Class"
value="com.jsystemtrader.client.JSystemTrader" />
<attribute name="Class-path"
value=" ./;resources/;lib/jfreechart-1.0.0.jar;lib/jcommon-1.0.0.jar ;lib/liqu
idlnf.jar" />
</manifest>
</jar>
</target>

</project>


The ANT xml create 2 error dialogue boxs.
The first is :
Unable to set custom look & feel. The default L&F will be used.

Please help me to terminate this ANT xml.

Tintin92
Previous Topic:How to get the length of a DeleteEdit
Next Topic:Notifying java resources of new class files
Goto Forum:
  


Current Time: Sat Jul 12 12:47:37 EDT 2025

Powered by FUDForum. Page generated in 0.07388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top