Many thanks. Am now able to build all the examples with no errors.
And I can run the examples crudely by setting up an appropriate classpath
and running the java command with class name.
Is there a Maven command to run a specific example from the many
available?
Thanks,
Rich
From: Balder [mailto:[email protected]]
Sent: Thursday, April 21, 2011 1:58 PM
To: [email protected]
Subject: Re: [iText-questions] Where to find jar files for iText examples?
Hi Richard
Thanks for letting us know.
On 21/04/2011 19:26, Richard and Terri Bonneau wrote:
Hi All,
Downloaded the latest examples tar from the web site as well as the latest
(?) itext jar file
(labeled as iText-5.0.6) and ran mvn install on the examples folder pom.xml
and get two artifacts missing as listed below.
I believe that tarball is made from the svn trunk, hence it points to the
latest development version of itext which is 5.0.7-SNAPSHOT
1) com.itextpdf:itextpdf:jar:5.0.7-SNAPSHOT
2) com.itextpdf:itext-xtra:jar:5.0.7-SNAPSHOT
Where might I get the 5.0.7-SNAPSHOT jars?
To get the snapshot, you can checkout svn co
https://itext.svn.sourceforge.net/svnroot/itext/trunk/itext
and run mvn install on that.
same count for the xtras they are at
https://itext.svn.sourceforge.net/svnroot/itext/trunk/xtra
we're in the process of setting up a repository that contains the snapshots
too, but we're not yet finished with it.
Or should I just edit the pom file?
You can edit the pom file, set the com.itextpdf:itextpdf:jar dependency to
5.0.6
this will also include the stuff that will be in the itext-xtra.jar next
release (the RichMedia stuff) and, I think, then you can remove the
reference in the pom to xtra, I believe it should not affect the book
examples.
I don't see the itext-xtra.jar file either?
The xtra jar contains the RichMediaAnnotations, we took those out of the
core since 5.0.7-SNAPSHOT. And also contains code for geospatial PDF (from
the future PDF spec 2.0)
Thanks,
Rich
RICHARD J. BONNEAU, Ph. D.
Senior Principal Consultant
FUSESOURCE
14 Oak Park | Bedford, MA 01730 | USA
MOBILE +1 617 852 0486 <tel:%2B1%20617%20852%200486> | DIRECT +1 317 881
5912 <tel:%2B1%20317%20881%205912>
SKYPE Rich.Bonneau | email [email protected]
WWW.FUSESOURCE.COM <http://www.fusesource.com/>
Connect at CamelOne <http://camelone.com/> May 24-26
The Open Source Integration Conference
--
Kind Regards
Balder
_____
redlab-log <http://www.redlab.be/blog/>
@redlabbe <http://twitter.com/redlabbe>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php