It sure would be nice if this was properly documented. I figured out how to do it, but I find it somewhat silly that you don't document how to do this, at least by writing a comment into the code WHERE you should comment/uncomment. You could also add a "building with JDK 1.3" section to your documentation that describes where to modify the code to compile correctly.
Thanks, Chris On 3/28/06, Paulo Soares <[EMAIL PROTECTED]> wrote: > To build with jdk 1.3 you'll also need to uncomment a line and comment > another line in PdfGraphics2D. > > Paulo > > ----- Original Message ----- > From: "bruno" <[EMAIL PROTECTED]> > To: "Christopher Randall" <[EMAIL PROTECTED]>; > <[email protected]> > Sent: Wednesday, March 29, 2006 8:06 AM > Subject: Re: [iText-questions] Complaint about itext-src-1.4.zip > > > > Christopher Randall wrote: > > > >>I just downloaded the iText 1.4 SRC zip file, and was planning on > >>building the jar file from source since the execution environment > >>we're running in uses JDK 1.3. > >> > >>I expected to be able to run "ant jar" and have the resulting JAR file > >>immediately available. Apparently, there is an undocumented > >>requirement to have a structure two directories up with "www" and > >>"src". Haven't had the opportunity to research that would fix it, just > >>got really frustrated. A common problem with open source projects is > >>assuming all your users are geeky developer types that have a > >>pre-configured development environment. I'm a configuration manager > >>and don't give a rip about your CVS server environment. I just want to > >>BUILD FROM THE SOURCE! > >> > >>Why do I need to have the simulated CVS environment available to build > >>the RELEASED version of the code? I should be able to build without > >>any modification WHATSOEVER using Ant and the file structure created > >>after unzipping the ZIP file. > >> > > I create a directory for iText, for instance > > $HOME/itext > > Then I unzip the src.tar.gz in a subdirectory src: > > $HOME/itext/src/ > > The following subdirectories appear: > > $HOME/itext/src/ant > > $HOME/itext/src/com > > $HOME/itext/src/META-INF > > The main build.xml is also in directory $HOME/itext/src/ > > So you can execute ANT after doing cd $HOME/itext/src/ > > A new directory will be created: $HOME/itext/build/ > > For some ant targets you will also need > > $HOME/itext/www/ > > This www directory contains resources for building the site > > and the tutorial. I think this way of working is standard on > > some Linux distributions. Of course, every flavor has its own > > 'standard' (I'm thinking about the trouble I had recently to > > build iText using Maven). > > br, > > Bruno > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > iText-questions mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
