Stephen,
You were correct I was using the wrong version of ant so thanks for explaining
to me how I could download and use the correct version.
My build fails with the error, if you know how to get resolve the error please
let me know. I expect that it will be something simple like not having any
JAVA_HOME environment variable set, or the wrong version of Java ?
-retrieve-openlaszlo:
compile.laszlo.main.debug:
[java] Compiling: maindebug.lzx to maindebug.swf8.swf
[java] Exception in thread "main" java.lang.IncompatibleClassChangeError:
Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was
expected
[java] at
org.openlaszlo.iv.flash.api.image.JPEGBitmap.processImage(JPEGBitmap.java:186)
[java] at
org.openlaszlo.iv.flash.api.image.JPEGBitmap.write(JPEGBitmap.java:247)
.
.
.
BUILD FAILED
/home/itsupport/omApacheBuild2/singlewebapp/build.xml:387: Java returned: 1
Thanks,
George Kirkham
From: Stephen Cottham [mailto:[email protected]]
Sent: Tuesday, 1 May 2012 7:11 PM
To: [email protected]
Subject: RE: How to increase the quality or resolution of converted PDF or
PowerPoint files
Hey George,
I’ll look at this before lunch.
Out of curiosity what was the issue you had with compiling?
If you are using Debian and got ant via apt-get install ant then this will fail
as the version that gets installed doesn’t support the force option so you will
need to download the binary from the apache ant web site:
Example quick fix:
mkdir /usr/tmp/ant
cd /usr/tmp/ant
wget http://mirror.rmg.io/apache//ant/binaries/apache-ant-1.8.3-bin.tar.gz
<http://mirror.rmg.io/apache/ant/binaries/apache-ant-1.8.3-bin.tar.gz>
tar –zxvf apache-ant-1.8.3-bin.tar.gz
then cd to your svn OM directory (in this example =
/usr/tmp/svn/openmeetings/trunk/singlewebapp/)
now issue
/usr/tmp/ant/apache-ant-1.8.3/bin/ant
This will use the 1.8.3 version of ant to compile the OM 2.
I’ll come back to you later with my tests.
Cheers
the –j flag?