[EMAIL PROTECTED] wrote:
> I have a fresh, clean install of Java 6 JRE and SDK on a Solaris 8 machine 
> with PATH and CLASSPATH including the new JRE libs.   I create a new 
> "itext" subdirectory under my home directory, and unzip the current 
> itext-1.4.8.-src.zip file there.
> 
> I then immediately run "ant -f build.xml compile" and that claims it 
> worked, but then running "ant -f build.xml jar" fails:
> 

Mike,

I have to admit that the itext build structure is unusual.  I have
constructed a NetBeans project to build an earlier version, but I
haven't checked that recently. I'll have another look, and if it works
I'll send you the nbproject directory.

In the meantime, you should be able to get it to compile if you realize
what the build assumptions are.

cd to the ant directory and have a look at .ant.properties. The
properties are defined for a sibling directory of 'ant', or 'ant'
itself. Make an itext/src directory, and unpack the tar or zip file in
there. This will give you itext/src/ant, itext/src/com/... and
itext/src/build.xml.

The interesting targets are 'jar' and 'javadoc'.

Assuming that you have an ant >= 1.6.2 in your PATH,
$ ant -f ../build.xml jar
$ ant -f ../build.xml javadoc

Let me know if this works for you.

Peter

-- 
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to