Error building tn5250lpd
Mario Duarte <[email protected]> Wed, 7 Dec 2005 18:35:52 +0000 (UTC)
| Newsgroups | gmane.comp.java.tn5250j.printing |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
First of all, thanks for the time and any eventualy help on this subject.
I've tried to build the tn5250jldp with ant, but using the simple command "ant
all", it return the following output:
linius@gplp34:~/TN5250lpr> ant all
Buildfile: build.xml
clean:
[delete] Deleting directory /home/linius/TN5250lpr/build
[delete] Deleting directory /home/linius/TN5250lpr/dist
prepare:
[mkdir] Created dir: /home/linius/TN5250lpr/build
[mkdir] Created dir: /home/linius/TN5250lpr/build/javadoc
[mkdir] Created dir: /home/linius/TN5250lpr/dist
[echo] ------------------- Tn5250Jlpr 0.0.1 [2002] ----------------
[echo] ant.java.version: 1.5
[echo] ant.file: /home/linius/TN5250lpr/build.xml
[echo] java.vm.version: 1.5.0_03-b07
[echo] java.vm.vendor: Sun Microsystems Inc.
[echo] java.vm.name: Java HotSpot(TM) Client VM
[echo] os.name: Linux
[echo] os.arch: i386
[echo] os.version: 2.6.8-24.17-default
compile:
[javac] Compiling 24 source files to /home/linius/TN5250lpr/build
[javac] /home/linius/TN5250lpr/src/org/tn5250jlpr/Attic/LPRStream.java:557:
openOutputFile(java.lang.String) in org.tn5250jlpr.LPRInterface cannot be
applied to ()
[javac] scs2.openOutputFile();
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
BUILD FAILED
/home/linius/TN5250lpr/build.xml:141: Compile failed; see the compiler error
output for details.
Total time: 4 seconds
Can any one help me with this???? if i remove the file LPRStream from the source
files, it build the .jar ok, but it doesn't work (has i expected) because of the
missing class. I am missing some package from JDE??? our is the problem in the
build.xml our in the LPRStream.java file??? our ist's just me that don't know
how to use ant :) ???
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click