Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #9126
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Emmanuel Bourg <ebourg@apache.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Problems to find classes that should be in itext1.jar |
| Date | Sun, 22 May 2016 22:20:01 +0200 |
| Message-ID | <rBI0V-568-1@gated-at.bofh.it> (permalink) |
| References | <rBdq9-2Xg-5@gated-at.bofh.it> <rBlH4-87j-9@gated-at.bofh.it> <rBHxU-4H7-9@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Sun May 22 20:19:16 2016 |
| Old-Return-Path | <emmanuel.bourg@gmail.com> |
| X-Amavis-Spam-Status | No, score=-7.479 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=QCXNzeYhh2raIgE3e2uqlvaSd5yxPEVxS+g04NPlKb8=; b=RZ+pL9wWa2Otq0FLFsrrGOXhdr8+KIdL17pc5FnTSZlXHOsW8fGZBqNeFgesD39k08 AgqQ7ZzGEgRHJLEnX09/l5+abBFvX9i6KWdSlMelvDwADuFxlrSmYIrlYrSAQZcqpmCI rc8OA4cCgeWH+7L+HS8xlmcH/0oFcMCTtGqckr7FUVUs0wwPK+z/1dmDdOZ+QCpiAS6R uQR7GbsO0UjRQhNn6pm2ddOnnmT/Q7+/SH013nhvPRD+AAbHnvT1MEJr22fNFfb+8naW rF83JJ+jy+euOb5kDgAhwFRpG+Wyub2ZeBKExG2WisdXkD6E930OeWzNPQTr+Ler2Yj9 qIiA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QCXNzeYhh2raIgE3e2uqlvaSd5yxPEVxS+g04NPlKb8=; b=Lxx8j52Y3wqHZu6V6QUpUPxhK47wWx3zmO9ChQS5Ffk2BQE3ewyoB2d0lNLpMhXV+7 lscO8zf/9rfA3nqeRYeBuAZ1oGehOzNvnTlN1G1zqclieZx+PCQ6DCXs8orn+sTh/NW7 x/Sv+LNw1EAe3A3Eu8yWh067xYjqaHTA3qt9gZjcxsZcjrMU28i87uZQis3lQkVa1cXy +RsMKMk3PivCPxix2XNSws8GpaBo/eqv34f72n4QJWaYEyCmx362HndTrRhpN41jiij2 cjpyKDHCRN+aNGmAYogIWu8ndA8Q8wS+p5mB0sl59SCnQ1e+6K+dHe2UfqaSKDhRNJjE zMRg== |
| X-Gm-Message-State | AOPr4FXfizw6AbwzH2+gE1IfNnC73KTkWU7R3TvRHxainndV0d4dQASwe7j7dei1ixSFJw== |
| X-Received | by 10.194.221.37 with SMTP id qb5mr12401927wjc.171.1463948340465; Sun, 22 May 2016 13:19:00 -0700 (PDT) |
| Sender | robomod@news.nic.it |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/19454 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/10ffcc97-11f3-9a89-25d7-ae8c334657fd@apache.org |
| Approved | robomod@news.nic.it |
| Lines | 26 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org> |
| X-Original-Date | Sun, 22 May 2016 22:18:58 +0200 |
| X-Original-Message-ID | <10ffcc97-11f3-9a89-25d7-ae8c334657fd@apache.org> |
| X-Original-References | <20160521113423.GM5019@an3as.eu> <983252db-edfc-1d8f-0e29-8a11b7d55258@apache.org> <20160522194301.GJ9131@an3as.eu> |
| X-Original-Sender | Emmanuel Bourg <emmanuel.bourg@gmail.com> |
| Xref | csiph.com linux.debian.maint.java:9126 |
Show key headers only | View raw
Le 22/05/2016 à 21:43, Andreas Tille a écrit : > CLASSPATH=/usr/share/java/commons-httpclient.jar:/usr/share/java/commons-lang.jar:/usr/share/java/itext1-1.4.jar jh_build --javacopts='-target 1.7' --javacopts='-source 1.7' mesquite.jar Source LibrarySource > find Source LibrarySource -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/commons-httpclient.jar:/usr/share/java/commons-lang.jar:/usr/share/java/itext1-1.4.jar:debian/_jh_build.mesquite -d debian/_jh_build.mesquite -target 1.7 -source 1.7 > warning: [options] bootstrap class path not set in conjunction with -source 1.7 > LibrarySource/com/lowagie/text/Rectangle.java:53: error: package headless.awt does not exist > import headless.awt.Color; > ^ > LibrarySource/com/lowagie/text/pdf/PdfWriter.java:53: error: package headless.awt does not exist > import headless.awt.Color; > ^ iText doesn't contain any headless.awt.* class. It looks like the iText code was copied and modified the turn the 'import java.awt.*' statements into 'import headless.awt.*'. I guess as some point they copied and relocated the java.awt classes to disable the exceptions on systems without a display. Since Java 1.4 this can be avoided by setting the java.awt.headless property to true. I think you have two options: 1. remove the iText source files from the LibrarySource directory and use the libitext1-java package instead 2. if it doesn't work because the itext code was further modified, patch it and replace 'headless.awt' with 'java.awt' Emmanuel Bourg
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problems to find classes that should be in itext1.jar Andreas Tille <andreas@an3as.eu> - 2016-05-21 13:40 +0200
Re: Problems to find classes that should be in itext1.jar Emmanuel Bourg <ebourg@apache.org> - 2016-05-21 22:30 +0200
Re: Problems to find classes that should be in itext1.jar Andreas Tille <tille@debian.org> - 2016-05-22 21:50 +0200
Re: Problems to find classes that should be in itext1.jar Emmanuel Bourg <ebourg@apache.org> - 2016-05-22 22:20 +0200
Re: Problems to find classes that should be in itext1.jar Andreas Tille <tille@debian.org> - 2016-05-23 16:00 +0200
Re: Problems to find classes that should be in itext1.jar Emmanuel Bourg <ebourg@apache.org> - 2016-05-23 16:20 +0200
Re: Problems to find classes that should be in itext1.jar Andreas Tille <andreas@an3as.eu> - 2016-05-23 16:50 +0200
Re: Problems to find classes that should be in itext1.jar Emmanuel Bourg <ebourg@apache.org> - 2016-05-23 17:00 +0200
Re: Problems to find classes that should be in itext1.jar Andreas Tille <andreas@an3as.eu> - 2016-05-25 17:40 +0200
csiph-web