You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bonekrusher <dj...@yahoo.com> on 2009/01/03 15:59:12 UTC
FOPIDESetupGuide updated to Netbeans 6.5
Hi,
I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
Any comments or suggestions are welcome.
Regards,
Phil
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21265597.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Ulrich Mayring <ul...@denic.de>.
bonekrusher wrote:
> Hi Ulrich,
>
> Did you run an ant build first?
Yes, that is exactly what I'm trying to do, but as I wrote it fails.
Ulrich
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by bonekrusher <dj...@yahoo.com>.
Hi Ulrich,
Did you run an ant build first?
Phil
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21515322.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "Peter B. West" <pb...@pbw.id.au>.
Ulrich,
The Fop code, as distributed, does not include any actual hyphenation
data. The build generates a manifest-only fop-hyph.jar, which provides
no actual tree.
Your output probably has the following lines somewhere.
jar-hyphenation:
Building MANIFEST-only jar:
/home/pbw/NetBeansProjects/fop-trunk/build/fop-hyph.jar
You must set up hyphenation from the OFFO site.
http://offo.sourceforge.net/hyphenation/
Peter
Ulrich Mayring wrote:
> bonekrusher wrote:
>> Hi,
>>
>> I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
>>
>> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>>
>> Any comments or suggestions are welcome.
>
> I followed the steps, but the build isn't working. This is probably a
> more general issue, not having to do with Netbeans. Generating the Junit
> reports does not show any errors, but the build still fails. I am
> guessing this output on the command-line may have something to do with it:
>
> [junit] ------------- Standard Error -----------------
> [junit] 16.01.2009 10:16:58 org.apache.fop.hyphenation.Hyphenator
> getHyphenationTree
> [junit] SCHWERWIEGEND: Couldn't find hyphenation pattern en
> [junit] 16.01.2009 10:17:01 org.apache.fop.hyphenation.Hyphenator
> getHyphenationTree
> [junit] SCHWERWIEGEND: Couldn't find hyphenation pattern en_US
>
> [...]
>
> [echo] Hyphenation Support NOT Present - Layout tests which require
> hyphenation are NOT being run!
>
> BUILD FAILED
>
>
>
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Andreas Delmelle <an...@telenet.be>.
On 20 Jan 2009, at 15:31, Ulrich Mayring wrote:
> bonekrusher wrote:
>>
>> I like to use a stand-a-lone version of ant. I usually keep it up
>> to date
>> with what ever the Apache FOP trunk uses. If you want to add it to
>> the wiki,
>> feel free to add it as an option.
>
> I wanted to, but it's an immutable page.
... unless you subscribe to it, and log in.
Regards
Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Ulrich Mayring <ul...@denic.de>.
bonekrusher wrote:
>
> I like to use a stand-a-lone version of ant. I usually keep it up to date
> with what ever the Apache FOP trunk uses. If you want to add it to the wiki,
> feel free to add it as an option.
I wanted to, but it's an immutable page.
Ulrich
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by bonekrusher <dj...@yahoo.com>.
The wiki has been updated to capture the ant directory in Netbeans:
* Apache Ant [WWW] http://ant.apache.org/bindownload.cgi - NOTE: Netbeans
comes with Ant installed. Usually in $NETBEANS_HOME/java2/ant. You can do a
build from here and also find the required ant.jar in
$NETBEANS_HOME/java2/ant/lib.
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21622569.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "Peter B. West" <li...@pbw.id.au>.
I was interested to read the procedure outlined, but I think there is a
slightly easier way, using what NetBeans calls Free-Form Projects. When
I get a bit of time, I'll put some detail son the wiki.
--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/folio.html>
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by bonekrusher <dj...@yahoo.com>.
Ulrich Mayring wrote:
>
> Netbeans is based heavily on ant and supplies its own version. There is an
> ANT_HOME setting in the options panel pointing to
> $NETBEANS_HOME/java2/ant.
> And within that directory there is a lib directory with all the Jars, so
> I'd
> suggest the Setup Guide references that.
>
I like to use a stand-a-lone version of ant. I usually keep it up to date
with what ever the Apache FOP trunk uses. If you want to add it to the wiki,
feel free to add it as an option.
Best Regards,
Phil
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21562884.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Ulrich Mayring <ul...@denic.de>.
bonekrusher wrote:
> I think you need to import the ant.jar
>
> - ant.jar (located in the ant director e.g. c:\ant\lib)
Ok thanks, adding ant.jar to the classpath works. Many users of Netbeans
(myself included) probably don't have a local installation of ant, because it
is unnecessary.
Netbeans is based heavily on ant and supplies its own version. There is an
ANT_HOME setting in the options panel pointing to $NETBEANS_HOME/java2/ant.
And within that directory there is a lib directory with all the Jars, so I'd
suggest the Setup Guide references that.
Ulrich
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by bonekrusher <dj...@yahoo.com>.
I think you need to import the ant.jar
- ant.jar (located in the ant director e.g. c:\ant\lib)
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21554946.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "Peter B. West" <li...@pbw.id.au>.
Andreas Delmelle wrote:
> On 21 Jan 2009, at 11:45, Peter B. West wrote:
>>
>> It might be a good idea to set svn:ignore properties on ant.jar and the
>> offo jars in lib. Then you could tell interested parties to drop those
>> jars into lib as part of the preparation for building, and it's unlikely
>> that the jars will come back t haunt you.
>
> Yep, dropping the ant.jar in $FOP_HOME$/lib would probably be the
> fastest solution. It's what I wanted to suggest first, but then again,
> I'm personally not too fond of copying JARs around. If you have Ant
> somewhere on your machine, then IMO, it's cleaner to have the
> build-classpath point to that ant.jar than copying it to the lib folder.
> Just remembered: we have svn:ignore set on the file
> $FOP_HOME/build-local.properties, which one could create and use to
> specify locations of dependencies that are dependent on the local setup.
If you're running *n*x, you can link ant.jar into lib. I believe you can
even do that with ntfs nowadays. It's simpler to have all your build
requirements in one place.
--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/folio.html>
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "kindaian@gmail.com" <ki...@gmail.com>.
Andreas Delmelle wrote:
> On 21 Jan 2009, at 11:45, Peter B. West wrote:
>>
>> It might be a good idea to set svn:ignore properties on ant.jar and the
>> offo jars in lib. Then you could tell interested parties to drop those
>> jars into lib as part of the preparation for building, and it's unlikely
>> that the jars will come back t haunt you.
>
> Yep, dropping the ant.jar in $FOP_HOME$/lib would probably be the
> fastest solution. It's what I wanted to suggest first, but then again,
> I'm personally not too fond of copying JARs around. If you have Ant
> somewhere on your machine, then IMO, it's cleaner to have the
> build-classpath point to that ant.jar than copying it to the lib folder.
> Just remembered: we have svn:ignore set on the file
> $FOP_HOME/build-local.properties, which one could create and use to
> specify locations of dependencies that are dependent on the local setup.
>
>
> Cheers
>
> Andreas
And thanx also for the InteliJ Idea walkthru
Have to try it, soon...
;)
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Andreas Delmelle <an...@telenet.be>.
On 21 Jan 2009, at 11:45, Peter B. West wrote:
>
> It might be a good idea to set svn:ignore properties on ant.jar and
> the
> offo jars in lib. Then you could tell interested parties to drop those
> jars into lib as part of the preparation for building, and it's
> unlikely
> that the jars will come back t haunt you.
Yep, dropping the ant.jar in $FOP_HOME$/lib would probably be the
fastest solution. It's what I wanted to suggest first, but then again,
I'm personally not too fond of copying JARs around. If you have Ant
somewhere on your machine, then IMO, it's cleaner to have the build-
classpath point to that ant.jar than copying it to the lib folder.
Just remembered: we have svn:ignore set on the file $FOP_HOME/build-
local.properties, which one could create and use to specify locations
of dependencies that are dependent on the local setup.
Cheers
Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "Peter B. West" <li...@pbw.id.au>.
Andreas Delmelle wrote:
> On 19 Jan 2009, at 13:42, Ulrich Mayring wrote:
>
> Hi Ulrich
>
>> Ulrich Mayring wrote:
>>> Peter B. West wrote:
>>>>
>>>> You must set up hyphenation from the OFFO site.
>>>> http://offo.sourceforge.net/hyphenation/
>>>
>>> Ok thanks, the build works now. Maybe the SetupGuide could be updated to
>>> mention that this has to be done before the first ant build.
>>
>> Duh... strange. At first the build worked, but now it doesn't, there
>> is a package org.apache.tools.ant missing.
>
> When do you get this message exactly? FOP depends on Ant for the anttask
> (org.apache.fop.tools.*), and this is one dependency that we do not
> include in the distribution. So you'll have to make sure that ant.jar is
> somewhere in the classpath that is used when compiling the FOP sources.
> You could set the 'optional.lib.dirs' property in
> $FOP_HOME$/build.properties to include the path to ant.jar on your machine.
>
>
> HTH!
>
> Cheers
>
> Andreas
It might be a good idea to set svn:ignore properties on ant.jar and the
offo jars in lib. Then you could tell interested parties to drop those
jars into lib as part of the preparation for building, and it's unlikely
that the jars will come back t haunt you.
Peter
--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/folio.html>
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Andreas Delmelle <an...@telenet.be>.
On 19 Jan 2009, at 13:42, Ulrich Mayring wrote:
Hi Ulrich
> Ulrich Mayring wrote:
>> Peter B. West wrote:
>>>
>>> You must set up hyphenation from the OFFO site.
>>> http://offo.sourceforge.net/hyphenation/
>>
>> Ok thanks, the build works now. Maybe the SetupGuide could be
>> updated to
>> mention that this has to be done before the first ant build.
>
> Duh... strange. At first the build worked, but now it doesn't, there
> is a package org.apache.tools.ant missing.
When do you get this message exactly? FOP depends on Ant for the
anttask (org.apache.fop.tools.*), and this is one dependency that we
do not include in the distribution. So you'll have to make sure that
ant.jar is somewhere in the classpath that is used when compiling the
FOP sources.
You could set the 'optional.lib.dirs' property in $FOP_HOME$/
build.properties to include the path to ant.jar on your machine.
HTH!
Cheers
Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Ulrich Mayring <ul...@denic.de>.
Ulrich Mayring wrote:
> Peter B. West wrote:
>>
>> You must set up hyphenation from the OFFO site.
>> http://offo.sourceforge.net/hyphenation/
>
> Ok thanks, the build works now. Maybe the SetupGuide could be updated to
> mention that this has to be done before the first ant build.
Duh... strange. At first the build worked, but now it doesn't, there is a
package org.apache.tools.ant missing.
Ulrich
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Ulrich Mayring <ul...@denic.de>.
Peter B. West wrote:
>
> You must set up hyphenation from the OFFO site.
> http://offo.sourceforge.net/hyphenation/
Ok thanks, the build works now. Maybe the SetupGuide could be updated to
mention that this has to be done before the first ant build.
Ulrich
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "Peter B. West" <li...@pbw.id.au>.
Ulrich,
The Fop code, as distributed, does not include any actual hyphenation
data. The build generates a manifest-only fop-hyph.jar, which provides
no actual tree.
Your output probably has the following lines somewhere.
jar-hyphenation:
Building MANIFEST-only jar:
/home/pbw/NetBeansProjects/fop-trunk/build/fop-hyph.jar
You must set up hyphenation from the OFFO site.
http://offo.sourceforge.net/hyphenation/
Peter
Ulrich Mayring wrote:
> bonekrusher wrote:
>> Hi,
>>
>> I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
>>
>> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>>
>> Any comments or suggestions are welcome.
>
> I followed the steps, but the build isn't working. This is probably a
> more general issue, not having to do with Netbeans. Generating the Junit
> reports does not show any errors, but the build still fails. I am
> guessing this output on the command-line may have something to do with it:
>
> [junit] ------------- Standard Error -----------------
> [junit] 16.01.2009 10:16:58 org.apache.fop.hyphenation.Hyphenator
> getHyphenationTree
> [junit] SCHWERWIEGEND: Couldn't find hyphenation pattern en
> [junit] 16.01.2009 10:17:01 org.apache.fop.hyphenation.Hyphenator
> getHyphenationTree
> [junit] SCHWERWIEGEND: Couldn't find hyphenation pattern en_US
>
> [...]
>
> [echo] Hyphenation Support NOT Present - Layout tests which require
> hyphenation are NOT being run!
>
> BUILD FAILED
>
>
>
--
Peter B. West <http://cv.pbw.id.au/>
Folio <http://defoe.sourceforge.net/folio/>
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Ulrich Mayring <ul...@denic.de>.
bonekrusher wrote:
> Hi,
>
> I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
>
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>
> Any comments or suggestions are welcome.
I followed the steps, but the build isn't working. This is probably a more
general issue, not having to do with Netbeans. Generating the Junit reports
does not show any errors, but the build still fails. I am guessing this
output on the command-line may have something to do with it:
[junit] ------------- Standard Error -----------------
[junit] 16.01.2009 10:16:58 org.apache.fop.hyphenation.Hyphenator
getHyphenationTree
[junit] SCHWERWIEGEND: Couldn't find hyphenation pattern en
[junit] 16.01.2009 10:17:01 org.apache.fop.hyphenation.Hyphenator
getHyphenationTree
[junit] SCHWERWIEGEND: Couldn't find hyphenation pattern en_US
[...]
[echo] Hyphenation Support NOT Present - Layout tests which require
hyphenation are NOT being run!
BUILD FAILED
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by bonekrusher <dj...@yahoo.com>.
Good Idea,
I think splitting then (each platform) into different pages is a great idea.
Phil
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21283343.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "kindaian@gmail.com" <ki...@gmail.com>.
After seeing the rant of a lead developer in OpenOffice about the lack
of external developers, this is indeed refreshing (as always, FOP dev
community rocks really hard)...
This kind of documents is somewhat fundamental for getting new blood
into the trenches... IMHO...
;)
(and helps a lot to get people like me, that use FOP as a final
product/library to investigate it's code base)
Andreas Delmelle wrote:
> On 03 Jan 2009, at 23:32, kindaian@gmail.com wrote:
>
>> Andreas Delmelle wrote:
>>>>
>>>> Does anyone use IntelliJ IDEA that could update this entry with a
>>>> similar guide prety pls?
>>>
>>> I'll see if I can take care of that in the near future, although I
>>> must admit that I simply started off importing an Eclipse project.
>>> Never did try a clean checkout, so it may be that my setup is far
>>> from an optimal one...
>>>
>>> Andreas
>> No rush... (I'm starting now a project that will take a bit before
>> I've time to try hack FOP)
>
> FWIW: I've already added a step-by-step for a very basic setup to a
> separate page on the Wiki. (The page was getting rather big, so it may
> be worthwhile to split it up into one for each IDE...)
>
> Still lacking some screenshots. Those will be added in the coming
> days. I'll probably also be adding some more info about configuration
> setup (for running/debugging).
>
>
> Cheers
>
> Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Andreas Delmelle <an...@telenet.be>.
On 03 Jan 2009, at 23:32, kindaian@gmail.com wrote:
> Andreas Delmelle wrote:
>>>
>>> Does anyone use IntelliJ IDEA that could update this entry with a
>>> similar guide prety pls?
>>
>> I'll see if I can take care of that in the near future, although I
>> must admit that I simply started off importing an Eclipse project.
>> Never did try a clean checkout, so it may be that my setup is far
>> from an optimal one...
>>
>> Andreas
> No rush... (I'm starting now a project that will take a bit before
> I've time to try hack FOP)
FWIW: I've already added a step-by-step for a very basic setup to a
separate page on the Wiki. (The page was getting rather big, so it may
be worthwhile to split it up into one for each IDE...)
Still lacking some screenshots. Those will be added in the coming
days. I'll probably also be adding some more info about configuration
setup (for running/debugging).
Cheers
Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "kindaian@gmail.com" <ki...@gmail.com>.
Andreas Delmelle wrote:
> On 03 Jan 2009, at 18:43, kindaian@gmail.com wrote:
>
>> Many thanx m8 ;)
>>
>> bonekrusher wrote:
>>> Hi,
>>>
>>> I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
>>>
>>> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>>>
>> Does anyone use IntelliJ IDEA that could update this entry with a
>> similar guide prety pls?
>
> I'll see if I can take care of that in the near future, although I
> must admit that I simply started off importing an Eclipse project.
> Never did try a clean checkout, so it may be that my setup is far from
> an optimal one...
>
> Andreas
No rush... (I'm starting now a project that will take a bit before I've
time to try hack FOP)
;)
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Andreas Delmelle <an...@telenet.be>.
On 03 Jan 2009, at 23:36, kindaian@gmail.com wrote:
> bonekrusher wrote:
>> Is there a free version of IntelliJ IDEA? And does IntelliJ IDEA
>> have a
>> benefits over Netbeans (free!)
>>
>>
> It has huge benefits... Specially to hard core Java programmers
> (which I'm not, I've just the weird opinion of using the best tool
> available if possible).
I can't compare to Netbeans, since I've never used that.
AFAIK, IntelliJ IDEA is based on Eclipse, so obviously has many things
in common. Out of the box though, Eclipse is meant for pure Java
development. There are some editions available (also payware) that
include features for development with other or derived languages.
IntelliJ IDEA has those too (assistance for JSP, HTML, XML, Javascript
etc.)
I have the feeling it integrates a little better with the native look-
and-feel of your OS than Eclipse does. I have absolutely no reason to
dislike Eclipse, but still I like IntelliJ better, so far.
> And isn't exactly free... but...
>
> And for FOP developers, which is a Open Source project... (or sub
> project) you may even be able to get some licenses for free...
> (perhaps the lead manager can check that for all the current
> developers hehehe, just an idea... got it... idea lol, I'm in a
> strange mood today)
Indeed. Being a committer on an Open Source project will offer you the
option of evaluating it for a year (instead of the regular 30 days).
I had been using IntelliJ 7 with such a license, and was inclined to
buy it when the license expired. The people at Jetbrains were kind
enough to offer me another year for free (probably because version 8
was just released at that point)
Cheers
Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "kindaian@gmail.com" <ki...@gmail.com>.
bonekrusher wrote:
> Is there a free version of IntelliJ IDEA? And does IntelliJ IDEA have a
> benefits over Netbeans (free!)
>
>
It has huge benefits... Specially to hard core Java programmers (which
I'm not, I've just the weird opinion of using the best tool available if
possible).
And isn't exactly free... but...
And for FOP developers, which is a Open Source project... (or sub
project) you may even be able to get some licenses for free... (perhaps
the lead manager can check that for all the current developers hehehe,
just an idea... got it... idea lol, I'm in a strange mood today)
;)
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by bonekrusher <dj...@yahoo.com>.
Is there a free version of IntelliJ IDEA? And does IntelliJ IDEA have a
benefits over Netbeans (free!)
--
View this message in context: http://www.nabble.com/FOPIDESetupGuide-updated-to-Netbeans-6.5-tp21265597p21268849.html
Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by Andreas Delmelle <an...@telenet.be>.
On 03 Jan 2009, at 18:43, kindaian@gmail.com wrote:
> Many thanx m8 ;)
>
> bonekrusher wrote:
>> Hi,
>>
>> I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
>>
>> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>>
> Does anyone use IntelliJ IDEA that could update this entry with a
> similar guide prety pls?
I'll see if I can take care of that in the near future, although I
must admit that I simply started off importing an Eclipse project.
Never did try a clean checkout, so it may be that my setup is far from
an optimal one...
Andreas
Re: FOPIDESetupGuide updated to Netbeans 6.5
Posted by "kindaian@gmail.com" <ki...@gmail.com>.
Many thanx m8 ;)
bonekrusher wrote:
> Hi,
>
> I've updated the FOPIDESetupGuide Wiki to include Netbeans 6.5
>
> http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide
>
Does anyone use IntelliJ IDEA that could update this entry with a
similar guide prety pls?
http://www.jetbrains.com/idea/
;)