You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Andreia Oliveira <an...@reitoria.uminho.pt> on 2006/07/12 19:01:45 UTC
building source fop 0.92beta using ANT
Hi.
Can someone tell me the steps to properly compile fop in order to be able to
copy the resulting files into a .NET C# project and manage to compile .NET
project without having errors regarding imports of resources not available?
(I have been throught all the steps in the described in the internet but did
not manage to compile the resulting files correctly despite of having "BUILD
SUCCESSFUL" message at the end of build.)
Some examples of errors in .NET:
Cannot find class 'java.awt.color.ColorSpace'
Cannot find class 'java.awt.geom.AffineTransform'
Cannot find class 'org.apache.log4j.Category'
Cannot find class 'org.apache.tools.ant.BuildException'
Cannot find class 'org.apache.fop.render.awt.AWTRenderer'
Cannot find class 'org.apache.fop.layout.Area'
Cannot find class 'java.awt.geom.Rectangle2D'
...
Best regards.
--------------------------------------
Andreia Oliveira
andreia@reitoria.uminho.pt
---------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: building source fop 0.92beta using ANT
Posted by Chris Bowditch <bo...@hotmail.com>.
Andreia Oliveira wrote:
> Thanks Chris.
> Currently I have a solution working with FOP 0.20.5 done by another
> colleague.
Well I know someone reported on this list a few years ago that they had
ported a 0.20.x version of FOP to J# and compiled it in .Net, but that
was a non trivial task. Perhaps your colleague used this port.
> Currently the files are in a separate Library project and it compiles
> without problems once it knows the compliation language is Jscript.
> My doubts are now regarding the result of the build of fop using ANT.
> I am using JDK1.5.0_07. Is this the problem?
No. There is nothing wrong with the Ant build of 0.92beta AFAIK.
> I also had some warnings about deprecated methods despite od the successful
> build.
> And the following message:
>
> "[echo] Jimi Support NOT Present
> [echo] JAI Support NOT Present
> [echo] JCE Support PRESENT
> [echo] JUnit Support NOT Present - Committers are required to have
> JUnit wo
> rking
> [echo] XMLUnit Support NOT Present - you can get it from
> http://xmlunit.sou
> rceforge.net
These items are not needed just to build 0.92beta.
>
> init-filters-jdk14:
> [echo] Use GraphicsConfiguration adapter for JDK 1.4."
>
> What is Jimi, JAI, Junit and XMLUnit? Are they required?
Jimi and JAI are graphics libraries mainly used for folk running older
JDKs. Junit and XMLUnit are required to run the regression tests, so you
don't need them.
>
> Has someone done this build successfully?
Yes on a regular basis. But I never tried to reference the Java code
from a .Net environment. M$ J# is very different to Java, this is why
you cant run FOP classes directly from a .Net environment.
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
RE: building source fop 0.92beta using ANT
Posted by Andreia Oliveira <an...@reitoria.uminho.pt>.
Thanks Chris.
Currently I have a solution working with FOP 0.20.5 done by another
colleague.
Currently the files are in a separate Library project and it compiles
without problems once it knows the compliation language is Jscript.
My doubts are now regarding the result of the build of fop using ANT.
I am using JDK1.5.0_07. Is this the problem?
I also had some warnings about deprecated methods despite od the successful
build.
And the following message:
"[echo] Jimi Support NOT Present
[echo] JAI Support NOT Present
[echo] JCE Support PRESENT
[echo] JUnit Support NOT Present - Committers are required to have
JUnit wo
rking
[echo] XMLUnit Support NOT Present - you can get it from
http://xmlunit.sou
rceforge.net
init-filters-jdk14:
[echo] Use GraphicsConfiguration adapter for JDK 1.4."
What is Jimi, JAI, Junit and XMLUnit? Are they required?
Has someone done this build successfully?
Thanks a lot!
-----Original Message-----
From: Chris Bowditch [mailto:bowditch_chris@hotmail.com]
Sent: quinta-feira, 13 de Julho de 2006 9:48
To: fop-users@xmlgraphics.apache.org
Subject: Re: building source fop 0.92beta using ANT
Andreia Oliveira wrote:
> Hi.
>
> Can someone tell me the steps to properly compile fop in order to be
> able to copy the resulting files into a .NET C# project and manage to
> compile .NET project without having errors regarding imports of resources
not available?
> (I have been throught all the steps in the described in the internet
> but did not manage to compile the resulting files correctly despite of
> having "BUILD SUCCESSFUL" message at the end of build.)
FOP is written in Java and the code cannot be taken into a .Net environment
without major modification!
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: building source fop 0.92beta using ANT
Posted by Chris Bowditch <bo...@hotmail.com>.
Andreia Oliveira wrote:
> Hi.
>
> Can someone tell me the steps to properly compile fop in order to be able to
> copy the resulting files into a .NET C# project and manage to compile .NET
> project without having errors regarding imports of resources not available?
> (I have been throught all the steps in the described in the internet but did
> not manage to compile the resulting files correctly despite of having "BUILD
> SUCCESSFUL" message at the end of build.)
FOP is written in Java and the code cannot be taken into a .Net
environment without major modification!
<snip/>
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org