Thanks!  But when I do so, I am not picking up the hsqldb drivers which are
located on my classpath?
Also shouldn't they be finding my jar from the dependencies in my pom file?
Sorry for so many
questions - still new to Maven world as well as iText!

Rich


On Fri, Apr 22, 2011 at 5:58 AM, Balder <[email protected]> wrote:

>  On 21/04/2011 23:14, Rich Bonneau wrote:
>
>  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?
>
> Yes with the maven exec plugin
>
> mvn exec:java -Dexec.mainClass="com.foo.bar.Main"
>
> and replace the com.foo.bar.Main with the class you'd like to run.
>
> ( http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html )
>
> Goodluck !
>
>
>
> Thanks,
>
> Rich
>
>
>
> *From:* Balder [mailto:[email protected] <[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 <%2B1%20617%20852%200486> | DIRECT  +1 317 881
> 5912 <%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>
>
>
>
> --
>
> 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
>
------------------------------------------------------------------------------
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

Reply via email to